Parallelogram Image Segmentation for Memory-Efficient Fill-In
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing image processing methods are inefficient in filling a figure of a desired shape with intended images due to complex memory management and pixel value association processes, leading to suboptimal memory usage and increased processing complexity.
Innovation Solution
An image processing method that involves acquiring a two-dimensional parallelogram image, dividing it into two figures by a line parallel to a scanning direction, calculating base and height pixel values, securing a corresponding memory space, writing pixel values sequentially, and storing supplementary information for efficient memory usage and processing.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If rhomboid images are stored in a two-dimensional memory space with non-constant horizontal pixel widths, then the image can be stored, but the memory space is not used efficiently and processing becomes complicated
Solution Approach 1:
The patent segments the rhomboid image into multiple rectangular regions, each with constant pixel widths. This segmentation allows each region to be stored independently in memory with uniform dimensions, eliminating the need to manage variable-width pixels and simplifying memory address calculations while maintaining complete image representation.
Solution Approach 2:
The patent introduces an additional dimension by organizing the segmented rhomboid image data into a three-dimensional array structure (x, y, depth) where depth represents different layers of constant-width rectangular regions. This dimensional transformation enables efficient memory storage and access patterns while avoiding the complexity of variable-width pixel management in traditional 2D memory spaces.
2Manufacturing precision
If each horizontal pixel segment of the rhomboid image is managed separately, then the image can be processed, but the processing becomes more complicated
Solution Approach 1:
The patent merges multiple horizontal pixel segments into unified rectangular regions with constant widths. By combining these segments into larger regular blocks, the system reduces the number of individual pixel segments that need to be managed separately, thereby simplifying processing operations while maintaining the precision needed for correct pixel positioning through the structured regional organization.
3Adaptability or versatility
If rhomboid images are attached within a figure on a piece-by-piece basis, then the figure can be filled, but the process requires determining locations for each image and becomes complicated
Solution Approach 1:
The patent performs preliminary actions by pre-calculating and storing the position and dimension information of each segmented rectangular region in a data structure before the actual filling process. This preprocessing step creates a ready-to-use map of where each segment should be placed, eliminating the need for complex real-time location determination during the filling operation and simplifying the overall process while maintaining flexibility.
4Reliability
If pixel values are copied from read memory space to write memory space with coordinate association, then the new image can be created, but the process requires associating coordinate pairs and becomes further complicated
Solution Approach 1:
The patent uses a simplified copying mechanism where segmented rectangular regions are copied as complete blocks rather than individual pixels. The segmentation structure inherently maintains coordinate relationships, allowing bulk copying operations that preserve spatial accuracy without requiring complex per-pixel coordinate association calculations, thereby significantly improving processing speed while maintaining reliability.
Data Source
AI summary
An image processing method includes steps of acquiring a first two-dimensional parallelogram image, creating a second two-dimensional parallelogram image by dividing the first image into two figures by a line along a predetermined scanning direction and joining together respective sides of the two figures corresponding to an upper base and a lower base of the first image, calculating a value w representing a numerical number of pixels constituting an upper base or a lower base of the second image and a value h representing a numerical number of pixels in a height direction of the second image, securing a w×h two-dimensional memory space, writing pixel values on each scanning line of the second image, sequentially in a scanning order, onto a corresponding scanning line of the two-dimensional memory space, and storing supplementary information of the second image in association with the two-dimensional memory space.


