WO2008147978A1 - A method of and apparatus and software for geometric coarsening and segmenting of still images - Google Patents
A method of and apparatus and software for geometric coarsening and segmenting of still images Download PDFInfo
- Publication number
- WO2008147978A1 WO2008147978A1 PCT/US2008/064683 US2008064683W WO2008147978A1 WO 2008147978 A1 WO2008147978 A1 WO 2008147978A1 US 2008064683 W US2008064683 W US 2008064683W WO 2008147978 A1 WO2008147978 A1 WO 2008147978A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- pixels
- pixel
- information
- computer
- program code
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4023—Scaling of whole images or parts thereof, e.g. expanding or contracting based on decimating pixels or lines of pixels; based on inserting pixels or lines of pixels
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10016—Video; Image sequence
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20016—Hierarchical, coarse-to-fine, multiscale or multiresolution image processing; Pyramid transform
Definitions
- the invention is directed to computer vision and, in particular, to image processing for segmentation.
- Image segmentation has been a significant challenge in image analysis for many years. Segmentation requires a comprehensive computation over the entire image to obtain the appropriate partition into coherent regions which may indicate the existence of semantic objects. The computations involved are very expensive and hence faster methods providing improved results are needed.
- This disclosure presents methods, software and apparatus for a hierarchical process in which the entire image is processed in an extremely efficient manner including in frame-rate while screening a movie. Looking for regions of photometric coherency or color or texture coherency is essential for extracting semantic objects in the scene. The present invention addresses these and other requirements.
- a method of and apparatus for performing geometric coarsening and segmenting of an image representable as a two-dimensional array of pixels may include the steps of and/or one of more engines and/or software for selecting every other column of the array for accumulating information contained therein into adjacent columns; determining, for each pixel of each selected column, a similarity of the pixel with respect to a first set of nearest pixels of adjacent columns to form respective dependency values; distributing, for each pixel of each selected column, information for the pixel to the first set of pixels of adjacent columns wherein the information from the pixel is accumulated, together with any existing information of the pixel, and weighted by the respective dependency values; selecting every other row of the array for accumulating information contained therein into adjacent rows; determining, for each pixel of each selected row, a similarity of the pixel with respect to a second set of nearest six pixels of adjacent rows to form respective dependency values; and distributing, for each pixel of each selected row, information for the pixel to the second set of pixels of adjacent rows wherein the information from the
- the first set of pixels may comprise the six nearest pixels in adjacent columns and the second set of pixels comprise the six nearest pixels in adjacent rows.
- column processing steps including column selection, pixel similarity determination, information distribution, are performed prior to row processing steps.
- An alternate embodiment may perform row processing prior to column processing.
- columns and/or rows may be deleted subsequent to the corresponding information distributing step.
- the sequences of steps providing for column and row elimination are repeated a plurality of time to achieve a desired image coarseness or size.
- the similarity of pixels is determined based on specific color information endowed for each pixel and a specific similarity function appropriate to a type of the color information.
- embodiments of the invention are equally applicable to processing, organizing, storing and searching a wide range of content types including video, audio, text and signal files.
- an audio embodiment may be used to provide a searchable database of and search audio files for speech, music, or other audio types for desired characteristics of specified importance.
- embodiments may be directed to content in the form of or represented by text, signals, etc.
- Figure 1 is a diagram representing an image as an array of pixels aligned in columns and rows
- Figure 2a is a detailed diagram of a portion of an image represented by a central pixel and pixels adjacent thereto labeled according to a first convention using ordered pairs;
- Figure 2b is a detailed diagram of a portion of an image represented by a central pixel and pixels adjacent thereto labeled according to a second convention;
- Figures 3A - 3J are diagrams including various pixel groupings and the resultant information redistribution allocations
- Figure 4 is a diagram of a portion of an image represented by a grouping of pixels depicting a flow of information from a source pixel to be eliminated to six adjacent "destination: pixels;
- Figure 5 is a diagram depicting geometric coarsening of an images by elimination of alternate columns and alternate rows of pixels
- Figure 6 is a diagram depicting a redistribution of information from a pixel of a column to be eliminated to six destination pixels and the subsequent redistribution of information from the two destination pixels to be eliminated;
- Figure 7 is a flow diagram of a method and steps performed by apparatus and/or software according to embodiments of the invention.
- Figure 8 is a block diagram of a computer platform for executing computer program code implementing processes and steps according to various embodiments of the invention.
- Embodiments of the present invention reduce the number of pixels constituting an image by sequentially eliminating alternate rows and columns of pixels, the information represented by each pixel being eliminated (a "source” pixel) being redistributed into adjacent "destination" pixel locations.
- the redistribution is made in proportion to the similarity between the source and each destination pixel, e.g., similarity of color and/or luminance values.
- an image or portion of an image may be represented by a plurality of picture elements ("pixel") arranged in columns and rows.
- a subject source pixel element of a column "/" that is to be eliminated is located at the intersection of column i and rowy, i.e., located at (i,j).
- the subject source pixel may store or contain information about a location of the image corresponding to the pixel location including, for example, luminance values for each of the primary additive colors: red, green and blue.
- adjacent destination pixels located at (/-1, y ' +l), (M, j), (M, j- ⁇ ), (/+1, j+ ⁇ ), (z ' +l, j), and (z ' +l, y+1) store information about portions of the image corresponding the location of those pixels within the array of rows and columns (and possibly, as will be seen, information from previously eliminated pixels).
- pixels (z ' ,y+l) and 0 ' , /-I) are also in column i that is to be eliminated and therefore are not suitable destinations for information that is to be retained.
- cells in the column immediately adjacent to the left of the pixel to be eliminated are designated as jl,j2 andy ' J, while those to the right as kl, k2 and k3 as shown in Figure 2b.
- Preparatory to redistribution of information from source pixel / to destination pixels jl,j2, j3, kl, k2 and k3 is formulation of a transfer function.
- information is transferred or redistributed based on color or intensity similarity between the source and destination pixels using an exponential function to further emphasize and prefer similar pixels and a distance component to prefer immediately adjacent pixels (i.e., j2 and kl) over diagonally adjacent pixels (i.e., pixelsy7, j3, kl and k3).
- a similarity value for diagonally adjacent destination pixels may obtained as: while, for immediately adjacent destination pixels (those in the same row as the source pixel) as:
- the similarity distances of the two immediately adjacent destination pixels j2 and k2 are enhanced by multiplying each by the square root of 2 such that about 20.7% of information from the source pixel is redistributed to those pixels while 14.6% of the information is redistributed to each of the remaining, diagonally adjacent destination pixelsyi, j3, kl and k3.
- Figure 3 B illustrates a situation wherein, although the source and destination pixels are not identical, the distances between the source and each destination pixel are equal resulting in the same redistribution of information as in Figure 3 A.
- Figure 3C illustrates a set of pixel values resulting in an approximately equal redistribution of information among all destination pixels, Figure 3D illustrating another set of values achieving the same results.
- Figure 3E illustrates a configuration wherein destination pixels of one column are equally similar to the source pixel, thereby receiving greater than 99% of the redistributed information in total, while those of the opposite column are maximally differentiated, receiving less than 0.2% of the information in total.
- Figures 3F - 3 J illustrate other relationships between source and destination pixel values and resultant similarities and information redistributions.
- other transforms e.g., power, etc.
- constants e.g., constants, and/or proximity relationships
- the present example illustrates a two-dimensional Cartesian array of pixels in which information from a single source pixel is redistributed to the nearest six neighboring or adjacent pixels, other numbers and arrangements of source and destination pixels may be used.
- the information contents of source pixel / can be incorporated into (e.g., added to the existing contents of) destination pixels jl, j2, j3, kl, k2 and k3 in the calculated proportions as illustrated in Figure 4.
- the redistribution of information is accomplished for each pixel of each column to be eliminated (e.g., all even or all odd columns) so as to completely redistribute the information from those columns into adjacent columns that are to survive the step.
- an array 510 consists of a plurality of pixels arranged in columns and rows. Every-other column is selected for elimination in array 520 as indicated by the darkened pixels.
- each of the darkened source pixels is redistributed to the respective nearby adjacent destination pixels as previously described and the selected columns are eliminated (or deleted) as shown in array 530. While the present example shows what appears to be removal of the columns selected for elimination, this may not be necessary. For example, a index value used to reference each column may be doubled or multiplied by "2" instead of actually requiring removal or deletion of columns that are to be eliminated and, upon termination of the entire process might the remaining information be consolidated or copied to any appropriate data structure, e.g., a smaller array.
- pixels may require special processing. For example, pixels falling along an edge of an image that are to be eliminated may have their information distributed into pixels of a single adjacent column. Pixels that are very dissimilar to all possible destination pixels may also be processed differently so as to retain certain image transition characteristics, edges, etc.
- every-other row may be designated for elimination as in array 540.
- information from each pixel to be eliminated is redistributed into adjacent pixels that are not designated for immediate elimination.
- the contents of each pixel of each row to be eliminated is redistributed to the three nearest pixels of each adjacent row.
- the selected rows can then be eliminated as discussed above in connection with columns to be eliminated, resulting in array 550 that is one quarter the size (i.e., has 25% the number of pixels) of array 510.
- row elimination may be performed by transposing array 530 to exchange rows with columns and then performing the "column" elimination steps, transposing the array back to original row/column orientation as necessary afterwards.
- Figure 6 illustrate a generalized sequence of column elimination for all pixels (i,j) of some column "/" (array segment 610), by the redistribution of information contents of each source pixel to destination pixels at (i-l, j+l), (/-1, j), (H, j-l), (z+1, 7+1), (i+l, j), and (z+1, 7-I).
- Column “/" including pixel (/,7) (together with all other pixels of column "/”) can then be eliminated as in array segment 620.
- Figure 7 is a flow chart of step of a method including steps performed or executed by an apparatus and/or software for finding regions of coherent color and texture properties in still computer images, together with accumulating their various characterizing properties such as average color, average texture, and shape descriptors such as shape moments.
- steps or actions may be performed by a suitable platform and/or software.
- each step or action may be performed or supported by an appropriate "engine”, wherein use of such term in describing embodiments and features of the invention is not intended to be limiting of any particular implementation for accomplishing and/or performing the actions, steps, processes, etc. attributable to the engine.
- an engine may be, but is not limited to, software, hardware and/or firmware or any combination thereof that performs any portion or combination of the specified step(s), action(s) or function(s)s including, but not limited to, any using a general and/or specialized processor.
- Software may be stored in or using a suitable machine-readable or computer-readable medium such as, but not limited to, random access memory (RAM) and other forms of electronic storage, data storage media such as hard drives, removable media such as CDs and DVDs, etc.
- RAM random access memory
- data storage media such as hard drives
- removable media such as CDs and DVDs
- any name associated with a particular engine is, unless otherwise specified, for purposes of convenience of reference and not intended to be limiting to a specific implementation.
- any functionality attributed to an engine may be equally performed by multiple engines, incorporated into the functionality of another or different engine, or distributed across one or more engines of various configurations.
- the amount of properties information kept for each region is vastly smaller than the original number of pixels in the region, hence summarizing the information.
- the regions of an image with their properties are represented by a set of smaller images (one-quarter QA) of the original image size), one for each accumulated such property.
- the value at every 'coarse' pixel represents the respective accumulated property for one such region in the original image - such as average color, variance in color etc.
- the image is transformed into a smaller image (quarter size, via 'coarsening') in which coherent regions are represented each by one pixel, whose value represents the property values for all the image pixels in the corresponding region.
- a weighted averaged intensity weighted by region partitioning.
- This process can be applied repeatedly to the resulting images to generate additional same size sets of smaller and smaller images (again image for each property), representing larger and larger regions of the original image.
- the following outline addresses the coarsening of a specific property, for example, image intensity values. While a specific sequence and order of steps are presented for purposes of the present illustration, other arrangements may be used and/or implemented. Further, while the present and other examples provide for a reduction or coarsening of a two- dimensional object such as an image, objects of other dimensionalities may be accommodated.
- a method of geometrically coarsening and segmenting an image starts at step 701.
- a test is performed to determine if a desired image size is present and/or has been achieved. If no processing is required, the process ends at step 703. If coarsening is to begin or continue:
- step 704 For each pixel in an eliminated column (step 704) determine its dependencies on its six nearest neighbors in the two nearest surviving columns around it (step 705). The dependencies are set so as to sum up to 1 , and always reflect its relative similarity in the color (and intensity) property to each of these six pixels. The four diagonal neighboring pixels are farther away by a factor of sqrt(2) which is also reflected in the dependencies. See equations 1 and 2 above.
- This Coarsening process can be applied repeatedly generating different levels, each time eliminating every second column and every second row so as to generate another higher level getting smaller images.
- the coarsened images representing the original- image region properties are smaller (thus less regions are represented, each by a single pixel), and the size of the represented regions is larger.
- To determine the exact region in pixels of any level which is represented by a single pixel at its 'coarser' higher level it is only necessary to follow the dependencies of the lower- level pixels on this 'coarser' pixel, and their respective portions (for each, in volume/domain) belong to the coarser pixel's volume/domain.
- De-Coarsening This process of revealing which portions of pixels belong to coarser pixels is referred herein as "de-Coarsening".
- De-Coarsening can be applied to any coarse pixel(s), repeatedly all the way down through lower levels until revealing the dependencies of the original image pixels corresponding to the image segment represented by the coarse pixel(s).
- the method described herein Given an image T the method described herein generates a reduced size image of so-called 'coarse' pixels, where the intensity of each coarse pixel stands for the weighted average intensity of a collection of portions of image pixels, adaptively set so as to average together large portions of neighboring pixels of similar color, weighted by the extent to which colors are similar.
- the pixels in every second (or other) column in the image are eliminated by determining their dependencies on neighboring remaining pixels and averaging their various properties (color, x-location, y-location etc) together with and to be associated with the remaining pixels, with weights depending on (in one embodiment) their color (or, in monochrome, single channel luminance value, etc.) similarity to those neighboring pixels.
- For each eliminated pixel dependencies are computed for six pixels contained in the closest near-by (i.e., immediately adjacent or "surviving") columns. That is, three closest neighboring pixels to the left and three to the right of each eliminated pixel.
- an image may be represented by a plurality of pixels arranged in rows and columns.
- the method to be more fully described eliminates pixels of alternate columns by computing, for each pixel of a column, a normalized similarity with the surrounding pixels, disregarding those of the same column such that only the pixels of the adjacent columns are considered. Having a normalized similarity value relating the pixel to be eliminated to its adjacent pixels, the contents of the pixel to be eliminated are redistributed to the adjacent pixels (again, disregarding those of the same column) proportionate to the normalized similarity where the normalized similarity is distance-weighted, preferring pixels of the same row to those located on a diagonal to the subject pixel.
- Every eliminated pixel i (with intensity Ii) has six nearest neighboring pixels in the nearest surviving columns: j 1 , j2 and j3 on the left and kl , k2 and k3 on the right (numerated from top to bottom on each side see chart below), having the intensity values IjI, Ij 2, Ij 3 and IkI, Ik2 and Ik3 respectively.
- IiI means a three-value vector. Distances as they appear below dist(Ii,Iil) mean using a vector distance/norm rather then a scalar one distance/norm.
- New I j ( v.i ⁇ D n j + I, 2 x D, 2 + I* * D,3j + In * D nj + I l2 x D l2j + I 13 * D 13 J t
- D ⁇ 1, D ⁇ J , D l2 j , D ⁇ J , D n j , D 12 J , D 13J (Eq. 18) set as explained above by the extent that their original values were similar. That is: the surviving pixel fully represents itself with weight 1, as well as representing a D 11 J portion of pixel il and a Dj 2j portion of pixel i2, a Dj 3 J portion of pixel i3, Dnj portion of pixel 11, a Di 2j portion of pixel 12 and a D] 3 J portion of pixel 13.
- the eliminated pixels may have from the image pixels level to be weight-averaged to be associated with each surviving pixel j according to the weights/portions by which the eliminated pixels depend on it in the exact same way as explained in (c) above for obtaining the new Ij. That is for instance if we collect the squared value of the intensities we will aggregate a new value at j, New_Ij ⁇ 2 defined as:
- Every other row in the surviving, twice-thinner image (after eliminating every other column) can be eliminated in the same way used to eliminate every other column in 1 above.
- the image may be transposed so that rows become columns and the steps above used to eliminate every other column again, after which the image may be transposed back to restore the original orientation of the columns and rows.
- new segments associated each with each of the remaining pixels were generated, each of which is a collection of weighted portions of seven of the previous stage segments (itself and its six nearest neighbors), which were similarly in their turn each a collection of weighted portions of seven original image pixels (as explain in 1).
- the remaining pixels after stage 2 each represent a collection of weighted portions of the original image pixels, and their intensity value represents a weighted averaging of the image pixels intensity values, accordingly.
- collection of the weighted portions of image pixels is not evenly spread across the image but is rather more strongly (higher weighted portions) spread along pixels whose intensity values resembled the surviving pixel colors more.
- This process can be repeatedly recursively applied in order to generate smaller and smaller images, in which each pixel represents by way of transitivity of the dependency process larger and larger weighted portions of the original image pixels.
- the information aggregated from the original image pixels may be averages of intensity /color values, variances of colors, averages of Cartesian locations (e.g. center of mass), and other higher order location moments leading into sharp descriptors (best fitting ellipse etc).
- D is smaller than some pre-determined threshold we keep i in a special list of pixels to survive throughout this entire image 'coarsening process' (process of eliminating columns, and rows generating the smaller images).
- a small value for D indicates that pixel i represents a segment which is relatively decoupled from the rest of the image and needs to be preserved as a special, standing out visual collection of pixels. The smaller D is the more 'salient' is this segment i. a.
- FIG. 8 is a block diagram of a computer platform for executing computer program code implementing processes and steps according to various embodiments of the invention. Object processing and database searching may be performed by computer system 800 in which central processing unit (CPU) 801 is coupled to system bus 802.
- CPU 801 may be any general purpose CPU.
- CPU 801 may execute the various logical instructions according to embodiments of the present invention.
- CPU 801 may execute machine-level instructions according to the exemplary operational flows described above in conjunction with Figures 1 and 2.
- Computer system 800 also preferably includes random access memory (RAM) 803, which may be SRAM, DRAM, SDRAM, or the like.
- Computer system 800 preferably includes read-only memory (ROM) 804 which may be PROM, EPROM, EEPROM, or the like.
- RAM 803 and ROM 804 hold / store user and system data and programs, such as a machine-readable and/or executable program of instructions for object extraction and/or video indexing according to embodiments of the present invention.
- ROM 804 may further be used to store image data to be processed, e.g., subject to geometric coarsening and segmentation.
- Computer system 800 also preferably includes input/output (I/O) adapter 805, communications adapter 811, user interface adapter 808, and display adapter 809.
- I/O adapter 805, user interface adapter 808, and/or communications adapter 811 may, in certain embodiments, enable a user to interact with computer system 800 in order to input information.
- I/O adapter 805 preferably connects to storage device(s) 806, such as one or more of hard drive, compact disc (CD) drive, floppy disk drive, tape drive, etc. to computer system 800.
- storage devices may be utilized when RAM 803 is insufficient for the memory requirements associated with storing data for operations of the system (e.g., storage of videos and related information).
- RAM 803, ROM 804 and/or storage device(s) 806 may include media suitable for storing a program of instructions for video process, object extraction and/or video indexing according to embodiments of the present invention, those having removable media may also be used to load the program and/or bulk data such as large video files.
- Communications adapter 811 is preferably adapted to couple computer system 800 to network 812, which may enable information to be input to and/or output from system 800 via such network 812 (e.g., the Internet or other wide-area network, a local-area network, a public or private switched telephony network, a wireless network, any combination of the foregoing). For instance, users identifying or otherwise supplying a video for processing may remotely input access information or video files to system 800 via network 812 from a remote computer.
- User interface adapter 808 couples user input devices, such as keyboard 813, pointing device 807, and microphone 814 and/or output devices, such as speaker(s) 815 to computer system 800.
- Display adapter 809 is driven by CPU 801 to control the display on display device 810 to, for example, display information regarding a video being processed and providing for interaction of a local user or system operator during object extraction and/or video indexing operations.
- the present invention is not limited to the architecture of system 800.
- any suitable processor-based device may be utilized for implementing object extraction and video indexing, including without limitation personal computers, laptop computers, computer workstations, and multi-processor servers.
- embodiments of the present invention may be implemented on application specific integrated circuits (ASICs) or very large scale integrated (VLSI) circuits.
- ASICs application specific integrated circuits
- VLSI very large scale integrated circuits
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Image Analysis (AREA)
- Image Processing (AREA)
Abstract
A method of and apparatus and software for processing an image reduces the number of pixels constituting the image by sequentially eliminating alternate rows and columns of pixels, the information represented by each pixel being eliminated (a 'source' pixel) being redistributed into adjacent 'destination' pixel locations. The redistribution is made in proportion to the similarity between the source and each destination pixel, e.g., similarity of color and/or luminance values.
Description
A Method Of and Apparatus and Software For Geometric Coarsening And Segmenting Of Still Images
FIELD OF THE INVENTION
The invention is directed to computer vision and, in particular, to image processing for segmentation.
BACKGROUND
Image segmentation has been a significant challenge in image analysis for many years. Segmentation requires a comprehensive computation over the entire image to obtain the appropriate partition into coherent regions which may indicate the existence of semantic objects. The computations involved are very expensive and hence faster methods providing improved results are needed. This disclosure presents methods, software and apparatus for a hierarchical process in which the entire image is processed in an extremely efficient manner including in frame-rate while screening a movie. Looking for regions of photometric coherency or color or texture coherency is essential for extracting semantic objects in the scene. The present invention addresses these and other requirements.
SUMMARY OF THE INVENTION
A method of and apparatus for performing geometric coarsening and segmenting of an image representable as a two-dimensional array of pixels may include the steps of and/or one of more engines and/or software for selecting every other column of the array for accumulating information contained therein into adjacent columns; determining, for each pixel of each selected column, a similarity of the pixel with respect to a first set of nearest pixels of adjacent columns to form respective dependency values; distributing, for each pixel of each selected column, information for the pixel to the first set of pixels of adjacent columns wherein the information from the pixel is accumulated, together with any existing information of the pixel, and weighted by the respective dependency values; selecting every other row of the array for accumulating information contained therein into adjacent rows; determining, for each pixel of each selected row, a similarity of the pixel with respect to a second set of nearest six pixels of adjacent rows to form respective dependency values; and distributing, for each pixel of each selected row, information for the pixel to the second set of
pixels of adjacent rows wherein the information from the pixel is accumulated, together with any existing information of the pixel, and weighted by the respective dependency values.
According a feature of one embodiment of the invention, the first set of pixels may comprise the six nearest pixels in adjacent columns and the second set of pixels comprise the six nearest pixels in adjacent rows.
According to another feature of an embodiment of the invention, column processing steps including column selection, pixel similarity determination, information distribution, are performed prior to row processing steps. An alternate embodiment may perform row processing prior to column processing.
According to another feature of an embodiment of the invention, columns and/or rows may be deleted subsequent to the corresponding information distributing step.
According to another feature of an embodiment of the invention, the sequences of steps providing for column and row elimination are repeated a plurality of time to achieve a desired image coarseness or size.
According to another feature of an embodiment of the invention, the similarity of pixels is determined based on specific color information endowed for each pixel and a specific similarity function appropriate to a type of the color information.
While the following description of a preferred embodiment of the invention uses an example based on indexing and searching of video content, e.g., video files, visual objects, etc., embodiments of the invention are equally applicable to processing, organizing, storing and searching a wide range of content types including video, audio, text and signal files. Thus, an audio embodiment may be used to provide a searchable database of and search audio files for speech, music, or other audio types for desired characteristics of specified importance. Likewise, embodiments may be directed to content in the form of or represented by text, signals, etc.
BRIEF DESCRIPTION OF THE DRAWINGS
The drawing figures depict preferred embodiments of the present invention by way of example, not by way of limitations. In the figures, like reference numerals refer to the same or similar elements.
Figure 1 is a diagram representing an image as an array of pixels aligned in columns and rows;
Figure 2a is a detailed diagram of a portion of an image represented by a central pixel and pixels adjacent thereto labeled according to a first convention using ordered pairs;
Figure 2b is a detailed diagram of a portion of an image represented by a central pixel and pixels adjacent thereto labeled according to a second convention;
Figures 3A - 3J are diagrams including various pixel groupings and the resultant information redistribution allocations;
Figure 4 is a diagram of a portion of an image represented by a grouping of pixels depicting a flow of information from a source pixel to be eliminated to six adjacent "destination: pixels;
Figure 5 is a diagram depicting geometric coarsening of an images by elimination of alternate columns and alternate rows of pixels;
Figure 6 is a diagram depicting a redistribution of information from a pixel of a column to be eliminated to six destination pixels and the subsequent redistribution of information from the two destination pixels to be eliminated;
Figure 7 is a flow diagram of a method and steps performed by apparatus and/or software according to embodiments of the invention; and
Figure 8 is a block diagram of a computer platform for executing computer program code implementing processes and steps according to various embodiments of the invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
Embodiments of the present invention reduce the number of pixels constituting an image by sequentially eliminating alternate rows and columns of pixels, the information represented by each pixel being eliminated (a "source" pixel) being redistributed into adjacent "destination" pixel locations. The redistribution is made in proportion to the similarity between the source and each destination pixel, e.g., similarity of color and/or luminance values. For example, as shown in Figure 1 , an image or portion of an image may be represented by a plurality of picture elements ("pixel") arranged in columns and rows. For
purposes of reference, a subject source pixel element of a column "/" that is to be eliminated is located at the intersection of column i and rowy, i.e., located at (i,j). The subject source pixel may store or contain information about a location of the image corresponding to the pixel location including, for example, luminance values for each of the primary additive colors: red, green and blue. Similarly, as further shown in Figure 2a, adjacent destination pixels located at (/-1, y'+l), (M, j), (M, j-\), (/+1, j+\), (z'+l, j), and (z'+l, y+1) store information about portions of the image corresponding the location of those pixels within the array of rows and columns (and possibly, as will be seen, information from previously eliminated pixels). Although otherwise adjacent to pixel (i,j), pixels (z',y+l) and 0', /-I) are also in column i that is to be eliminated and therefore are not suitable destinations for information that is to be retained. For ease of reference, cells in the column immediately adjacent to the left of the pixel to be eliminated are designated as jl,j2 andy'J, while those to the right as kl, k2 and k3 as shown in Figure 2b.
Preparatory to redistribution of information from source pixel / to destination pixels jl,j2, j3, kl, k2 and k3 is formulation of a transfer function. According to a preferred embodiment of the invention, information is transferred or redistributed based on color or intensity similarity between the source and destination pixels using an exponential function to further emphasize and prefer similar pixels and a distance component to prefer immediately adjacent pixels (i.e., j2 and kl) over diagonally adjacent pixels (i.e., pixelsy7, j3, kl and k3). Thus, a similarity value for diagonally adjacent destination pixels may obtained as:
while, for immediately adjacent destination pixels (those in the same row as the source pixel) as:
The sum of the similarity values for all six destination pixels j7,y'2, j3, kl, k2 and k3 must be normalized to provide a for distribution of the whole of the source pixel information among the six. Figures 3 A - 3 J provide examples of normalized values for various source and destination values for c = 0.05. For purposes of illustration, each pixel is assumed to have a luminance value of between 0 and 255. Referring to Figure 3 A wherein the source pixel and all destination pixels have the same value of 127, the similarity distances (i.e., absolute(dist(source-destination))) are equal. However, the similarity distances of the two immediately adjacent destination pixels j2 and k2 are enhanced by multiplying each by the
square root of 2 such that about 20.7% of information from the source pixel is redistributed to those pixels while 14.6% of the information is redistributed to each of the remaining, diagonally adjacent destination pixelsyi, j3, kl and k3.
Figure 3 B illustrates a situation wherein, although the source and destination pixels are not identical, the distances between the source and each destination pixel are equal resulting in the same redistribution of information as in Figure 3 A. Figure 3C illustrates a set of pixel values resulting in an approximately equal redistribution of information among all destination pixels, Figure 3D illustrating another set of values achieving the same results. Figure 3E illustrates a configuration wherein destination pixels of one column are equally similar to the source pixel, thereby receiving greater than 99% of the redistributed information in total, while those of the opposite column are maximally differentiated, receiving less than 0.2% of the information in total. Figures 3F - 3 J illustrate other relationships between source and destination pixel values and resultant similarities and information redistributions. While the present example uses an exponential fall-off function with a c = 0.05 further weighted to take into consideration source to destination pixel proximity, other transforms (e.g., power, etc.), constants, and/or proximity relationships may be used within the scope of the various embodiments and implementations of the invention. In addition, while the present example illustrates a two-dimensional Cartesian array of pixels in which information from a single source pixel is redistributed to the nearest six neighboring or adjacent pixels, other numbers and arrangements of source and destination pixels may be used.
Once the redistribution scheme (e.g., redistribution percentages) is calculated, the information contents of source pixel / can be incorporated into (e.g., added to the existing contents of) destination pixels jl, j2, j3, kl, k2 and k3 in the calculated proportions as illustrated in Figure 4. The redistribution of information is accomplished for each pixel of each column to be eliminated (e.g., all even or all odd columns) so as to completely redistribute the information from those columns into adjacent columns that are to survive the step. For example, referring to Figure 5, an array 510 consists of a plurality of pixels arranged in columns and rows. Every-other column is selected for elimination in array 520 as indicated by the darkened pixels. The information contained in each of the darkened source pixels is redistributed to the respective nearby adjacent destination pixels as previously described and the selected columns are eliminated (or deleted) as shown in array 530. While the present example shows what appears to be removal of the columns selected for elimination, this may not be necessary. For example, a index value used to reference each
column may be doubled or multiplied by "2" instead of actually requiring removal or deletion of columns that are to be eliminated and, upon termination of the entire process might the remaining information be consolidated or copied to any appropriate data structure, e.g., a smaller array.
Note that some pixels may require special processing. For example, pixels falling along an edge of an image that are to be eliminated may have their information distributed into pixels of a single adjacent column. Pixels that are very dissimilar to all possible destination pixels may also be processed differently so as to retain certain image transition characteristics, edges, etc.
Upon the effective or actual elimination of every-other column, every-other row may be designated for elimination as in array 540. As in the case of column elimination, information from each pixel to be eliminated is redistributed into adjacent pixels that are not designated for immediate elimination. In this case, the contents of each pixel of each row to be eliminated is redistributed to the three nearest pixels of each adjacent row. The selected rows can then be eliminated as discussed above in connection with columns to be eliminated, resulting in array 550 that is one quarter the size (i.e., has 25% the number of pixels) of array 510. According to one embodiment of the invention, row elimination may be performed by transposing array 530 to exchange rows with columns and then performing the "column" elimination steps, transposing the array back to original row/column orientation as necessary afterwards.
Figure 6 illustrate a generalized sequence of column elimination for all pixels (i,j) of some column "/" (array segment 610), by the redistribution of information contents of each source pixel to destination pixels at (i-l, j+l), (/-1, j), (H, j-l), (z+1, 7+1), (i+l, j), and (z+1, 7-I). Column "/" including pixel (/,7) (together with all other pixels of column "/") can then be eliminated as in array segment 620. Assuming row "7" is one of those selected for elimination, information stored in pixels (H, 7) and (/+1, 7) that had previously received information from pixel (z, 7) have their information redistributed into source pixels {{i-2, j+l), (i-l, j+l), (i+l, j+l), (i-2, j-l), (i-l, j-l), and (/+7, j-l)} and {(/-/, j+l), (i+l, j+l), (i+2, j+l), (i-l, j-l), and (i+l, j-l), and (i+2, j-l)}, respectively (array segments 630 and 640). Row/ can then be eliminated (array segment 650).
The steps of column and row elimination can be repeated, each iteration reducing the number of pixels by 75% (i.e., leaving one pixel for every group of four pixels) to progressively "coarsen" the image while retaining boundaries and other features that function to segment the image and define semantic objects appearing within the image.
Figure 7 is a flow chart of step of a method including steps performed or executed by an apparatus and/or software for finding regions of coherent color and texture properties in still computer images, together with accumulating their various characterizing properties such as average color, average texture, and shape descriptors such as shape moments. Each of the steps or actions may be performed by a suitable platform and/or software. For ease of reference, each step or action may be performed or supported by an appropriate "engine", wherein use of such term in describing embodiments and features of the invention is not intended to be limiting of any particular implementation for accomplishing and/or performing the actions, steps, processes, etc. attributable to the engine. For example, an engine may be, but is not limited to, software, hardware and/or firmware or any combination thereof that performs any portion or combination of the specified step(s), action(s) or function(s)s including, but not limited to, any using a general and/or specialized processor. Software may be stored in or using a suitable machine-readable or computer-readable medium such as, but not limited to, random access memory (RAM) and other forms of electronic storage, data storage media such as hard drives, removable media such as CDs and DVDs, etc. Further, any name associated with a particular engine is, unless otherwise specified, for purposes of convenience of reference and not intended to be limiting to a specific implementation. Additionally, any functionality attributed to an engine may be equally performed by multiple engines, incorporated into the functionality of another or different engine, or distributed across one or more engines of various configurations.
The amount of properties information kept for each region is vastly smaller than the original number of pixels in the region, hence summarizing the information. The regions of an image with their properties are represented by a set of smaller images (one-quarter QA) of the original image size), one for each accumulated such property. In each of these smaller ('coarser') images the value at every 'coarse' pixel represents the respective accumulated property for one such region in the original image - such as average color, variance in color etc.
For each image property such as intensity the image is transformed into a smaller image (quarter size, via 'coarsening') in which coherent regions are represented each by one pixel, whose value represents the property values for all the image pixels in the corresponding region. For example a weighted averaged intensity (weighted by region partitioning). This process can be applied repeatedly to the resulting images to generate additional same size sets of smaller and smaller images (again image for each property), representing larger and larger regions of the original image.
The following outline addresses the coarsening of a specific property, for example, image intensity values. While a specific sequence and order of steps are presented for purposes of the present illustration, other arrangements may be used and/or implemented. Further, while the present and other examples provide for a reduction or coarsening of a two- dimensional object such as an image, objects of other dimensionalities may be accommodated.
According to the present illustration, a method of geometrically coarsening and segmenting an image starts at step 701. At step 702 a test is performed to determine if a desired image size is present and/or has been achieved. If no processing is required, the process ends at step 703. If coarsening is to begin or continue:
1. First eliminate every second column of the original image (steps 704 - 707);
1.1. For each pixel in an eliminated column (step 704) determine its dependencies on its six nearest neighbors in the two nearest surviving columns around it (step 705). The dependencies are set so as to sum up to 1 , and always reflect its relative similarity in the color (and intensity) property to each of these six pixels. The four diagonal neighboring pixels are farther away by a factor of sqrt(2) which is also reflected in the dependencies. See equations 1 and 2 above.
1.2. Accumulate property information from each of the eliminated pixels onto its six neighboring surviving pixels according to the computed dependencies (always set according to color/intensity similarities). See step 706. That is, accumulate at each surviving neighboring pixel the respective portion of the eliminated pixel property value according to the corresponding dependency on the neighbor. For instance accumulating volume starting from property volume=l for each of the pixels in the original image.
1.3. Eliminate the selected columns (step 707).
2. Secondly, eliminate every second row similarly to column elimination (steps 708 - 711). The simplest way is to transpose the image (using a suitable matrix transpose), eliminate its every second column, and transpose it back. This is equivalent to eliminating every second row.
This Coarsening process can be applied repeatedly generating different levels, each time eliminating every second column and every second row so as to generate another higher level getting smaller images. At each level the coarsened images representing the original- image region properties are smaller (thus less regions are represented, each by a single pixel), and the size of the represented regions is larger.
To determine the exact region in pixels of any level which is represented by a single pixel at its 'coarser' higher level it is only necessary to follow the dependencies of the lower- level pixels on this 'coarser' pixel, and their respective portions (for each, in volume/domain) belong to the coarser pixel's volume/domain. This process of revealing which portions of pixels belong to coarser pixels is referred herein as "de-Coarsening". De-Coarsening can be applied to any coarse pixel(s), repeatedly all the way down through lower levels until revealing the dependencies of the original image pixels corresponding to the image segment represented by the coarse pixel(s).
Given an image T the method described herein generates a reduced size image of so- called 'coarse' pixels, where the intensity of each coarse pixel stands for the weighted average intensity of a collection of portions of image pixels, adaptively set so as to average together large portions of neighboring pixels of similar color, weighted by the extent to which colors are similar.
Note that, according to a first step, the pixels in every second (or other) column in the image are eliminated by determining their dependencies on neighboring remaining pixels and averaging their various properties (color, x-location, y-location etc) together with and to be associated with the remaining pixels, with weights depending on (in one embodiment) their color (or, in monochrome, single channel luminance value, etc.) similarity to those neighboring pixels. For each eliminated pixel dependencies are computed for six pixels contained in the closest near-by (i.e., immediately adjacent or "surviving") columns. That is, three closest neighboring pixels to the left and three to the right of each eliminated pixel.
With reference to Figure 1, an image may be represented by a plurality of pixels arranged in rows and columns. The method to be more fully described eliminates pixels of alternate columns by computing, for each pixel of a column, a normalized similarity with the surrounding pixels, disregarding those of the same column such that only the pixels of the adjacent columns are considered. Having a normalized similarity value relating the pixel to be eliminated to its adjacent pixels, the contents of the pixel to be eliminated are redistributed to the adjacent pixels (again, disregarding those of the same column) proportionate to the normalized similarity where the normalized similarity is distance-weighted, preferring pixels of the same row to those located on a diagonal to the subject pixel. Thus, if column i is to be eliminated (together with columns i±2n), the contents of the pixel at ij would be redistributed to the nearby pixels of columns i-1 and i+1, i.e., closest pixels located at (i-1, j) and (i+1, j) further weighted by V2 and to diagonal pixels (i-l, j-l), (i-lj+l), (1+1, j-1) and (i+1, j+1)
as shown in further detail in Figure 2a. However, for ease of reference, the following description utilizes an alternative pixel designation scheme as shown in Figure 2b wherein:
(i-l, j+l) = Jl (i+lJ+1) = kl
(i-lj) = J2 (i, j) = i (i+l, j) = k2
(i-lj-l) = J3 (i+lj-l) = k3
Using the notation of Figure 2b,:
a. Every eliminated pixel i (with intensity Ii) has six nearest neighboring pixels in the nearest surviving columns: j 1 , j2 and j3 on the left and kl , k2 and k3 on the right (numerated from top to bottom on each side see chart below), having the intensity values IjI, Ij 2, Ij 3 and IkI, Ik2 and Ik3 respectively. If I is a color image intensity IiI means a three-value vector. Distances as they appear below dist(Ii,Iil) mean using a vector distance/norm rather then a scalar one distance/norm.
b. A dependency of pixel I1 on Ij i is defined to be
Ui,j\ - e (Eq. 3) and the dependency of pixel Ii on IkI to be:
D _ Λ-cxdist(I, ,Ikι ))
Ui,k\ ~ β (Eq. 4) and similarly
Ui,j2 ~ ^ 1 X e (Eq. 5) n _ (-cxdist{In I j 3 )) Ui,β ~ e (Eq. 6)
D i.,k^2 = ~ -^j2 Λx ee{-cxdist(I"h2 )) (Eq. 7)
υi,hl> - e (Eq. 8)
where c is a pre-set positive constant for scaling the decrease in dependency by the distance in color. Multiplying the distances for the two nearest neighbors j2 and k2 by v2 reflects the fact that they are by that ratio closer to i than the four remaining nearest neighbors j 1 ,j3, kl and k3.
The dependencies are then normalized to sum to unity or "1". Define
D = D1 7l + D1 j2 + D1 β + D1 k] + D1 k2 + D /,jfc3 (Eq. 9) and then normalize all dependencies to sum up to one such that:
_ D,A S — 10 - - 12)
D D,j2 (Eqs.
D D
_ D'M (Eqs. 13 - - 15)
D D D
Such that now
D,,Λ + D1 J2 + D1 β + Dl kl + D1 k2 + /J», ,3 = 1 (Eq. 16)
Hence all dependencies now reflect the relative extent to which the colors/intensity of pixel i resembles or is similar to the intensities of its neighboring pixels (see Figure 2b). c. At this point (i.e., by step (b)) every surviving pixel j in each surviving column has exactly six "to-be-eliminated" nearest neighboring pixels which are depredating on it (from the neighboring columns to be eliminated on its left and right) notated as il, i2, i3 on its left, and 11, 12, 13 on its right that are respectively depending on it as explained in (b) above by Diij' Dj2jk, Dj3j, Dig, D|2j, and Di3J (see Table 1 below). The intensity Ij of the surviving pixel j is updated to become
,
New I j = (v.i ^ Dn j + I,2 x D,2 + I* * D,3j + In * Dnj + Il2 x Dl2j + I13 * D13 J t
(Eq. 17)
DΛJ + DΛJ + D,3J + Dn + Dl2j + Dιχj where Djj=l.
Having updated the intensities of all the surviving pixels, all the designated columns (every other columns) can be deleted.
Table 1
Chart for the image I with its columns to be eliminated (every second one, all even numbered column) and surviving columns (all odd numbered columns) d. Every surviving pixel j now can be seen as representing itself, as well as its six nearest neighbors il, i2, i3, 11, 12 and 13 in a weighted manner by the dependencies:
D} ) = 1, DΛ J , Dl2 j , Dβ J , Dn j , D12 J , D13J (Eq. 18) set as explained above by the extent that their original values were similar. That is: the surviving pixel fully represents itself with weight 1, as well as representing a D11J portion of pixel il and a Dj2j portion of pixel i2, a Dj3J portion of pixel i3, Dnj portion of pixel 11, a Di2j portion of pixel 12 and a D]3J portion of pixel 13. We call this collection of portions of image pixels in the original image which the surviving pixel j now represents - a 'segment' j. e. We can now 'aggregate' any property the eliminated pixels may have from the image pixels level to be weight-averaged to be associated with each surviving pixel j according to the weights/portions by which the eliminated pixels depend on it in the exact same way as explained in (c) above for obtaining the new Ij. That is for instance if we collect the squared value of the intensities we will aggregate a new value at j, New_IjΛ2 defined as:
Au + A2J +A3,, + Au + Dn, +Dnj
Similarly we can aggregate the x-location of all pixels to create an X-location weighted center of mass by:
20) etc.
2. Every other row in the surviving, twice-thinner image (after eliminating every other column) can be eliminated in the same way used to eliminate every other column in 1 above. For example, the image may be transposed so that rows become columns and the steps above used to eliminate every other column again, after which the image may be transposed back to restore the original orientation of the columns and rows. In doing so new segments associated each with each of the remaining pixels were generated, each of which is a collection of weighted portions of seven of the previous stage segments (itself and its six
nearest neighbors), which were similarly in their turn each a collection of weighted portions of seven original image pixels (as explain in 1). Hence by transitivity of the dependency process the remaining pixels after stage 2 (after eliminating every other row) each represent a collection of weighted portions of the original image pixels, and their intensity value represents a weighted averaging of the image pixels intensity values, accordingly. Note that collection of the weighted portions of image pixels (segment) is not evenly spread across the image but is rather more strongly (higher weighted portions) spread along pixels whose intensity values resembled the surviving pixel colors more.
3. This process can be repeatedly recursively applied in order to generate smaller and smaller images, in which each pixel represents by way of transitivity of the dependency process larger and larger weighted portions of the original image pixels. The information aggregated from the original image pixels may be averages of intensity /color values, variances of colors, averages of Cartesian locations (e.g. center of mass), and other higher order location moments leading into sharp descriptors (best fitting ellipse etc).
4. For each pixel to-be-deleted i we check its sum of dependencies on the surviving pixels as mentioned in (b), BEFORE normalizing it to be 1, that is:
D = D1 JX + Dlj2 + D1 J3 + D1 M + D1 k2 + D1 k3 (Eq. 21)
And in case D is smaller than some pre-determined threshold we keep i in a special list of pixels to survive throughout this entire image 'coarsening process' (process of eliminating columns, and rows generating the smaller images). A small value for D indicates that pixel i represents a segment which is relatively decoupled from the rest of the image and needs to be preserved as a special, standing out visual collection of pixels. The smaller D is the more 'salient' is this segment i. a. We may start a process of checking pixel i's dependencies also on the nearest pixels just above and beneath it within the column to be deleted, and transitively on their consecutive dependencies on the nearest, farther away (neighbors of neighbors) pixels within the surviving columns, thus searching for a more indirect but stronger and more significant dependency. If such a dependency is found we may change the coarsening process to include also such farther away dependencies wherever needed
5. For much higher efficiency reasons instead of computing Djji, DjJ2, DjJ3, Dj,ki, Di,k2, Di,ic3 (which sum up to 1) as in (b), we may keep previously arranged hash tables so as to deduce these values immediately out of the 7 values of pixels i,j l,j2,j3,kl5k2,k3 by a pre-prepared lookup table.
Figure 8 is a block diagram of a computer platform for executing computer program code implementing processes and steps according to various embodiments of the invention. Object processing and database searching may be performed by computer system 800 in which central processing unit (CPU) 801 is coupled to system bus 802. CPU 801 may be any general purpose CPU. The present invention is not restricted by the architecture of CPU 801 (or other components of exemplary system 800) as long as CPU 801 (and other components of system 800) supports the inventive operations as described herein. CPU 801 may execute the various logical instructions according to embodiments of the present invention. For example, CPU 801 may execute machine-level instructions according to the exemplary operational flows described above in conjunction with Figures 1 and 2.
Computer system 800 also preferably includes random access memory (RAM) 803, which may be SRAM, DRAM, SDRAM, or the like. Computer system 800 preferably includes read-only memory (ROM) 804 which may be PROM, EPROM, EEPROM, or the like. RAM 803 and ROM 804 hold / store user and system data and programs, such as a machine-readable and/or executable program of instructions for object extraction and/or video indexing according to embodiments of the present invention. ROM 804 may further be used to store image data to be processed, e.g., subject to geometric coarsening and segmentation.
Computer system 800 also preferably includes input/output (I/O) adapter 805, communications adapter 811, user interface adapter 808, and display adapter 809. I/O adapter 805, user interface adapter 808, and/or communications adapter 811 may, in certain embodiments, enable a user to interact with computer system 800 in order to input information.
I/O adapter 805 preferably connects to storage device(s) 806, such as one or more of hard drive, compact disc (CD) drive, floppy disk drive, tape drive, etc. to computer system 800. The storage devices may be utilized when RAM 803 is insufficient for the memory requirements associated with storing data for operations of the system (e.g., storage of videos and related information). Although RAM 803, ROM 804 and/or storage device(s) 806 may include media suitable for storing a program of instructions for video process, object extraction and/or video indexing according to embodiments of the present invention, those having removable media may also be used to load the program and/or bulk data such as large video files.
Communications adapter 811 is preferably adapted to couple computer system 800 to network 812, which may enable information to be input to and/or output from system 800 via
such network 812 (e.g., the Internet or other wide-area network, a local-area network, a public or private switched telephony network, a wireless network, any combination of the foregoing). For instance, users identifying or otherwise supplying a video for processing may remotely input access information or video files to system 800 via network 812 from a remote computer. User interface adapter 808 couples user input devices, such as keyboard 813, pointing device 807, and microphone 814 and/or output devices, such as speaker(s) 815 to computer system 800. Display adapter 809 is driven by CPU 801 to control the display on display device 810 to, for example, display information regarding a video being processed and providing for interaction of a local user or system operator during object extraction and/or video indexing operations.
It shall be appreciated that the present invention is not limited to the architecture of system 800. For example, any suitable processor-based device may be utilized for implementing object extraction and video indexing, including without limitation personal computers, laptop computers, computer workstations, and multi-processor servers. Moreover, embodiments of the present invention may be implemented on application specific integrated circuits (ASICs) or very large scale integrated (VLSI) circuits. In fact, persons of ordinary skill in the art may utilize any number of suitable structures capable of executing logical operations according to the embodiments of the present invention.
While the foregoing has described what are considered to be the best mode and/or other preferred embodiments of the invention, it is understood that various modifications may be made therein and that the invention may be implemented in various forms and embodiments, and that it may be applied in numerous applications, only some of which have been described herein. It is intended by the following claims to claim any and all modifications and variations that fall within the true scope of the inventive concepts.
It should also be noted and understood that all publications, patents and patent applications mentioned in this specification are indicative of the level of skill in the art to which the invention pertains. All publications, patents and patent applications are herein incorporated by reference to the same extent as if each individual publication, patent or patent application was specifically and individually indicated to be incorporated by reference in its entirety.
Claims
1. A method of performing geometric coarsening and segmenting of an image representable as a two-dimensional array of pixels comprising the steps of: a) selecting every other column of the array for accumulating information contained therein into adjacent columns; b) determining, for each pixel of each selected column, a similarity of said pixel with respect to a first set of nearest pixels of adjacent columns to form respective dependency values; c) distributing, for each pixel of each selected column, information for said pixel to the first set of pixels of adjacent columns wherein said information from said pixel is accumulated, together with any existing information of said pixel, and weighted by the respective dependency values; d) selecting every other row of the array for accumulating information contained therein into adjacent rows; e) determining, for each pixel of each selected row, a similarity of said pixel with respect to a second set of nearest six pixels of adjacent rows to form respective dependency values; and f) distributing, for each pixel of each selected row, information for said pixel to the second set of pixels of adjacent rows wherein said information from said pixel is accumulated, together with any existing information of said pixel, and weighted by the respective dependency values.
2. The method according to claim 1 wherein said first set of pixels comprise the six nearest pixels in adjacent columns and said second set of pixels comprise the six nearest pixels in adjacent rows.
3. The method according to claim 1 wherein said steps a, b and c are performed prior to said steps d, e and f.
4. The method according to claim 3 wherein, after said steps a, b and c are performed, and prior to performance of steps d, e and f, said selected every other column is deleted and, after said steps d, e and f, said selected every other row is deleted.
5. The method according to claim 4 wherein said steps a through f are repeated a plurality of times.
6. The method according to claim 1 wherein said similarity of pixels is determined based on specific color information endowed for each pixel and a specific similarity function appropriate to a type of said color information.
7. The method according to claim 5 wherein, for each repetition of steps a through f, each remaining pixel accumulations additional information from an ever increasing volume of the original image pixels wherein remaining pixels are those not previously deleted.
8. The method according to claim 5 wherein, for each repetition of steps a though f, each remaining pixel may be mapped back to portions of pixels in the original image by backtracking the dependencies contributing to its accumulation wherein remaining pixels are those not previously deleted.
9. The method according to claim 5 further comprising a step of mapping back to portions of pixels in the original image by backtracking the dependencies contributing to its accumulation wherein remaining pixels are those not previously deleted.
10. The method according to claim 1 wherein each pixels in the original image is endowed with color information and at least one additional type of information.
11. A method of reducing the size of an image stored as a two-dimensional array of pixels comprising the steps of: selecting a plurality of columns for elimination, each including a plurality of column-aligned source pixels; redistributing image information from each of said column-aligned source pixels to corresponding nearest destination pixels of columns adjacent each of said column- aligned source pixels; eliminating said plurality of columns selected for elimination; selecting a plurality of row for elimination, each including a plurality of row-aligned source pixels; redistributing image information from each of said row-aligned source pixels to corresponding nearest destination pixels of rows adjacent each of said row-aligned source pixels; and eliminating said plurality of rows selected for elimination.
12. The method according to claim 11 wherein said steps of redistributing said image information include steps of determining, for each of said column-aligned and row- aligned source pixels, a similarity of said source pixel with respect corresponding ones of said nearest destination pixels to form respective dependency values
13. A method of compressing data stored in a multidimensional array of data elements, the method comprising the steps of: a) selecting a first plurality of subarrays from said multidimentional array, said first plurality of subarrays arranged along a selected one said dimensions, each of said first plurality of subarrays including a first plurality of source data elements; b) determining, for each of said first plurality of source data elements, a similarity of said source data elements with respect to a corresponding set of nearest destination data elements to form respective dependency values; c) distributing data corresponding to each of said first plurality of source data elements to the corresponding set of nearest destination data elements wherein said information from said source data elements is accumulated, together with any existing information of said nearest destination data elements and weighted by the respective dependency values; d) selecting a next plurality of subarrays from said multidimentional array, said next plurality of subarrays arranged along another of said dimensions and each including another plurality of source data elements; and e) repeating steps b - c with said next plurality of subarrays.
14. An apparatus for performing geometric coarsening and segmenting of an image representable as a two-dimensional array of pixels comprising: a) a first engine operable to select every other column of the array to accumulate information contained therein into adjacent columns; b) a second engine operable to determine, for each pixel of each selected column, a similarity of said pixel with respect to a first set of nearest pixels of adjacent columns to form respective dependency values; c) a third engine operable to distribute, for each pixel of each selected column, information for said pixel to the first set of pixels of adjacent columns wherein said information from said pixel is accumulated, together with any existing information of said pixel, and weighted by the respective dependency values; d) a fourth engine operable to select every other row of the array for accumulating information contained therein into adjacent rows; e) a fifth engine operable to determine, for each pixel of each selected row, a similarity of said pixel with respect to a second set of nearest six pixels of adjacent rows to form respective dependency values; and f) a sixth engine operable to distribute, for each pixel of each selected row, information for said pixel to the second set of pixels of adjacent rows wherein said information from said pixel is accumulated, together with any existing information of said pixel, and weighted by the respective dependency values.
15. The apparatus according to claim 14 wherein said first set of pixels comprise the six nearest pixels in adjacent columns and said second set of pixels comprise the six nearest pixels in adjacent rows.
16. The apparatus according to claim 14 wherein said engines first, second and third engines operate to perform the corresponding actions prior to operation of fourth, fifth and sixth engines.
17. The apparatus according to claim 16 wherein, after said actions attributable to said first, second and third engines are performed, and prior to performance of action attributable to said fourth, fifth and sixth engines, said selected every other column is deleted and, after operation of said fourth, fifth and sixth engines, said selected every other row is deleted.
18. The apparatus according to claim 17 wherein said actions attributable to said first, second, third, fourth, fifth and sixth engines are repeated a plurality of times.
19. The apparatus according to claim 14 wherein said similarity of pixels is determined based on specific color information endowed for each pixel and a specific similarity function appropriate to a type of said color information.
20. The apparatus according to claim 18 wherein, for each repetition of operations performed by said engines a through f, each remaining pixel accumulates additional information from an ever increasing volume of the original image pixels wherein remaining pixels are those not previously deleted.
21. The apparatus according to claim 18 wherein, for each repetition of operations performed by engines a though f, each remaining pixel may be mapped back to portions of pixels in the original image by backtracking the dependencies contributing to its accumulation wherein remaining pixels are those not previously deleted.
22. The apparatus according to claim 18 further comprising an engine operable to map back to portions of pixels in the original image by backtracking the dependencies contributing to its accumulation wherein remaining pixels are those not previously deleted.
23. The apparatus according to claim 14 wherein each pixels in the original image is endowed with color information and at least one additional type of information.
24. An apparatus of reducing the size of an image stored as a two-dimensional array of pixels comprising one or more engines operable to perform the steps of: selecting a plurality of columns for elimination, each including a plurality of column-aligned source pixels; redistributing image information from each of said column-aligned source pixels to corresponding nearest destination pixels of columns adjacent each of said column- aligned source pixels; eliminating said plurality of columns selected for elimination; selecting a plurality of row for elimination, each including a plurality of row-aligned source pixels; redistributing image information from each of said row-aligned source pixels to corresponding nearest destination pixels of rows adjacent each of said row-aligned source pixels; and eliminating said plurality of rows selected for elimination.
25. The apparatus according to claim 24 wherein said steps of redistributing said image information include steps of determining, for each of said column-aligned and row- aligned source pixels, a similarity of said source pixel with respect corresponding ones of said nearest destination pixels to form respective dependency values
26. An apparatus for compressing data stored in a multidimensional array of data elements, the apparatus comprising engines operable to perform the steps of: a) selecting a first plurality of subarrays from said multidimentional array, said first plurality of subarrays arranged along a selected one said dimensions, each of said first plurality of subarrays including a first plurality of source data elements; b) determining, for each of said first plurality of source data elements, a similarity of said source data elements with respect to a corresponding set of nearest destination data elements to form respective dependency values; c) distributing data corresponding to each of said first plurality of source data elements to the corresponding set of nearest destination data elements wherein said information from said source data elements is accumulated, together with any existing information of said nearest destination data elements and weighted by the respective dependency values; d) selecting a next plurality of subarrays from said multidimentional array, said next plurality of subarrays arranged along another of said dimensions and each including another plurality of source data elements; and e) repeating steps b - c with said next plurality of subarrays.
27. A computer program comprising: a computer usable medium having computer readable program code embodied therein for geometric coarsening and segmenting of an image representable as a two-dimensional array of pixels, the computer readable program code including: a) computer readable program code for causing the computer to select every other column of the array for accumulating information contained therein into adjacent columns; b) computer readable program code for causing the computer to determe, for each pixel of each selected column, a similarity of said pixel with respect to a first set of nearest pixels of adjacent columns to form respective dependency values; c) computer readable program code for causing the computer to distribute, for each pixel of each selected column, information for said pixel to the first set of pixels of adjacent columns wherein said information from said pixel is accumulated, together with any existing information of said pixel, and weighted by the respective dependency values; d) computer readable program code for causing the computer to select every other row of the array for accumulating information contained therein into adjacent rows; e) computer readable program code for causing the computer to determine, for each pixel of each selected row, a similarity of said pixel with respect to a second set of nearest six pixels of adjacent rows to form respective dependency values; and f) computer readable program code for causing the computer to distribute, for each pixel of each selected row, information for said pixel to the second set of pixels of adjacent rows wherein said information from said pixel is accumulated, together with any existing information of said pixel, and weighted by the respective dependency values.
28. The computer program according to claim 27 wherein said first set of pixels comprise the six nearest pixels in adjacent columns and said second set of pixels comprise the six nearest pixels in adjacent rows.
29. The computer program according to claim 27 wherein said computer readable program code for causing the computer to perform actions a, b and c operates prior to the program code for causing the computer to perform the actions of d, e and f.
30. The computer program according to claim 27 wherein, after said computer readable program code causes the computer to perform actions a, b and c, and prior to operation of said computer readable program code causing the computer to perform actions d, e and f, computer readable program code for causes said selected every other column to be deleted and, after said actions d, e and f, computer readable program codes causes said selected every other row to be deleted.
31. The computer program according to claim 30 wherein said computer readable program code operates to repeatedly perform actions a through f a plurality of times.
32. The computer program according to claim 27 wherein said similarity of pixels is determined based on specific color information endowed for each pixel and a specific similarity function appropriate to a type of said color information.
33. The computer program according to claim 31 wherein, for each repetition of actions a through f, each remaining pixel accumulations additional information from an ever increasing volume of the original image pixels wherein remaining pixels are those not previously deleted.
34. The computer program according to claim 31 wherein, for each repetition of actions a though f, each remaining pixel may be mapped back to portions of pixels in the original image by backtracking the dependencies contributing to its accumulation wherein remaining pixels are those not previously deleted.
35. The computer program according to claim 29 further comprising computer readable program code for causing the computer to map back to portions of pixels in the original image by backtracking the dependencies contributing to its accumulation wherein remaining pixels are those not previously deleted.
36. The computer program according to claim 27 wherein each pixels in the original image is endowed with color information and at least one additional type of information.
37. A computer program comprising: a computer usable medium having computer readable program code embodied therein for reducing the size of an image stored as a two-dimensional array of pixels, the computer readable program code including: computer readable program code for causing the computer to select a plurality of columns for elimination, each including a plurality of column-aligned source pixels; computer readable program code for causing the computer to redistribute image information from each of said column-aligned source pixels to corresponding nearest destination pixels of columns adjacent each of said column-aligned source pixels; computer readable program code for causing the computer to eliminate said plurality of columns selected for elimination; computer readable program code for causing the computer to select a plurality of row for elimination, each including a plurality of row-aligned source pixels; computer readable program code for causing the computer to redistribute image information from each of said row-aligned source pixels to corresponding nearest destination pixels of rows adjacent each of said row-aligned source pixels; and computer readable program code for causing the computer to eliminate said plurality of rows selected for elimination.
38. The computer program according to claim 37 further comprising computer readable program code for causing the computer to determine, for each of said column-aligned and row-aligned source pixels, a similarity of said source pixel with respect corresponding ones of said nearest destination pixels to form respective dependency values
39. A computer program comprising: a computer usable medium having computer readable program code embodied therein for compressing data stored in a multidimensional array of data elements, the computer readable program code including: a) computer readable program code for causing the computer to select a first plurality of subarrays from said multidimentional array, said first plurality of subarrays arranged along a selected one said dimensions, each of said first plurality of subarrays including a first plurality of source data elements; b) computer readable program code for causing the computer to determine, for each of said first plurality of source data elements, a similarity of said source data elements with respect to a corresponding set of nearest destination data elements to form respective dependency values; c) computer readable program code for causing the computer to distribute data corresponding to each of said first plurality of source data elements to the corresponding set of nearest destination data elements wherein said information from said source data elements is accumulated, together with any existing information of said nearest destination data elements and weighted by the respective dependency values; d) computer readable program code for causing the computer to select a next plurality of subarrays from said multidimentional array, said next plurality of subarrays arranged along another of said dimensions and each including another plurality of source data elements; and computer readable program code for causing the computer to repeating actions b - c with said next plurality of subarrays.
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US11/802,499 US7903899B2 (en) | 2007-05-23 | 2007-05-23 | Method of geometric coarsening and segmenting of still images |
| US11/802,498 US7920748B2 (en) | 2007-05-23 | 2007-05-23 | Apparatus and software for geometric coarsening and segmenting of still images |
| US11/802,499 | 2007-05-23 | ||
| US11/802,498 | 2007-05-23 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| WO2008147978A1 true WO2008147978A1 (en) | 2008-12-04 |
| WO2008147978A8 WO2008147978A8 (en) | 2010-03-04 |
Family
ID=40075509
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/US2008/064683 WO2008147978A1 (en) | 2007-05-23 | 2008-05-23 | A method of and apparatus and software for geometric coarsening and segmenting of still images |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2008147978A1 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5838838A (en) * | 1996-07-19 | 1998-11-17 | Hewlett-Packard Company | Down-scaling technique for bi-level images |
| US20040013305A1 (en) * | 2001-11-14 | 2004-01-22 | Achi Brandt | Method and apparatus for data clustering including segmentation and boundary detection |
-
2008
- 2008-05-23 WO PCT/US2008/064683 patent/WO2008147978A1/en active Application Filing
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5838838A (en) * | 1996-07-19 | 1998-11-17 | Hewlett-Packard Company | Down-scaling technique for bi-level images |
| US20040013305A1 (en) * | 2001-11-14 | 2004-01-22 | Achi Brandt | Method and apparatus for data clustering including segmentation and boundary detection |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2008147978A8 (en) | 2010-03-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7903899B2 (en) | Method of geometric coarsening and segmenting of still images | |
| US7920748B2 (en) | Apparatus and software for geometric coarsening and segmenting of still images | |
| US11449540B1 (en) | Media fingerprinting and identification system | |
| US9262441B2 (en) | Wildcard color searching | |
| US6477269B1 (en) | Method and system for searching for images based on color and shape of a selected image | |
| US9298682B2 (en) | Annotating images | |
| JP5463415B2 (en) | Method and system for quasi-duplicate image retrieval | |
| JP3658761B2 (en) | Image search system, image search method, and storage medium storing image search program | |
| US6181817B1 (en) | Method and system for comparing data objects using joint histograms | |
| Iqbal et al. | Combining structure, color and texture for image retrieval: A performance evaluation | |
| US8463050B2 (en) | Method for measuring the dissimilarity between a first and a second images and a first and second video sequences | |
| Leow et al. | The analysis and applications of adaptive-binning color histograms | |
| CN101300575A (en) | Image processing | |
| CN1358296A (en) | Method and device for color image representation and retrieval | |
| JP2002319024A (en) | Video Retrieval Method Based on Combination of Color and Texture | |
| CN1577336A (en) | Method and device for representing a group of images | |
| GB2534535A (en) | Data structuring and searching methods and apparatus | |
| US20030081859A1 (en) | Determination of similarity using weighting value depending on the type of characteristic | |
| JP4545641B2 (en) | Similar image retrieval method, similar image retrieval system, similar image retrieval program, and recording medium | |
| Khotanzad et al. | Color image retrieval using multispectral random field texture model and color content features | |
| CN112116622A (en) | Contour extraction method, search library establishment method, contour matching method and system | |
| WO2008147978A1 (en) | A method of and apparatus and software for geometric coarsening and segmenting of still images | |
| US20070031034A1 (en) | System and method for utilizing a graphic equalizer in performing image search procedures | |
| JP2006221525A (en) | Object retrieval system and method | |
| Piamsa-Nga et al. | A parallel model for multimedia database on cluster system environment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 08769689 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 08769689 Country of ref document: EP Kind code of ref document: A1 |