US20040008885A1 - Image data processing method and corresponding device - Google Patents

Image data processing method and corresponding device Download PDF

Info

Publication number
US20040008885A1
US20040008885A1 US10/611,834 US61183403A US2004008885A1 US 20040008885 A1 US20040008885 A1 US 20040008885A1 US 61183403 A US61183403 A US 61183403A US 2004008885 A1 US2004008885 A1 US 2004008885A1
Authority
US
United States
Prior art keywords
image data
output
processing method
data
data processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US10/611,834
Inventor
Claudio Caldato
Andrea Monaci
Douglas Heins
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to US10/611,834 priority Critical patent/US20040008885A1/en
Publication of US20040008885A1 publication Critical patent/US20040008885A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • H04N1/603Colour correction or control controlled by characteristics of the picture signal generator or the picture reproducer

Definitions

  • the present invention relates to a processing method and, more particularly, to an image data processing method receiving an input image data splitted into elementary unit of information to be used in embedded applications.
  • the present invention also relates to an image data processing device implementing such image data processing method.
  • the image data processing device, and the corresponding processing method deal with an image acquired by means of an image acquisition device, for example a scanner.
  • the image data so obtained are usually organized into a raster of pixels, each pixels providing an elementary image information.
  • images are, at the most basic level, arrays of digital values, where a value is a collection of numbers describing the attributes of a pixel in the image.
  • a value is a collection of numbers describing the attributes of a pixel in the image.
  • bitmaps the above mentioned values are single binary digits.
  • these numbers are fixed-point representation of a range of real number; for example, the integers 0 through 255 are often used to represent the numbers from 0.0 to 1.0. Often too, these numbers represent the intensity at a point of the image (gray scale) or the intensity of one color component at that point.
  • achromatic light has only one attribute, which is the quantity of light. This attribute can be discussed in the physic sense of energy, in which case the terms intensity and luminance are used, or in the psychological sense of perceived intensity, in which case the term brightness is used.
  • Hue distinguishes among colors such as red, green, purple and yellow.
  • Saturation refers to how far a color is from a gray of equal intensity. Red is highly saturated; pink is relatively unsaturated; royal blue is highly saturated; sky blue is relatively unsaturated. Pastel colors are relatively unsaturated; unsaturated colors include more white light than do the vivid, saturated colors.
  • Lightness embodies the achromatic notion of perceived intensity of a reflecting object.
  • a fourth term, brightness is used instead of lightness to refer to the perceived intensity of a self-luminous object (i.e. an object emitting rather than reflecting light), such as a light bulb, the sun or a CRT.
  • a color can be represented by means of its dominant wavelength, which corresponds to the perceptual notion of hue; excitation purity corresponds to the saturation of the color; luminance is the amount or intensity of light.
  • the excitation purity of a colored light is the proportion of pure light of the dominant wavelength and of white light needed to define the color.
  • a completely pure color is 100% saturated and thus contains no white light, whereas mixtures of a pure color and white light have saturations somewhere between 0 and 100%.
  • White light and hence gray are 0% saturated, contains no color of any dominant wavelength.
  • light is fundamentally electromagnetic energy in the 400-700 nm wavelength part of the spectrum, which is perceived as the colors from violet through indigo, blue, green, yellow and orange to red.
  • the amount of energy present at each wavelength is represented by a spectral energy distribution P( 1 ), as shown in FIG. 1.
  • FIG. 2 shows the spectral distribution of FIG. 1, illustrating such three value.
  • the dominant wavelength there is a spike of energy of level e2.
  • White light the uniform distribution of energy level e1 is also present.
  • Luminance which is proportional to the integral of the area under such curve, depends on both e1 and e2.
  • a color model is a specification of a 3D color coordinate system and a visible subset in the coordinate system within which all colors in a particular range lie.
  • the RGB (red, green, blue) color model is the unit cube subset of a 3D Cartesian coordinate system, as shown in FIG. 3.
  • RGB used with color CRT monitors
  • YIQ i.e. the broadcast TV color system that is a re-coding of RGB transmission efficiency and for downward compatibility with black and white television and CMY (cyan, magenta, yellow) for some color-printing devices.
  • CMY cyan, magenta, yellow
  • the RGB color model used in color CRT monitors and color raster graphics employs a Cartesian coordinate system.
  • the RGB primaries are additive primaries; that is the individual contributions of each primary are added together to yield the result.
  • the main diagonal of the cube, with equal amounts of each primary, represents the gray levels: black is (0,0,0); white is (1,1,1).
  • the RGB model is hardware-oriented.
  • HSV as well as HSB or HLC
  • HSV as well as HSB or HLC
  • the coordinate system is cylindrical, as shown in FIG. 4B.
  • the HSV model (like the HLC model) is easy to use.
  • the HLS color model is a reduced model obtained from the HSV cylindrical model, as shown in FIG. 6; the reduction of the color space is due to the fact that some colors cannot be saturated.
  • Such space subset is defined is a hexcone or six-sided pyramid, as shown in FIG. 7.
  • Hue or H is measured by the angle around the vertical axis with red at 0° green at 120° and so on (see FIG. 7), Complementary colors in the HSV hexcone are 180° opposite one another.
  • the value of S is a ratio ranging from 0 on the center line (V axis) to 1 on the triangular sides of the hexcone.
  • the hexcone is one unit high in V, with the apex at the origin.
  • the point at the apex is black and has a V coordinate of 0.
  • the values of H and S are irrelevant.
  • changing H corresponds to selecting the pure pigment with which to start.
  • H, S, and V correspond to concepts from the perceptive color system.
  • the top of the HSV hexcone corresponds to the projection seen by looking along the principal diagonal of the RGB color cube from white toward black, as shown in FIG. 8.
  • FIG. 9 the HLS color model, which is defined in a double-hexcone subset of the cylindrical space.
  • Hue is the angle around the vertical axis of the double hexcone, with red at 0°.
  • the colors occur around the perimeter: red, yellow, green, cyan, blue and magenta.
  • the complement of any hue is located 180° farther around the double hexcone, and saturation is measured radially from the vertical axis form 0 on the axis to 1 on the surface. Lightness is 0 for black (at the lower tip of the double hexcone) to 1 for white (at the upper tip).
  • the embedded devices have a plurality of needs which turn into tight limitations for the image processing devices themselves.
  • the image processing in an embedded environment seeks:
  • OCR Optical Characters Recognitor
  • An illustrative and not limiting example is a BW fax machine. If such device can deal only with BW data and the document contains a mixture of sparse color and BW data, the fax machine image processing device must be able to reconstruct a single BW page from the pieces of the decomposed original document.
  • An object of the present invention is to teach how to build into the system the necessary architecture which allows for image processing functionality not fixed or predetermined a priori. In this way, the functionality is not static and can be alterated just like a program running on a personal computer or on a work station.
  • Another object of the present invention is that of figuring how to provide the same level of user configurability and customization, without violating the strict requirements of the embedded market.
  • the present invention describe a dynamic image data processing pipeline which is distributed in a transparent fashion, not influencing any other component within the system using the processing device according to the present invention.
  • the invention relates to an image data processing method as defined in the enclosed claim 1.
  • the invention also relates to an image data processing device, implementing such method, as defined in the enclosed claim 12.
  • FIG. 1 shows an example of a spectral energy distribution of a color
  • FIG. 2 shows the spectral distribution of FIG. 1, illustrating dominant wavelength, excitation purity and luminance.
  • FIG. 3 shows the 3D Cartesian representation of the RGB color space, with the fundamental colors
  • FIG. 4A shows the RGB color space of FIG. 3 and the gray line within
  • FIG. 4B shows the cylindrical representation of the HSV/HLC color space
  • FIG. 5 shows a gray filter for the HSV/HLC color space
  • FIG. 6 shows the HLS color space
  • FIG. 7 shows the single-hexcone representation of HSV color space
  • FIG. 8 shows a section of FIG. 7
  • FIG. 9 shows the double-hexcone representation of the HSV color space
  • FIG. 10 shows schematically the image processing method according to the present invention
  • FIG. 11 shows schematically examples of path for the method according to the present invention.
  • FIGS. 12A, 12B and 12 C show an example of atomic operation used in the method according to the present invention and its implementation
  • FIGS. 13A, 13B and 13 C show another example of atomic operation used in the method according to the present invention and its result
  • FIGS. 14A, 14B and 14 C show another example of atomic operation used in the method according to the present invention and its implementation
  • FIG. 15 shows a particular result for the atomic operation of FIGS. 14A, 14B and 14 C;
  • FIG. 16 shows another example of atomic operation used in the method according to the present invention.
  • FIG. 17 shows another example of atomic operation used in the method according to the present invention.
  • FIGS. 18A and 18B show another example of atomic operation used in the method according to the present invention and its implementation
  • FIG. 19A shows schematically and functionally an image data processing device according to the present invention
  • FIG. 19B shows more particularly a detail of FIG. 19A.
  • FIG. 20 shows more particularly a PDF application of the method according to the present invention.
  • the basic idea underlying the present application is that of providing a processing method reducing the complexity of image processing in an undetermined fashion.
  • the idea provides also for implementing a corresponding configurable plug-&-playable embedded firmware solution.
  • the image data processing method according to the present invention comprises the following steps:
  • Examples of final devices may be printers, copiers, image systems, office applications (such as, word processors, spreadsheet, . . . ), facsimiles, OCR applications, PDF applications or the like.
  • each of these final devices has specific requirements. For example, high resolution data having no color information are required in order to perform an OCR function; instead, such color information should be contained in an output image data for a color printer. It should be noted that in the above steps 3 to 5 each sequence yields to an unique result. Moreover, the steps 6 and 7 specify, for each layer, which kind of data to process and how to process such data. Finally, step 9 creates an output layer in the specific format required by the identified device.
  • the processing method according to the present invention provide a plurality of basic functions for the digital image pixels and the combination between such functions in order to obtain the desired layer, as shown in FIG. 10.
  • an input data 1 having, for example, the form of a raster of pixels, is processed according to a first function f 1 in order to obtain a plurality of layers 2 , corresponding to different representations of the processed image data.
  • the method according to the present invention comprises a second function f 2 that select/create the desired format for the output data 3 .
  • FIG. 11 shows schematically examples for image data paths according to the proposed image data processing method.
  • the method according to the present invention is shown in terms of pipelines 4 , i.e. in term of “paths” of atomic operations to be performed on the input data 1 in order to obtain a particular output format 3 .
  • FIG. 11 shows two different output representation, LAYER 1 and LAYER 2 , obtained by means of a first, PATH 1 , and a second data path, PATH 2 .
  • Image based segmentation and analysis involves the classification of unique data features in input data. This data is viewed and processed as separate entities, without any relationship between the features and the input image being maintained.
  • the present invention expands upon the traditional processing viewpoint of image segmentation through the introduction of meta-level representation that corresponds to the relationship between layers. Layers become a logical meta-level viewport or window into the input data.
  • a single input data source contains all content for the image, but carries no meta-level information as to how that data can be extracted, viewed or manipulated. For example, if the input image is requested for OCR'able content, the baseline image is incapable of delivering the data necessary for the OCR engine. If the input image is requested for color image data content, the baseline input image is unable to extract the necessary information that conveys the image content only. This knowledge is traditionally maintained in the algorithms or hard coded application; it is not flexible and independent of the application itself.
  • layers carry a cognitive or meta-level knowledge that allows for the mapping mechanism necessary to create and generate the proper data view required by each layer. This concept moves from a single flat raster view to a rich multi-layer view where each layer has a different perspective upon the underlying baseline layer, and can be processed independent or dependent upon other layers. These layers can be defined to process output optimal for a destination device if so designed and specified.
  • the first layer is the baseline input source image.
  • the second layer is the knowledge necessary to create the perspective of monochrome content only.
  • the third layer is the meta-level information necessary to create the view for color data content.
  • the fourth layer contains the knowledge for the relationship between layers 2 & 3 and how they are related mutually exclusive of each other.
  • the final layer captures the perspective of how the data is extracted from each appropriate layer to create the final representation optimal for the output device.
  • the pipelines or paths define the sequence of atomic operations to be performed on the input image data 1 .
  • Such atomic operations which are individually known in the field of image data processing, can be grouped together to generate a plurality of IP (Image Processing) tools.
  • IP Image Processing
  • the IP tools comprise:
  • compression functions for example, the G4 or JPEG compression method
  • FIG. 12A is shown the image process of re-mapping, highly used in the field of photos processing. Since the content of data of an image histogram is usually concentrated approximately in the first 60% portion of such image histogram, the information contained in such portion are distributed or re-scaled over the all image data space in order to increase the useful information data.
  • FIG. 12B shows schematically an implementation of the above re-mapping process, called re-mapping architecture 5 .
  • the re-mapping architecture 5 comprises a RGB to HLS converter 6 , connected to an HLS to RGB converter 9 , by means of a series of an HLS filter 7 and a stretch block 8 .
  • a re-mapping architecture 5 ′ comprises a RGB to HLS converter 6 ′ having an H, L, and S output channels.
  • the L channel is connected to series of an HLS filter 7 ′ and a stretch block 8 ′.
  • the re-mapping architecture 5 ′ further comprises an HLS to RGB converter 9 ′ receiving the H and S channel as outputted from the RGB to HLS converter 6 ′ and the L channel as processed by means of the HLS filter 7 ′ and the stretch block 8 ′.
  • FIGS. 13A to 13 C The halftone approximation is shown in FIGS. 13A to 13 C. It is pointed out that many displays and hardcopy devices are bilevel—they produce just two intensity levels—and even 2—or 3—bit-per-pixel raster displays produce fewer intensity levels than desired.
  • the range of available intensities can be expanded on the basis of the spatial integration that human's eyes perform. If anyone views a very small area from a sufficiently large viewing distance, his eyes average fine detail within the small area and record only the overall intensity of the area.
  • Graphics output devices can approximate the variable-area circles of halftone reproduction. For example, a 2*2 pixel area of a bilevel display can be used to produce five different intensity levels at the cost of halving the spatial resolution along each axis.
  • the patterns shown in FIG. 13B can be used to fill the 2*2 areas with the number of ON pixel that is proportional to the desired intensity.
  • FIG. 13C shows a face digitized as a 351*351 image array and displayed with 2*2 patterns.
  • Another image data processing comprises a down sampling and thresholding of the data.
  • the image data are down sampled.
  • the down sampling algorithm can be performed in various ways that all have a different effect on the performance of the algorithm. If down sampling by taking the average value in a neighborhood is used, a lot of document (small regions of color due to the printing process for e.g.) and scanner noise (jitter on the RGB signal) can be eliminated.
  • an up/down sampling algorithm which raise/reduce the image dimensions, can be used.
  • the down sampled image data are then selected by means of a threshold, so obtaining an image having a pixels format without the spike noise (FORMAT 2 ).
  • the output data are considered ON if colorfulness of the input image pixel is above the threshold and OFF if it is lower than the threshold.
  • the simplest case consists in applying a fixed threshold.
  • the output of this stage is a down sampled version of the original image that has ON pixels in those regions where the color content of the original image were above the color threshold.
  • a rule for the colorfulness indicator can be considered. For example, evaluating the ON/OFF states of a particular pixel PX as well as the right RP and left pixel LP, the following rule can be applied: left pixel LP pixel PX right pixel RP result ON ON ON colorfull OFF OFF OFF no color.
  • a low resolution display does not need to receive a 16 billion color image data, since such device have no possibility of elaborating and displaying this kind of complex image data.
  • An image data forwarded to a low resolution display can be obtained by means of particular thresholding values by limiting the number of available colors, e.g. filtering pale colors and transforming then into white or “clustering” different type of “reds” in order to have only one “red”.
  • An example of an acceptable range for the threshold values is 0 to 30 for an input image data of 0 to 255.
  • the more complex case accumulates a histogram of the color content of the page and, using a heuristic, decides what the best threshold for the page is.
  • the color information of single small groups of pixels can be further grouped together using known simple grouping techniques.
  • the grouping step is performed on data of connected components, as shown in FIG. 14A (FORMAT 3 ).
  • This has the advantage of grouping regions of pixels that are considered colorful into bigger group. In this way, when the regions of colorful pixels are compressed (in a later stage), not every pixel has to be compressed singularly. The compression of a larger group of pixels is more efficient than the singular compression of each single colorful region.
  • the grouping of pixels also has the advantage of enabling the elimination of small groups of pixels that are still considered to be due to noise, or in any case, of insignificant size.
  • FIG. 14C shows a down sampling/thresholding/grouping device 10 .
  • the first component is an RGB to Chroma space converter 11 . It converts, on a pixel by pixel basis, the color representation of every input pixel into a different color space representation.
  • the RGB color space has been found not very convenient for this type of analysis.
  • the color space used should have an indication of the colorfulness of the specific pixel.
  • the HLN (Hue/Lightness/N??) color space was found particularly convenient and is used in the current realization.
  • the down sampling/thresholding/grouping device 10 further comprises a down sampler 12 , that down samples the N channel, and a thresholding device 13 , in turn comprising a threshold selector 14 and a look-up-table LUT 15 which apply a threshold to the down sampled data.
  • the output data is considered ON if colorfulness of the input image pixel is above the threshold and OFF if it is lower than the threshold.
  • the color information of single small groups of pixels can be further grouped together by means of a grouping block 16 , using known simple grouping techniques on data of connected components, in order to improve the compression of the image data and eliminate small groups of pixels that are still considered to be due to noise, or in any case, of insignificant size.
  • a HLS to RGB converter (not shown in FIG. 14C) can also be added to the down sampling/thresholding/grouping device 10 in order to obtain RGB output data.
  • a simple grouping procedure called blobbing can be used in order to extract the images from a document, as shown in FIG. 16, where the blobbed regions should correspond to the images of the document.
  • a further useful atomic operation on image data is the AND function, shown schematically in FIG. 17.
  • the singular images in the processed document can be separated by means of an AND function of such data and a mask, duly created on the basis of the following relationships:
  • IMAGE 1 and IMAGE 2 can be described as regions, identified by coordinates and dimensions.
  • a sub-mask can be associated to each region to filter significant and insignificant data, as shown schematically in dotted lines in FIG. 16.
  • FIG. 18B shows schematically a filter 17 , according to the above filtering function.
  • the filter 17 comprises a RGB to HLS converter 18 , connected to an HLS gray filter 19 and to a HLS to RGB converter 20 .
  • a multi-layer representation is obtained.
  • output data having any kind of format are obtained.
  • a configurable image processing device 21 according to the present invention comprises three major subsystems:
  • the device provide for transformations of image data, connections between the transforming units, and independent data representation.
  • transforms process data in a context independent fashion, that being there is not implied knowledge coupled between transforms influencing the means of process data.
  • transforms support multiple input and output capabilities through a port mechanism.
  • transforms perform atomic operations on the data presented through a packet mechanism.
  • ports provide a communication protocol between processing units.
  • the actual port protocol ranges from direct function call invocation, to operating system message queue/mail box protocols, to remote procedure invocations, as well as http links.
  • packets provide the encapsulation of data.
  • Data can represent actual image data in a variety of different formats, histogram information, compression data, local grouping of data without requiring any impact to other components.
  • data By isolating the data into the packet mechanism data can be represented in the most efficient fashion for transportation or transformation without impacting either the transforming units or the means of data transportation.
  • the configurable image processing device 21 and its three major subsystems isolate the means whereby data is transported around the system. By doing so, an image data processing pipeline is distributed in a transparent fashion, not influencing any other component within the image processing system.
  • the configurable image processing device 21 select a particular group of atomic operations to be performed on the basis of the final device receiving the output data. By doing so, the device “create” a specific pipeline providing the required transformation of data.
  • FIG. 19A A functional and schematic representation of the configurable image processing device 21 is shown in FIG. 19A.
  • the device 21 comprise a selector 22 of the particular group of atomic operations for a final device and a pipeline 23 , that establishes the order and links between such atomic operations.
  • FIG. 19A is also shown a final reconstruction block 24 , that process the results of the selector 22 and the pipeline 23 in order to obtain the desired output layer of data.
  • the pipeline 23 can also comprise sub-pipelines, in a more and more complicated structure, as shown in FIG. 19B.
  • each pipeline generates a layer, i.e. a specific data organization.
  • a layer i.e. a specific data organization.
  • pipelines are created through a meta-data level of knowledge. Since a pipeline itself is an independent structure of different atomic operations and their links, there is no inherent knowledge incorporate in the hardware components of the image data processing device to convey the meaning/context of how the pipeline is to be applied.
  • a data processor 24 for obtaining processed color and BW layers is shown more precisely in FIG. 20.
  • the data processor 24 has an input IN that receives the raster image data, for example in the RGB format, and is connected to a dual path layer creator component 25 , which in turn outputs a first and a second layer, such layers having different data compression rate.
  • the first layer is inputted in a BW path 26 that outputs a processed BW layer.
  • the second layer is inputted in a color path 27 that outputs a processed color layer.
  • the processed BW and color layers are finally inputted in a PDF device 28 .
  • the BW path 26 comprises a threshold block 29 connected in series to a compressor 30 .
  • a G 4 compression is often used in the field of BW image data processing.
  • the color path 27 comprises a RGB to HLN converter 31 , having the output N channel connected to a series of a down scale device 32 , an histogram and threshold selector 33 , a look-up-table 34 , a blob analysis block 35 , a fill regions block 36 and a compressor 37 .
  • a JPEG compression is often used in the field of color image data processing.
  • the configurable image processing device is platform independent as it can also operate on a personal computer or in a work station environment.
  • the dynamic pipeline is completely self-contained, and its representation can be saved in whole or in part, so that context/state can be saved/replayed.
  • New transformations can be added after the product has been shipped through special code extending applet transform.

Abstract

The invention relates to an image data processing method receiving an input image data split in elementary units of information and providing an output image data with a particular image format depending on the requirements of a final device that receives such output image data by means of the following steps: identification of the final device that receives the output data; getting an input image data; from a repository of basic imaging operation, selecting a plurality of operations to be performed on the input image data; creating a sequence of operations that links and ordinate the plurality of operations; applying the sequence to the input image data to create a plurality of layers of organized data of said input image data; assembling said plurality of layers into at least an output layer which best fit the requirements of the identified final device; and sending the assembled output layer to the identified final device. The invention also relates to a configurable image processing device to read and output an image data in accord with a particular output format depending on a final device that receives the output image data.

Description

    FIELD OF THE INVENTION
  • The present invention relates to a processing method and, more particularly, to an image data processing method receiving an input image data splitted into elementary unit of information to be used in embedded applications. [0001]
  • The present invention also relates to an image data processing device implementing such image data processing method. [0002]
  • BACKGROUND OF THE INVENTION
  • As is well known in the technical field of image processing, during its life an image is processed by a plurality of electronic devices, that create, acquire, display store, read and write the image itself. [0003]
  • The image data processing device, and the corresponding processing method deal with an image acquired by means of an image acquisition device, for example a scanner. [0004]
  • The image data so obtained are usually organized into a raster of pixels, each pixels providing an elementary image information. [0005]
  • In other words, images are, at the most basic level, arrays of digital values, where a value is a collection of numbers describing the attributes of a pixel in the image. For example, in bitmaps, the above mentioned values are single binary digits. [0006]
  • Often, these numbers are fixed-point representation of a range of real number; for example, the [0007] integers 0 through 255 are often used to represent the numbers from 0.0 to 1.0. Often too, these numbers represent the intensity at a point of the image (gray scale) or the intensity of one color component at that point.
  • An important distinction has to be made in the images to be processed between achromatic and colored images. [0008]
  • In fact, achromatic light has only one attribute, which is the quantity of light. This attribute can be discussed in the physic sense of energy, in which case the terms intensity and luminance are used, or in the psychological sense of perceived intensity, in which case the term brightness is used. [0009]
  • It is useful to associate a scale with different intensity levels, for instance defining 0 as black and 1 as white; intensity levels between 0 and 1 represent different levels of grays. [0010]
  • The visual sensations caused by colored light are much more richer than those caused by achromatic light. Discussion on color perception usually involves three quantities, known as: hue, saturation and lightness. [0011]
  • 1. Hue distinguishes among colors such as red, green, purple and yellow. [0012]
  • 2. Saturation refers to how far a color is from a gray of equal intensity. Red is highly saturated; pink is relatively unsaturated; royal blue is highly saturated; sky blue is relatively unsaturated. Pastel colors are relatively unsaturated; unsaturated colors include more white light than do the vivid, saturated colors. [0013]
  • 3. Lightness embodies the achromatic notion of perceived intensity of a reflecting object. [0014]
  • A fourth term, brightness, is used instead of lightness to refer to the perceived intensity of a self-luminous object (i.e. an object emitting rather than reflecting light), such as a light bulb, the sun or a CRT. [0015]
  • The above mentioned features of colors seem to be subjective: they depend on human observers' judgment. In reality, the branch of physics known as colorimetry provides for an objective and quantitative way of specifying colors, which can be correlated to the above perceptual classification. [0016]
  • A color can be represented by means of its dominant wavelength, which corresponds to the perceptual notion of hue; excitation purity corresponds to the saturation of the color; luminance is the amount or intensity of light. The excitation purity of a colored light is the proportion of pure light of the dominant wavelength and of white light needed to define the color. [0017]
  • A completely pure color is 100% saturated and thus contains no white light, whereas mixtures of a pure color and white light have saturations somewhere between 0 and 100%. White light and hence gray are 0% saturated, contains no color of any dominant wavelength. [0018]
  • Furthermore, light is fundamentally electromagnetic energy in the 400-700 nm wavelength part of the spectrum, which is perceived as the colors from violet through indigo, blue, green, yellow and orange to red. The amount of energy present at each wavelength is represented by a spectral energy distribution P([0019] 1), as shown in FIG. 1.
  • The visual effect of any spectral distribution can be described by means of three values, i.e. the dominant wavelength, the excitation purity, and the luminance. FIG. 2 shows the spectral distribution of FIG. 1, illustrating such three value. In particular, it should be noted that at the dominant wavelength there is a spike of energy of level e2. White light, the uniform distribution of energy level e1 is also present. [0020]
  • The excitation purity depends on the relation between e1 and e2: when e1=e2, excitation purity is 0%; when e1=0, excitation purity is 100%. [0021]
  • Luminance, which is proportional to the integral of the area under such curve, depends on both e1 and e2. [0022]
  • A color model is a specification of a 3D color coordinate system and a visible subset in the coordinate system within which all colors in a particular range lie. For instance, the RGB (red, green, blue) color model is the unit cube subset of a 3D Cartesian coordinate system, as shown in FIG. 3. [0023]
  • More specifically, three hardware-oriented color models are RGB, used with color CRT monitors, YIQ, i.e. the broadcast TV color system that is a re-coding of RGB transmission efficiency and for downward compatibility with black and white television and CMY (cyan, magenta, yellow) for some color-printing devices. Unfortunately none of these models are particularly easy to use because they do not relate directly to intuitive color notions of hue, saturation, and brightness. Therefore, another class of models has been developed with ease of use as a goal, such as the HSV (hue, saturation, value)—sometimes called HSB (hue, saturation, brightness), HLS (hue, lightness, saturation) and HVC (hue, value, chroma) models. [0024]
  • With each model is also given a means of converting to some other specification. [0025]
  • As stated above, the RGB color model used in color CRT monitors and color raster graphics employs a Cartesian coordinate system. The RGB primaries are additive primaries; that is the individual contributions of each primary are added together to yield the result. The main diagonal of the cube, with equal amounts of each primary, represents the gray levels: black is (0,0,0); white is (1,1,1). [0026]
  • Following such gray line implies the change of the three Cartesian value R, G and B at the same time, as shown with a point-dotted line in FIG. 4A; this situation weights the computational charge of the image processing steps requiring the individuation of gray regions. [0027]
  • The RGB model is hardware-oriented. By contrast HSV (as well as HSB or HLC) model is user-oriented, being based on the intuitive appeal of the artist's tint, shade, and tone. The coordinate system is cylindrical, as shown in FIG. 4B. [0028]
  • The HSV model (like the HLC model) is easy to use. The grays all have S=0 and they can be removed from an image data raster by means of a cylindrical filter in proximity of the V axes, as shown in FIG. 5; moreover, the maximally saturated hues are at S=1, L=0.5. [0029]
  • The HLS color model is a reduced model obtained from the HSV cylindrical model, as shown in FIG. 6; the reduction of the color space is due to the fact that some colors cannot be saturated. Such space subset is defined is a hexcone or six-sided pyramid, as shown in FIG. 7. The top of the hexcone corresponds to V=1 which contains the relatively bright colors. The colors of the V=1 plane are not all of the same perceived brightness however. [0030]
  • Hue or H, is measured by the angle around the vertical axis with red at 0° green at 120° and so on (see FIG. 7), Complementary colors in the HSV hexcone are 180° opposite one another. The value of S is a ratio ranging from 0 on the center line (V axis) to 1 on the triangular sides of the hexcone. [0031]
  • The hexcone is one unit high in V, with the apex at the origin. The point at the apex is black and has a V coordinate of 0. At this point, the values of H and S are irrelevant. The point S=0, V=1 is white. Intermediate values of V or S=0 (on the center line) are the grays. It is therefore immediately apparent the simplicity of use of the HSV or equivalent color space in order to obtain the gray regions. [0032]
  • Adding a white pigment corresponds to decreasing S (without changing V). Shades are created by keeping S=1 and decreasing V. Tones are created by decreasing both S and V. Of course, changing H corresponds to selecting the pure pigment with which to start. Thus, H, S, and V correspond to concepts from the perceptive color system. [0033]
  • The top of the HSV hexcone corresponds to the projection seen by looking along the principal diagonal of the RGB color cube from white toward black, as shown in FIG. 8. [0034]
  • In FIG. 9 is shown the HLS color model, which is defined in a double-hexcone subset of the cylindrical space. Hue is the angle around the vertical axis of the double hexcone, with red at 0°. The colors occur around the perimeter: red, yellow, green, cyan, blue and magenta. The HLS space can be considerated as a deformation of HSV space, in which white is pulled upward to form the upper hexcone from the V=1 plane. As with the single-hexcone model, the complement of any hue is located 180° farther around the double hexcone, and saturation is measured radially from the [0035] vertical axis form 0 on the axis to 1 on the surface. Lightness is 0 for black (at the lower tip of the double hexcone) to 1 for white (at the upper tip).
  • Many hardware and software packages are currently available in the technical field of the electronic image processing which provide for image data processing methods and corresponding devices. However, it should be noted that the Applicant is not aware of any package capable of operating in both the personal computer/work station field as well as in the embedded devices field. [0036]
  • In fact, the embedded devices have a plurality of needs which turn into tight limitations for the image processing devices themselves. Particularly, the image processing in an embedded environment seeks: [0037]
  • to reduce the size of the image data in order to limit the memory area employed by the image data processing devices; [0038]
  • to increase the amount of any text portion comprised in a document that can be OCR'able, i.e. it should be possible to acquire and understand such portion by means of an Optical Characters Recognitor (OCR); [0039]
  • to get as final result of the image data processing device an image viewable and printable, which is close to the original acquired image. [0040]
  • Known document analysis that tried to fit the above requirements have the problem of being computationally very heavy and not suited for embedded applications where processing power and memory requirements are stringent and important. [0041]
  • So, even if these solutions may perform an acceptable analysis of the document, they are not applicable in an embedded environment. [0042]
  • The main purpose of the known document analysis is the extraction of features and the classification of text and images in the analyzed documents. Examples of analysis used in this technical field are known from the publication “Document Image Analysis” to L. O'Gorman and R. Kasturi, IEEE Computer Society Press, which is a collection of all the most relevant papers regarding document analysis. [0043]
  • All the known approaches deal with the recognition of different types of areas on a page. The areas are normally classified into regions of text, photo and line art. The page is then divided into these different areas (normally in a mutually exclusive way) and each is treated in a different way. In other terms, the known document analysis deal with understanding the “type” of information that is on the page. [0044]
  • These solutions tend to sub-divide the page into mutually exclusive regions that contain different type of information. [0045]
  • Other known devices deal with decomposed documents, i.e. documents translated into a plurality of elementary image information called pixels. Such devices provide a treatment of the decomposed document as a whole, or at least are able to reconstruct the information they need from the input document format. [0046]
  • An illustrative and not limiting example is a BW fax machine. If such device can deal only with BW data and the document contains a mixture of sparse color and BW data, the fax machine image processing device must be able to reconstruct a single BW page from the pieces of the decomposed original document. [0047]
  • A known way to comply with the embedded environment requirements leads to peripheral devices that support only the specified features of a particular product; that is how cost and performance are satisfied. [0048]
  • An object of the present invention is to teach how to build into the system the necessary architecture which allows for image processing functionality not fixed or predetermined a priori. In this way, the functionality is not static and can be alterated just like a program running on a personal computer or on a work station. [0049]
  • Starting from the image processing devices basic requirements, several known solution packages propose a “plug and play” capability of components. Unfortunately, these known solutions do not offer the speed or flexibility in order to operate within an embedded environment. [0050]
  • Moreover, all of the known processing devices suffer large execution footprints, large memory needs, and a code data space that exceeds the ties of the embedded application. [0051]
  • So, another object of the present invention is that of figuring how to provide the same level of user configurability and customization, without violating the strict requirements of the embedded market. [0052]
  • SUMMARY OF THE INVENTION
  • The solution idea behind this invention is that of isolating the means whereon data are transported around the system. [0053]
  • More particularly, the present invention describe a dynamic image data processing pipeline which is distributed in a transparent fashion, not influencing any other component within the system using the processing device according to the present invention. [0054]
  • It should be noted that, unlike a series of plugs components or a series of small executables that are chained together to form the pipeline, the present solution focuses in making small atomic operations that function independent of any context. [0055]
  • According to this solution idea, the invention relates to an image data processing method as defined in the [0056] enclosed claim 1.
  • The invention also relates to an image data processing device, implementing such method, as defined in the [0057] enclosed claim 12.
  • The features and advantages of the image data processing method and device according to the invention will be appreciated by the following description of a preferred embodiment given by way of non-limiting examples with reference to the annexed drawings.[0058]
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 shows an example of a spectral energy distribution of a color; [0059]
  • FIG. 2 shows the spectral distribution of FIG. 1, illustrating dominant wavelength, excitation purity and luminance. [0060]
  • FIG. 3 shows the 3D Cartesian representation of the RGB color space, with the fundamental colors; [0061]
  • FIG. 4A shows the RGB color space of FIG. 3 and the gray line within; [0062]
  • FIG. 4B shows the cylindrical representation of the HSV/HLC color space; [0063]
  • FIG. 5 shows a gray filter for the HSV/HLC color space; [0064]
  • FIG. 6 shows the HLS color space; [0065]
  • FIG. 7 shows the single-hexcone representation of HSV color space; [0066]
  • FIG. 8 shows a section of FIG. 7; [0067]
  • FIG. 9 shows the double-hexcone representation of the HSV color space; [0068]
  • FIG. 10 shows schematically the image processing method according to the present invention; [0069]
  • FIG. 11 shows schematically examples of path for the method according to the present invention; [0070]
  • FIGS. 12A, 12B and [0071] 12C show an example of atomic operation used in the method according to the present invention and its implementation;
  • FIGS. 13A, 13B and [0072] 13C show another example of atomic operation used in the method according to the present invention and its result;
  • FIGS. 14A, 14B and [0073] 14C show another example of atomic operation used in the method according to the present invention and its implementation;
  • FIG. 15 shows a particular result for the atomic operation of FIGS. 14A, 14B and [0074] 14C;
  • FIG. 16 shows another example of atomic operation used in the method according to the present invention; [0075]
  • FIG. 17 shows another example of atomic operation used in the method according to the present invention; [0076]
  • FIGS. 18A and 18B show another example of atomic operation used in the method according to the present invention and its implementation; [0077]
  • FIG. 19A shows schematically and functionally an image data processing device according to the present invention; [0078]
  • FIG. 19B shows more particularly a detail of FIG. 19A. [0079]
  • FIG. 20 shows more particularly a PDF application of the method according to the present invention.[0080]
  • DETAILED DESCRIPTION OF THE INVENTION
  • The basic idea underlying the present application is that of providing a processing method reducing the complexity of image processing in an undetermined fashion. The idea provides also for implementing a corresponding configurable plug-&-playable embedded firmware solution. [0081]
  • The image data processing method according to the present invention comprises the following steps: [0082]
  • 1. Identification of a final device which receives the output data, in terms of its requirements. [0083]
  • 2. Get a color image input data a pixels raster format. [0084]
  • 3. Select a group of basic operations to be performed on said image data. [0085]
  • 4. Create a sequence that links and ordinate said basic operations. [0086]
  • 5. Apply the above predetermined sequence to the input image data. [0087]
  • 6. Create a plurality of layers of organized meta-level data. [0088]
  • 7. Assemble at least an output layer which is optimal for the identified device. [0089]
  • 8. Send each assembled output layer to the identified device. [0090]
  • Examples of final devices may be printers, copiers, image systems, office applications (such as, word processors, spreadsheet, . . . ), facsimiles, OCR applications, PDF applications or the like. [0091]
  • Each of these final devices has specific requirements. For example, high resolution data having no color information are required in order to perform an OCR function; instead, such color information should be contained in an output image data for a color printer. It should be noted that in the [0092] above steps 3 to 5 each sequence yields to an unique result. Moreover, the steps 6 and 7 specify, for each layer, which kind of data to process and how to process such data. Finally, step 9 creates an output layer in the specific format required by the identified device.
  • In other terms, the processing method according to the present invention provide a plurality of basic functions for the digital image pixels and the combination between such functions in order to obtain the desired layer, as shown in FIG. 10. [0093]
  • According to this figure, an [0094] input data 1, having, for example, the form of a raster of pixels, is processed according to a first function f1 in order to obtain a plurality of layers 2, corresponding to different representations of the processed image data.
  • Moreover, the method according to the present invention comprises a second function f[0095] 2 that select/create the desired format for the output data 3.
  • FIG. 11 shows schematically examples for image data paths according to the proposed image data processing method. Particularly, in FIG. 11 the method according to the present invention is shown in terms of [0096] pipelines 4, i.e. in term of “paths” of atomic operations to be performed on the input data 1 in order to obtain a particular output format 3. More particularly, FIG. 11 shows two different output representation, LAYER1 and LAYER2, obtained by means of a first, PATH1, and a second data path, PATH2.
  • Image based segmentation and analysis involves the classification of unique data features in input data. This data is viewed and processed as separate entities, without any relationship between the features and the input image being maintained. [0097]
  • The present invention expands upon the traditional processing viewpoint of image segmentation through the introduction of meta-level representation that corresponds to the relationship between layers. Layers become a logical meta-level viewport or window into the input data. [0098]
  • For example, a single input data source contains all content for the image, but carries no meta-level information as to how that data can be extracted, viewed or manipulated. For example, if the input image is requested for OCR'able content, the baseline image is incapable of delivering the data necessary for the OCR engine. If the input image is requested for color image data content, the baseline input image is unable to extract the necessary information that conveys the image content only. This knowledge is traditionally maintained in the algorithms or hard coded application; it is not flexible and independent of the application itself. [0099]
  • Indeed, layers carry a cognitive or meta-level knowledge that allows for the mapping mechanism necessary to create and generate the proper data view required by each layer. This concept moves from a single flat raster view to a rich multi-layer view where each layer has a different perspective upon the underlying baseline layer, and can be processed independent or dependent upon other layers. These layers can be defined to process output optimal for a destination device if so designed and specified. [0100]
  • Take for example the process of creating two overlapping images from a single flat raster structure. One could conceive of a requirement where image content that is monochrome is to be processed mutually exclusive of image content that is color. Furthermore, the two different images are to be processed with different resolutions, pixel bit depth, compression methods, to mention a few. Traditional methods would separate the two processes, generating different intermediates, and later figuring out how to combine and weave the intermediates into a single artefact for some destination or other purpose. [0101]
  • With layers, one can conceive a meta-level view that sees the flat input raster image one of the components of a 5 layer representation. The first layer is the baseline input source image. The second layer is the knowledge necessary to create the perspective of monochrome content only. The third layer is the meta-level information necessary to create the view for color data content. The fourth layer contains the knowledge for the relationship between [0102] layers 2 & 3 and how they are related mutually exclusive of each other. The final layer captures the perspective of how the data is extracted from each appropriate layer to create the final representation optimal for the output device.
  • This differs from traditional means, whom view the source data as a flat structure and the relationship between data is captured in the application or hardcoded into a specific algorithm. Given layers, into the baseline flat image source data, one can extract any given portion of a layer. From layers, one can obtain meaningful content that may or may not have any resemblance to the original source, but has meta-level connection between the layers that create the final perspective for how that data is to be processed and represented at the output destination in a flexible fashion. [0103]
  • The pipelines or paths define the sequence of atomic operations to be performed on the [0104] input image data 1. Such atomic operations, which are individually known in the field of image data processing, can be grouped together to generate a plurality of IP (Image Processing) tools.
  • The IP tools comprise: [0105]
  • a transformation of an image pixel from the RGB format to another image space format, for example the HLS (or HLN, for hue, lightness, chroma indicator N) format; [0106]
  • a grouping function that associates elementary unit of information in order to obtain an unique information group to be processed, as the blobbing technique; [0107]
  • scalars processes that change the image dimensions; [0108]
  • a down sampling function; [0109]
  • a thresholding function; [0110]
  • a split and merge data function; [0111]
  • encoder functions; [0112]
  • an AND/OR and other data extraction function; [0113]
  • compression functions (for example, the G4 or JPEG compression method); [0114]
  • a half-tone approximation; [0115]
  • data format readers and writers; [0116]
  • a re-mapping or stretching function; [0117]
  • a filtering function. [0118]
  • In FIG. 12A is shown the image process of re-mapping, highly used in the field of photos processing. Since the content of data of an image histogram is usually concentrated approximately in the first 60% portion of such image histogram, the information contained in such portion are distributed or re-scaled over the all image data space in order to increase the useful information data. [0119]
  • FIG. 12B shows schematically an implementation of the above re-mapping process, called [0120] re-mapping architecture 5. The re-mapping architecture 5 comprises a RGB to HLS converter 6, connected to an HLS to RGB converter 9, by means of a series of an HLS filter 7 and a stretch block 8.
  • More precisely, the re-mapping process deals only with the L channel, i.e. the lightness information, as shown in FIG. 12C, in which a [0121] re-mapping architecture 5′ comprises a RGB to HLS converter 6′ having an H, L, and S output channels. The L channel is connected to series of an HLS filter 7′ and a stretch block 8′. The re-mapping architecture 5′ further comprises an HLS to RGB converter 9′ receiving the H and S channel as outputted from the RGB to HLS converter 6′ and the L channel as processed by means of the HLS filter 7′ and the stretch block 8′.
  • The halftone approximation is shown in FIGS. 13A to [0122] 13C. It is pointed out that many displays and hardcopy devices are bilevel—they produce just two intensity levels—and even 2—or 3—bit-per-pixel raster displays produce fewer intensity levels than desired. The range of available intensities can be expanded on the basis of the spatial integration that human's eyes perform. If anyone views a very small area from a sufficiently large viewing distance, his eyes average fine detail within the small area and record only the overall intensity of the area.
  • This phenomenon is exploited in printing black-and-white photographs in newspapers, magazines, and books, in the technique called halftoning (also called “cluster-dot ordered dither” in computer graphics). Each small resolution unit is imprinted with a circle of black ink whose area is proportional to the [0123] blackness 1−I (where I is the intensity) of the area in the original photograph. FIG. 13A shows part of a halftone pattern, greatly enlarged. Note that the pattern makes a 45° angle with the horizontal, called the screen angle.
  • Graphics output devices can approximate the variable-area circles of halftone reproduction. For example, a 2*2 pixel area of a bilevel display can be used to produce five different intensity levels at the cost of halving the spatial resolution along each axis. The patterns shown in FIG. 13B can be used to fill the 2*2 areas with the number of ON pixel that is proportional to the desired intensity. FIG. 13C shows a face digitized as a 351*351 image array and displayed with 2*2 patterns. [0124]
  • Another image data processing comprises a down sampling and thresholding of the data. In particular, as shown in FIG. 14A, once the colorfulness of each pixel has been calculated and extracted from the input data (FORMAT [0125] 1), the image data are down sampled.
  • The down sampling algorithm can be performed in various ways that all have a different effect on the performance of the algorithm. If down sampling by taking the average value in a neighborhood is used, a lot of document (small regions of color due to the printing process for e.g.) and scanner noise (jitter on the RGB signal) can be eliminated. [0126]
  • More generally, an up/down sampling algorithm, which raise/reduce the image dimensions, can be used. [0127]
  • The down sampled image data are then selected by means of a threshold, so obtaining an image having a pixels format without the spike noise (FORMAT [0128] 2). In fact, the output data are considered ON if colorfulness of the input image pixel is above the threshold and OFF if it is lower than the threshold.
  • The simplest case consists in applying a fixed threshold. The output of this stage is a down sampled version of the original image that has ON pixels in those regions where the color content of the original image were above the color threshold. Moreover, a rule for the colorfulness indicator can be considered. For example, evaluating the ON/OFF states of a particular pixel PX as well as the right RP and left pixel LP, the following rule can be applied: [0129]
    left pixel LP pixel PX right pixel RP result
    ON ON ON colorfull
    OFF OFF OFF no color.
  • Moreover, different threshold values can be considerated with reference to different final devices. [0130]
  • For example, a low resolution display does not need to receive a 16 billion color image data, since such device have no possibility of elaborating and displaying this kind of complex image data. An image data forwarded to a low resolution display can be obtained by means of particular thresholding values by limiting the number of available colors, e.g. filtering pale colors and transforming then into white or “clustering” different type of “reds” in order to have only one “red”. [0131]
  • An example of an acceptable range for the threshold values is 0 to 30 for an input image data of 0 to 255. [0132]
  • The more complex case accumulates a histogram of the color content of the page and, using a heuristic, decides what the best threshold for the page is. [0133]
  • The color information of single small groups of pixels can be further grouped together using known simple grouping techniques. The grouping step is performed on data of connected components, as shown in FIG. 14A (FORMAT [0134] 3). This has the advantage of grouping regions of pixels that are considered colorful into bigger group. In this way, when the regions of colorful pixels are compressed (in a later stage), not every pixel has to be compressed singularly. The compression of a larger group of pixels is more efficient than the singular compression of each single colorful region.
  • The grouping of pixels also has the advantage of enabling the elimination of small groups of pixels that are still considered to be due to noise, or in any case, of insignificant size. [0135]
  • The whole procedure that has been depicted can also be performed on a strip basis on the whole original image, without any modification, as shown in FIG. 14B. Strip based analysis produces a nice side effect on the grouping of pixels. In fact, if the grouping of pixels is performed on a strip basis, the grouping of pixels enables an approximation of the contour of colored regions, as shown in FIG. 15. [0136]
  • FIG. 14C shows a down sampling/thresholding/[0137] grouping device 10. The first component is an RGB to Chroma space converter 11. It converts, on a pixel by pixel basis, the color representation of every input pixel into a different color space representation.
  • When the aim is making decisions on the colorfulness of a pixel, using the right color space representation is important. [0138]
  • The RGB color space has been found not very convenient for this type of analysis. The color space used should have an indication of the colorfulness of the specific pixel. The HLN (Hue/Lightness/N??) color space was found particularly convenient and is used in the current realization. [0139]
  • The indication of Chroma, in this HLN color space, is directly the content of the N channel, where N=max (R,G,B)−min (R,G,B). [0140]
  • The down sampling/thresholding/[0141] grouping device 10 further comprises a down sampler 12, that down samples the N channel, and a thresholding device 13, in turn comprising a threshold selector 14 and a look-up-table LUT 15 which apply a threshold to the down sampled data.
  • The output data is considered ON if colorfulness of the input image pixel is above the threshold and OFF if it is lower than the threshold. [0142]
  • Moreover, the color information of single small groups of pixels can be further grouped together by means of a [0143] grouping block 16, using known simple grouping techniques on data of connected components, in order to improve the compression of the image data and eliminate small groups of pixels that are still considered to be due to noise, or in any case, of insignificant size.
  • It should be noted that a HLS to RGB converter (not shown in FIG. 14C) can also be added to the down sampling/thresholding/[0144] grouping device 10 in order to obtain RGB output data.
  • A simple grouping procedure called blobbing can be used in order to extract the images from a document, as shown in FIG. 16, where the blobbed regions should correspond to the images of the document. [0145]
  • A further useful atomic operation on image data is the AND function, shown schematically in FIG. 17. In particular, after the recognition of the colorfulness content of each pixel and the blobbing of the image data, the singular images in the processed document can be separated by means of an AND function of such data and a mask, duly created on the basis of the following relationships: [0146]
  • RGB AND WHITE=RGB [0147]
  • RGB AND BLACK=BLACK. [0148]
  • IMAGE[0149] 1 and IMAGE2 can be described as regions, identified by coordinates and dimensions.
  • A sub-mask can be associated to each region to filter significant and insignificant data, as shown schematically in dotted lines in FIG. 16. [0150]
  • Finally, another known atomic operation that can be used in the HLS space (or equivalent) is the filtering of achromatic portions, as shown in FIG. 18A, by means of a sub-cylinder section (ACHROMATIC) of the HLS color space. [0151]
  • FIG. 18B shows schematically a [0152] filter 17, according to the above filtering function. The filter 17 comprises a RGB to HLS converter 18, connected to an HLS gray filter 19 and to a HLS to RGB converter 20.
  • According to the present invention, starting from a “flat” data sheet (the pixels' raster) a multi-layer representation is obtained. Moreover, using a dynamic pipeline, i.e. the collection of elementary functions and their links as above defined, output data having any kind of format are obtained. [0153]
  • A configurable [0154] image processing device 21 according to the present invention comprises three major subsystems:
  • 1. the unit of processing called “transforms”; [0155]
  • 2. the unit of work called “packets”; [0156]
  • 3. the unit of transportation called “ports”. [0157]
  • With this three component, the device provide for transformations of image data, connections between the transforming units, and independent data representation. [0158]
  • In particular, transforms process data in a context independent fashion, that being there is not implied knowledge coupled between transforms influencing the means of process data. Moreover transforms support multiple input and output capabilities through a port mechanism. [0159]
  • In other words, transforms perform atomic operations on the data presented through a packet mechanism. [0160]
  • Moreover, ports provide a communication protocol between processing units. The actual port protocol ranges from direct function call invocation, to operating system message queue/mail box protocols, to remote procedure invocations, as well as http links. [0161]
  • Finally, packets provide the encapsulation of data. Data can represent actual image data in a variety of different formats, histogram information, compression data, local grouping of data without requiring any impact to other components. By isolating the data into the packet mechanism data can be represented in the most efficient fashion for transportation or transformation without impacting either the transforming units or the means of data transportation. [0162]
  • The configurable [0163] image processing device 21 and its three major subsystems isolate the means whereby data is transported around the system. By doing so, an image data processing pipeline is distributed in a transparent fashion, not influencing any other component within the image processing system.
  • In fact, the configurable [0164] image processing device 21 according to the present invention, select a particular group of atomic operations to be performed on the basis of the final device receiving the output data. By doing so, the device “create” a specific pipeline providing the required transformation of data.
  • A functional and schematic representation of the configurable [0165] image processing device 21 is shown in FIG. 19A. The device 21 comprise a selector 22 of the particular group of atomic operations for a final device and a pipeline 23, that establishes the order and links between such atomic operations.
  • In FIG. 19A is also shown a [0166] final reconstruction block 24, that process the results of the selector 22 and the pipeline 23 in order to obtain the desired output layer of data.
  • It should be noted that the [0167] pipeline 23 can also comprise sub-pipelines, in a more and more complicated structure, as shown in FIG. 19B.
  • Advantageously, according to the present invention, each pipeline generates a layer, i.e. a specific data organization. In this way, pipelines are created through a meta-data level of knowledge. Since a pipeline itself is an independent structure of different atomic operations and their links, there is no inherent knowledge incorporate in the hardware components of the image data processing device to convey the meaning/context of how the pipeline is to be applied. [0168]
  • In other words, the effect of the pipeline is captured in how the atomic components are connected through ports and the data is transported and transformed. This meta-level of context is outside of the context implicitly provided by the components themselves; this task is left to the application that define and drives the dynamic pipeline. [0169]
  • Advantageously, according to the dynamic pipeline as above defined, at any given moment there is never a static definition of the meaning of the pipeline itself. The context is represented in a meta-level definition that can be altered during run-time execution and can be reconfigured/rewired during the lifetime of the product even after the product has frozen “bits” and entered the marked. [0170]
  • Finally, it is pointed out that a particularly useful application obtained from a dynamic pipeline according to the present invention deals with two particular layers of output data, i.e. the BW and color layers, needed in the increasely used PDF representation. [0171]
  • A [0172] data processor 24 for obtaining processed color and BW layers is shown more precisely in FIG. 20.
  • The [0173] data processor 24 has an input IN that receives the raster image data, for example in the RGB format, and is connected to a dual path layer creator component 25, which in turn outputs a first and a second layer, such layers having different data compression rate.
  • The first layer is inputted in a [0174] BW path 26 that outputs a processed BW layer. In a similar manner, the second layer is inputted in a color path 27 that outputs a processed color layer. The processed BW and color layers are finally inputted in a PDF device 28.
  • More particularly, in the example shown in FIG. 20, the [0175] BW path 26 comprises a threshold block 29 connected in series to a compressor 30. A G 4 compression is often used in the field of BW image data processing.
  • Moreover, also in FIG. 20, the [0176] color path 27 comprises a RGB to HLN converter 31, having the output N channel connected to a series of a down scale device 32, an histogram and threshold selector 33, a look-up-table 34, a blob analysis block 35, a fill regions block 36 and a compressor 37. A JPEG compression is often used in the field of color image data processing.
  • While it has been designed for embedded scanner applications, the configurable image processing device according to the present invention is platform independent as it can also operate on a personal computer or in a work station environment. [0177]
  • There are several advantages of the image data processing method and device according to the present invention: [0178]
  • 1. The meta-level contextual knowledge used by the processing method and device is not hard coded into the physical implementation of the dynamic pipeline. [0179]
  • 2. The individual processing units/transforms as above defined can be realized in hardware, firmware, or software components to exploit capability of device. [0180]
  • 3. The transportation of data is de-coupled and inherent transparent to the intent/purpose of the pipeline itself. [0181]
  • 4. The dynamic pipeline is completely self-contained, and its representation can be saved in whole or in part, so that context/state can be saved/replayed. [0182]
  • 5. The processing method leads to parallel, distributed solutions across any number of platform combinations. [0183]
  • 6. New transformations can be added after the product has been shipped through special code extending applet transform. [0184]
  • 7. The data representations can be shared on local copies of memory structures. [0185]

Claims (18)

1. An image data processing method receiving an input image data split into elementary units of information characterized in that it provides an output image data with a particular image format depending on the requirements of a final device receiving such output image data by means of the following steps:
step 1) identifying the final device which receives the output data;
step 2) getting the input image data;
step 3) from a repository of basic imaging operation selecting a plurality of operations to be performed on said input image data;
step 4) creating a sequence of operations that links and ordinate said plurality of operations;
step 5) applying said sequence to the input image data, to create a plurality of layers of organized data of said input image data;
step 6) assembling said plurality of layers into at least an output layer which best fit the requirements of the identified final device; and
step 7) sending said assembled output layer to the identified final device.
2. An image data processing method according to claim 1, characterized in that in said steps 3 to 5, each sequence yields to an unique result.
3. An image data processing method according to claim 1, characterized in that said steps 5 and 6 specify, for each layer, what does it mean and what/how to process the input image data within.
4. An image data processing method according to claim 1, characterized in that said repository comprises a compression function comprising in turn the G4 and JPEG compression methods.
5. An image data processing method according to claim 1, characterized in that said repository comprises an AND function used in combination with a black & white mask.
6. An image data processing method according to claim 1, characterized in that said repository comprises a re-mapping function selecting a portion of the input image data and distributing or re-scaling the information contained in such portion over the all image data space.
7. An image data processing method according to claim 6, characterized in that the content of the input image data is concentrated in said selected portion.
8. An image data processing method according to claim 1, characterized in that said repository comprises a thresholding function comprising in turn the following steps:
calculation and extraction of an indicator of colorfulness of each pixel from the input data;
selection and classification of output data on the basis of a threshold value or a rule for the colorfulness indicator.
9. An image data processing method according to claim 8, characterized in that an elementary unit of information of output data is considered ON if the colorfulness indicator of the corresponding elementary unit of information of the input data is above the threshold value and OFF if it is lower than the threshold value.
10. An image data processing method according to claim 8, characterized in that said threshold value is a fixed value.
11. An image data processing method according to claim 8, characterized in that said thresholding function uses a histogram of the color content of a processed document page in order to decide what the best threshold value for the document is.
12. A configurable image processing device to read and output an image data comprising input means to get an input image and output means for providing a particular output format depending on a final device that receive such output image data, selection means to select a particular group of atomic operations to be performed on the basis of said final device performance, so creating a specific sequence providing meaningful information for the selected device.
13. A configurable image processing device according to claim 12, characterized in that said device comprises at least the following major subsystems:
1. unit of processing called “transforms”;
2. unit of work called “packets”;
3. unit of transportation called “ports”,
said subsystems providing for transformations of input image data, independent data representation and connections between the transforming units.
14. A configurable image processing device according to claim 13, characterized in that said transforms process data in a context independent fashion, that being there is not implied knowledge coupled between transforms influencing the means of process data.
15. A configurable image processing device according to claim 12, characterized in that it comprises a sequence of basic operations providing for a re-mapping architecture.
16. A configurable image processing device according to claim 15, characterized in that said re-mapping architecture comprises a RGB to HLS converter, connected to an HLS to RGB converter, by means of a series of an HLS filter and a stretch block.
17. A configurable image processing device according to claim 15, characterized in that said re-mapping architecture (5) comprises a RGB to HLS converter having a plurality of output channels, only one of said output channels being connected to series of a filter and a stretch block, the re-mapping architecture further comprising an HLS to RGB converter receiving the original channels as outputted from the RGB to HLS converter and the channel as processed by means of said filter and stretch block.
18. An image data processing method according to claim 9, characterized in that if the elementary unit of information is considered OFF said elementary unit of information is reproduced in black and white.
US10/611,834 1998-09-22 2003-07-01 Image data processing method and corresponding device Abandoned US20040008885A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US10/611,834 US20040008885A1 (en) 1998-09-22 2003-07-01 Image data processing method and corresponding device

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
EP98203197A EP0989516B1 (en) 1998-09-22 1998-09-22 Image data processing method and corresponding device
EP98203197.3 1998-09-22
US09/395,926 US6665435B1 (en) 1998-09-22 1999-09-14 Image data processing method and corresponding device
US10/611,834 US20040008885A1 (en) 1998-09-22 2003-07-01 Image data processing method and corresponding device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US09/395,926 Continuation US6665435B1 (en) 1998-09-22 1999-09-14 Image data processing method and corresponding device

Publications (1)

Publication Number Publication Date
US20040008885A1 true US20040008885A1 (en) 2004-01-15

Family

ID=8234150

Family Applications (2)

Application Number Title Priority Date Filing Date
US09/395,926 Expired - Fee Related US6665435B1 (en) 1998-09-22 1999-09-14 Image data processing method and corresponding device
US10/611,834 Abandoned US20040008885A1 (en) 1998-09-22 2003-07-01 Image data processing method and corresponding device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US09/395,926 Expired - Fee Related US6665435B1 (en) 1998-09-22 1999-09-14 Image data processing method and corresponding device

Country Status (3)

Country Link
US (2) US6665435B1 (en)
EP (1) EP0989516B1 (en)
DE (1) DE69830583T2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050052674A1 (en) * 2003-09-05 2005-03-10 Sharp Laboratories Of America, Inc. PDF image-only dedicated print-flow pipeline structure and processing
US20080170794A1 (en) * 2007-01-16 2008-07-17 Nikon Corporation Image pickup apparatus, image recording program, image data recording medium, image processing apparatus, and image processing program
US10083516B2 (en) 2014-05-04 2018-09-25 Carl Zeiss Microscopy Gmbh Method for segmenting a color image and digital microscope

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2003270386A1 (en) * 2002-09-06 2004-03-29 Rytec Corporation Signal intensity range transformation apparatus and method
US20060132855A1 (en) * 2004-12-22 2006-06-22 Murata Kikai Kabushiki Kaisha Image processing device
EP1696384A1 (en) * 2005-02-23 2006-08-30 SONY DEUTSCHLAND GmbH Method for processing digital image data
US7576890B2 (en) * 2005-10-21 2009-08-18 Hewlett-Packard Development Company, L.P. Digital swatch book
US8107758B2 (en) * 2008-04-16 2012-01-31 Microsoft Corporation Block based image processing
JP5173578B2 (en) * 2008-05-15 2013-04-03 キヤノン株式会社 Image processing method, printing apparatus, and control method thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5883979A (en) * 1995-03-27 1999-03-16 Hewlett-Packard Company Method for selecting JPEG quantization tables for low bandwidth applications
US5982937A (en) * 1996-12-24 1999-11-09 Electronics For Imaging, Inc. Apparatus and method for hybrid compression of raster data
US5999644A (en) * 1989-10-31 1999-12-07 Canon Kabushiki Kaisha Image processing apparatus and method
US6373981B1 (en) * 1998-12-21 2002-04-16 Xerox Corporation Method and apparatus for segmenting data to create mixed raster content planes
US6421429B1 (en) * 1993-12-29 2002-07-16 At&T Corporation Network-based system enabling image communications
US6426809B1 (en) * 1997-11-28 2002-07-30 Fuji Xerox Co., Ltd. Image transmitting system and image transmitting method
US6483609B1 (en) * 1997-11-18 2002-11-19 Fuji Xerox Co., Ltd. Image processing system, image processing method, image transmitting system, and image transmitting method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5243447A (en) * 1992-06-19 1993-09-07 Intel Corporation Enhanced single frame buffer display system
US5502642A (en) * 1992-11-12 1996-03-26 Linotype-Hell Ag HSL neighborhoods in CMY color space
JP4035173B2 (en) * 1993-01-18 2008-01-16 キヤノン株式会社 Control apparatus and control method
JP3252936B2 (en) * 1993-12-24 2002-02-04 シャープ株式会社 Video information format control device
US5402245A (en) * 1994-01-27 1995-03-28 Hewlett-Packard Company Bi-level digital color printer system exhibiting improved undercolor removal and error diffusion procedures
US5530798A (en) * 1994-11-01 1996-06-25 United Microelectronics Corp. Apparatus and method for cascading graphic processors
US6324305B1 (en) * 1998-12-22 2001-11-27 Xerox Corporation Method and apparatus for segmenting a composite image into mixed raster content planes

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5999644A (en) * 1989-10-31 1999-12-07 Canon Kabushiki Kaisha Image processing apparatus and method
US6421429B1 (en) * 1993-12-29 2002-07-16 At&T Corporation Network-based system enabling image communications
US5883979A (en) * 1995-03-27 1999-03-16 Hewlett-Packard Company Method for selecting JPEG quantization tables for low bandwidth applications
US5982937A (en) * 1996-12-24 1999-11-09 Electronics For Imaging, Inc. Apparatus and method for hybrid compression of raster data
US6483609B1 (en) * 1997-11-18 2002-11-19 Fuji Xerox Co., Ltd. Image processing system, image processing method, image transmitting system, and image transmitting method
US6426809B1 (en) * 1997-11-28 2002-07-30 Fuji Xerox Co., Ltd. Image transmitting system and image transmitting method
US6373981B1 (en) * 1998-12-21 2002-04-16 Xerox Corporation Method and apparatus for segmenting data to create mixed raster content planes

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050052674A1 (en) * 2003-09-05 2005-03-10 Sharp Laboratories Of America, Inc. PDF image-only dedicated print-flow pipeline structure and processing
US8184305B2 (en) * 2003-09-05 2012-05-22 Sharp Laboratories Of America, Inc. PDF image-only dedicated print-flow pipeline structure and processing
US20080170794A1 (en) * 2007-01-16 2008-07-17 Nikon Corporation Image pickup apparatus, image recording program, image data recording medium, image processing apparatus, and image processing program
US8224080B2 (en) * 2007-01-16 2012-07-17 Nikon Corporation Image pickup apparatus, image recording program, image data recording medium, image processing apparatus, and image processing program
US10083516B2 (en) 2014-05-04 2018-09-25 Carl Zeiss Microscopy Gmbh Method for segmenting a color image and digital microscope

Also Published As

Publication number Publication date
US6665435B1 (en) 2003-12-16
EP0989516B1 (en) 2005-06-15
DE69830583D1 (en) 2005-07-21
DE69830583T2 (en) 2006-06-01
EP0989516A1 (en) 2000-03-29

Similar Documents

Publication Publication Date Title
Rasche Re-coloring images for gamuts of lower dimension
US6377355B1 (en) Color gamut displaying method, an image processing method, and apparatus utilizing these methods
US5146346A (en) Method for displaying and printing multitone images derived from grayscale images
US7164498B2 (en) Color matching for a printing process using more than four colorants using a four-colorant color management system
Bala et al. Spatial color-to-grayscale transform preserving chrominance edge information
US7423780B1 (en) Dynamic selection of rendering intent for color proofing transforms
US7796299B1 (en) Composite rendering intent for color proofing applications
US6719392B2 (en) Optimized color ranges in gamut mapping
US6360008B1 (en) Method of and apparatus for converting color data
US5495539A (en) Image production using multidimensional selection of image transformations
US5872895A (en) Method for object based color matching when printing a color document
CN102857674B (en) Method for processing high dynamic range images using tone mapping to extended RGB space
JPH07193715A (en) Method and apparatus for cascading ntural scene picture
US7760937B2 (en) Automatic conversion of full color images to highlight color images
US6989839B2 (en) Method for converting color to monochrome to maintain differentiability
CN1694490A (en) Method, equipment and computer program of changed digital color image
EP0457427B1 (en) Apparatus for sharpening a colour image
Spaulding et al. UltraColor: A new gamut-mapping strategy
US6665435B1 (en) Image data processing method and corresponding device
US6744918B1 (en) Document analysis method to detect BW/color areas and corresponding scanning device
EP0586139B1 (en) Printing apparatus and method for more than five colours
US20050264849A1 (en) Printer
US7072072B1 (en) Color rendering optimized for text and line art
US7742206B2 (en) Methods and systems for color gamut adjustment
US20060268298A1 (en) Color space conversion by storing and reusing color values

Legal Events

Date Code Title Description
STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO PAY ISSUE FEE