WO2017138055A1 - 画像データ変換装置、画像データ変換方法、画像データ変換用プログラム、コンピュータ、pos端末装置、及びサーバ - Google Patents

画像データ変換装置、画像データ変換方法、画像データ変換用プログラム、コンピュータ、pos端末装置、及びサーバ Download PDF

Info

Publication number
WO2017138055A1
WO2017138055A1 PCT/JP2016/005128 JP2016005128W WO2017138055A1 WO 2017138055 A1 WO2017138055 A1 WO 2017138055A1 JP 2016005128 W JP2016005128 W JP 2016005128W WO 2017138055 A1 WO2017138055 A1 WO 2017138055A1
Authority
WO
WIPO (PCT)
Prior art keywords
image data
image
data conversion
monochrome
conversion
Prior art date
Application number
PCT/JP2016/005128
Other languages
English (en)
French (fr)
Inventor
翔 谷澤
幸夫 吉岡
Original Assignee
Necプラットフォームズ株式会社
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 Necプラットフォームズ株式会社 filed Critical Necプラットフォームズ株式会社
Priority to CN201680079510.XA priority Critical patent/CN108476271A/zh
Priority to US16/068,539 priority patent/US10523842B2/en
Publication of WO2017138055A1 publication Critical patent/WO2017138055A1/ja

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/40Picture signal circuits
    • H04N1/40012Conversion of colour to monochrome
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/52Arrangement for printing a discrete number of tones, not covered by group B41J2/205, e.g. applicable to two or more kinds of printing or marking process
    • 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/40Picture signal circuits
    • H04N1/407Control or modification of tonal gradation or of extreme levels, e.g. background level
    • 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
    • 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

Definitions

  • the present invention relates to an image data conversion device, an image data conversion method, an image data conversion program, a POS terminal device, and a server.
  • the present invention relates to an image data conversion device for converting color image data to grayscale and converting it to monochrome image data.
  • the present invention relates to a conversion method, an image data conversion program, a computer, a POS terminal device, and a server.
  • the background image is a monochrome 16 gradation image
  • the characters are black and white (binary).
  • FIG. 1 monochrome 16-gradation image data and monochrome binary character data are synthesized to obtain back-synthesized 16-gradation data.
  • FIG. 2 shows a specific example in which monochrome 16-gradation image data and monochrome binary character data are synthesized to obtain back-synthesized 16-gradation data.
  • the image data is not filled with the white background of the character data, and the character data is directly synthesized on the image data to obtain the back side composite data.
  • the image subjected to the backside composition is generated as 16-gradation data, it is possible to print a character (black and white) and an image (16-gradation gray scale) at the same time.
  • Patent Document 1 describes that in a background image printing apparatus, a background image is lightened by thinning it out with a stripe pattern or a checkered pattern.
  • the background image converted from the color image to the black and white image is a dark image
  • the character and the background are mixed and the character cannot be read.
  • FIG. 3 when a background image converted from a color image to a black and white image is close to black, character data on the image close to black cannot be read.
  • the user may adjust the density of the background image so that the character data can be read.
  • special knowledge is required for adjustment, and adjustment is difficult for users who do not have special knowledge.
  • An object of the present invention is to provide an image data conversion apparatus capable of converting color image data into monochrome image data suitable as a background image.
  • a first aspect of the present invention is an image data conversion apparatus for converting color image data into grayscale image data by converting it into grayscale data, and whether or not the monochrome image data is data used for a background image.
  • an image data conversion device for converting the color image data into monochrome image data using a luminance value from the minimum luminance value of the background image to the maximum luminance value when the monochrome image data is data used for a background image.
  • a second aspect (aspect) of the present invention is an image data conversion method of an image data conversion apparatus for converting color image data to grayscale and converting it to monochrome image data, wherein the monochrome image data is used for a background image.
  • An image data conversion method comprising: an image data conversion step for converting data.
  • a third aspect (aspect) of the present invention whether or not the monochrome image data is used as a background image in a computer as an image data conversion device that converts the color image data to grayscale and converts it to monochrome image data. And a process of converting the color image data into monochrome image data using luminance values from the minimum luminance value of the background image to the maximum luminance value when the monochrome image data is data used for a background image And an image data conversion program for executing the above.
  • an image data conversion program is stored in a storage unit, and a processor grayscales the color image data based on the image data conversion program. It is a computer that converts to black and white image data after scaling.
  • the image data converting apparatus according to the first aspect of the present invention and the black and white image data output from the image data converting apparatus or the image data converting apparatus are output.
  • a printing unit that performs printing using the monochrome image data for the background image.
  • a server connected to a terminal device via a communication network, the image data converting device according to the first aspect of the present invention, and color image data from the terminal device. And a communication unit that transmits monochrome image data output from the image data conversion device or background image monochrome image data output from the image data conversion device to the terminal device.
  • an image data conversion device an image data conversion method, an image data conversion program, a computer, a POS terminal device, and a server capable of converting color image data into monochrome image data suitable as a background image Can be provided.
  • FIG. 1 is a block diagram illustrating a configuration example of a computer that functions as an image data conversion apparatus according to a first embodiment. It is explanatory drawing which shows the monochrome image data suitable for the background image obtained by the image data converter of 1st Embodiment. It is explanatory drawing which shows the method of obtaining the monochrome image data suitable for background images by the image data converter of 1st Embodiment. It is a flowchart which shows operation
  • FIG. 12 is a diagram illustrating a grayscale image in which image luminance values are not converted and a background image for back synthesis in which image luminance values are converted, which are used in FIG. 11. It is a block diagram which shows the example of 1 structure of the image data converter of the modification of 1st Embodiment.
  • step S103 It is a figure which shows the flowchart of step S103 to step S105 of FIG. It is a figure which shows the flowchart of the modification of 1st Embodiment which replaced step S103 and step S104 of FIG. 8 with step S201. It is a figure which shows the flowchart which shows operation
  • FIG. 14 is a block diagram showing a case where a histogram expansion unit is added to a modification of the image data conversion apparatus shown in FIG. 13 in the second embodiment. It is a block diagram which shows the example of 1 structure of the image data converter of 3rd Embodiment. It is a flowchart which shows operation
  • FIG. 14 is a block diagram illustrating a case where a histogram expansion unit and a storage unit are added to the modification of the image data conversion device illustrated in FIG. 13 in the third embodiment. It is a block diagram which shows the structure of the POS terminal device which mounts the image data converter of 4th Embodiment. It is a block diagram which shows the structure of the image data conversion system of 5th Embodiment which converts image data with the image data converter of a server, and transmits to a terminal device.
  • FIG. 4 is a block diagram showing a configuration example of the image data conversion apparatus according to the first embodiment of the present invention.
  • the image data conversion apparatus includes a background image determination unit 11 as a determination unit, a grayscale conversion unit 12 as a grayscale conversion unit, and an image luminance value conversion as an image luminance value conversion unit. And a dither processing / 16 gradation conversion unit 14.
  • the gray scale conversion unit 12 and the image luminance value conversion unit 13 are image data conversion means.
  • the background image determination unit 11 is arranged in front of the gray scale conversion unit 12, and it is determined whether the monochrome image data is data used for the background image based on the color image data.
  • the background image determination unit 11 is arranged after the grayscale conversion unit 12, whether or not the monochrome image data is used for the background image based on the grayscale 256-level monochrome image data. Judgment may be made.
  • the image data converter shown in FIG. 4 is configured by hardware.
  • some or all of the components of the image data converter shown in FIG. 4 are, for example, LSI (Large Scale Integrated Circuit), ASIC (Application Specific Integrated Circuit), gate array, FPGA (Field It can be composed of an integrated circuit (IC) such as Programmable Gate Array.
  • LSI Large Scale Integrated Circuit
  • ASIC Application Specific Integrated Circuit
  • FPGA Field It can be composed of an integrated circuit (IC) such as Programmable Gate Array.
  • a part or all of the functions of the image data conversion apparatus shown in FIG. 4 can be realized by software.
  • “realized by software” means realized by a computer reading and executing a program.
  • the computer shown in FIG. 5 can be used.
  • some or all of the functions of the image data conversion apparatus shown in FIG. 4 are stored in a storage unit such as a hard disk or ROM, a liquid crystal display, etc.
  • a computer composed of a data storage unit such as a DRAM for storing data required for operation, a DRAM, a CPU, and a bus connecting each unit information necessary for the operation is stored in the DRAM and the program is operated by the CPU. Can be realized.
  • An example of the configuration of such a computer is shown in FIG.
  • FIG. 5 is a block diagram showing an example of the configuration of a computer that functions as the image data conversion apparatus of this embodiment.
  • a computer that realizes the function of the image data conversion apparatus includes a CPU (Central Processing Unit) 21 as a processor, a display unit 22, a communication unit 23, a storage unit and a memory 24 as a data storage unit, I An / O (Input / Output) interface 25, an input device 26, a CPU 21, a communication unit 23, a memory 24, and a bus line 27 for connecting the I / O interface 25 to each other.
  • a CPU Central Processing Unit
  • Non-transitory computer readable media include various types of tangible storage media.
  • Examples of non-transitory computer-readable media include magnetic recording media (eg, flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (eg, magneto-optical disks), CD-ROMs (Read Only Memory), CD- R, CD-R / W, semiconductor memory (for example, mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (random access memory)).
  • the program may be supplied to the computer by various types of temporary computer readable media. Examples of transitory computer readable media include electrical signals, optical signals, and electromagnetic waves.
  • the temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path.
  • FIG. As shown, by converting the input black-and-white image data into black-and-white image data using luminance values from the minimum luminance value to the maximum luminance value, which is an intermediate value between the minimum luminance value and the maximum luminance value, Monochrome image data suitable for use is obtained.
  • the black and white image data is for a background image and the gray scale is reproduced using all the intermediate colors from black to white
  • the background image has a dark density, that is, an image with many pixels with luminance values close to black.
  • the character character A in FIG. 7
  • the background are mixed, making it difficult to distinguish the character.
  • the monochrome image data is for a background image
  • the use of a luminance value close to black is avoided, and the gray color from an intermediate color to white is used. By doing so, it is possible to prevent the character and the background image from being mixed when it is combined with the black and white character data, thereby making it difficult to distinguish the character.
  • the background image determination unit 11 determines whether the image file is for a background image (step S102).
  • the grayscale conversion unit 12 converts the color image into 256 grayscales of black and white using the NTSC weighted average (step S103), and then the image.
  • the luminance value conversion unit 13 converts the image luminance value for the background image (step S104), and the dither processing / 16 gradation conversion unit 14 performs dither processing (error diffusion method) and conversion from 256 gradations to 16 gradations. Is performed (step S105). Thereafter, the converted image data is stored in the memory (step S108). After the converted image data is generated, it is combined with character data and printed.
  • the gray scale conversion unit 12 converts the color image into 256 gray scale gray scales using the NTSC weighted average (step S106).
  • the dither processing / 16 gradation conversion unit 14 performs dither processing (error diffusion method) and conversion from 256 gradations to 16 gradations (step S107).
  • the converted image data is stored in the memory (step S108).
  • the image data is stored in step S108 so that it can be identified whether the image data is for a background image. For example, it is stored as follows. (1) A part of the name of the image data can be identified as common to only the background image. (2) An area for storing image data for a background image and an area for storing image data not for a background image are determined in advance in the memory and stored in the respective areas.
  • the determination of whether or not the image file is for a background image in step S102 can be made, for example, by the following process (1A) or process (2A).
  • (1A) A key for selecting whether or not the image file is for the background image is displayed on the image data converter, and the operator determines whether or not the image file is for the background image and presses the key.
  • the background image determination unit 11 determines whether or not the background image is for the background image by the pressed key.
  • a part of the name of the image file is common to only the image file for the background image, and it can be identified that the image is for backside synthesis, and whether or not the image file is for the background image 11 judges.
  • the gray scale conversion in steps S103 and S106 is to convert color image data into image data expressed only from light to dark from black to white.
  • Examples of the conversion method include the following methods a to c.
  • RGB pixel is weighted according to the following formula (1) and converted to an average gray scale value.
  • Y represents a luminance value
  • R represents a red component
  • G represents a green component
  • B represents a blue component.
  • Intermediate value method The average of the maximum value and the minimum value of each pixel of RGB is converted into a gray scale value.
  • Formula (2) shows a conversion formula used at the time of luminance value conversion in step S104.
  • FIG. 10 is a graph showing the relationship between the luminance value Z before conversion and the luminance value Z ′ after conversion.
  • the range of the luminance value Z before conversion is 0 to 255
  • the range of the luminance value Z ′ after conversion is 128 to 255.
  • the dither correction in steps S105 and S107 is a correction that smoothly expresses the color gradation by compensating for the limitation on the number of display colors.
  • the error diffusion method is one of dither correction, and is used in digital cameras, image scanners, printers, fax machines, and the like.
  • the gradation of colors that can be displayed is limited, and when you want to express a finer gradation (number of colors) than that, the image is expressed as a collection of fine dots, and the dark part is dark. Concentrate the dots, and lighter parts will reduce the density of the dots. As a result, it appears that the number of colors is greater than the actual number of colors.
  • the left figure in FIG. 11 shows an image obtained by synthesizing character data with a grayscale image that does not convert the image luminance value
  • the right figure in FIG. 11 synthesizes character data with the background image for back synthesis, in which the image luminance value is converted.
  • the chair that is the background can be recognized in the normal grayscale image, but the black portion of the background Character recognition is difficult when characters overlap.
  • the chair that is the background can be recognized in the background image for back synthesis, and the character recognition is also easier than in the case of using a grayscale image that does not convert the image luminance value. Can be done.
  • the left diagram of FIG. 12 is a diagram showing a grayscale image without converting the image luminance value used in the left diagram of FIG. 11, the right diagram of FIG. 12 is the image luminance value converted in the right diagram of FIG. It is a figure which shows the background image for back surface synthesis
  • the background image for backside synthesis shown in the right diagram of FIG. 12 has a difference in density smaller than that of the normal grayscale image shown in the left diagram of FIG. 12, but does not become darker than a certain density. Suitable for layering.
  • FIG. 13 is a block diagram illustrating a configuration example of an image data conversion apparatus according to a modification of the first embodiment.
  • the background image data and the non-background image data are grayscaled by the grayscale conversion unit 12, and then the image luminance value conversion unit 13 converts the image luminance value of the background image data.
  • the background image data is grayscaled by the background image grayscale conversion unit 15 using the background image grayscale
  • the non-background image data is grayscaled by the grayscale conversion unit 12.
  • the background image grayscale conversion unit 15 is an image data conversion unit.
  • FIG. 14A is a flowchart showing steps S103 to S105 in FIG. 8, and FIG. 14B is a flowchart showing a modification of the first embodiment in which steps S103 and S104 in FIG. 8 are replaced with step S201.
  • the image luminance value is converted for the background image (step S104).
  • the background image gray scale conversion unit 15 uses the background image gray scale to perform gray scale conversion. Scale and convert to background image data for backside composition.
  • a gray scale for a background image is used instead of a normal gray scale.
  • the dither processing / 16 gradation conversion unit 14 performs dither processing (error diffusion method) and conversion from 256 gradations to 16 gradations ( Step S105).
  • step S103 and step S104 in the flowchart of FIG. 8 replaces step S201, converts the color image to gray scale using the background image gray scale by the NTSC weighted average, and then performs dither processing (error). Since the operation of the image data conversion apparatus is the same except for the conversion from the diffusion method) to 256 gradations to 16 gradations, the description thereof is omitted.
  • Formula (3) shows a conversion formula used for gray scale conversion in step S201.
  • Z represents a luminance value before conversion
  • Z ′ represents a luminance value after conversion
  • AWM represents a background image minimum luminance value
  • R represents a red component
  • G a green component
  • B a blue component.
  • the background image minimum luminance value AWM is, for example, a luminance value 128 that is substantially half of the maximum luminance value 255 in 256 gradations of black and white.
  • the relationship between the luminance value Z before conversion and the luminance value Z ′ after conversion is the same as the relationship shown in the graph shown in FIG.
  • FIG. 16 is a diagram illustrating a case where a background image is generated by grayscale when a color image is color-coded in orange, yellow, and yellow-green.
  • the color portions are given names of orange, yellow, and yellow-green, and the gray scale portions are not given color names.
  • the image data conversion apparatus when the pixels of the histogram of the original image are shifted to one side, when the image data conversion apparatus according to the first embodiment performs compression as a background image, as shown in FIG. The number becomes extremely small, resulting in a background image that is difficult to identify.
  • the entire histogram of the image before dither processing and conversion from 256 to 16 gradations is represented by 5% from the maximum luminance value and 5% from the background image minimum luminance value.
  • the image is expanded with a luminance value of% to make it easy to identify.
  • the luminance value of 5% from the maximum luminance value is a luminance value when the number of pixels from the luminance value 255 is added and becomes 5% of the total number of pixels, and is 5% from the minimum luminance value of the background image.
  • the luminance value is a luminance value when the background image minimum luminance value, for example, the number of pixels from the luminance value 128 is added and becomes 5% of the total number of pixels.
  • FIG. 18 is a block diagram showing an example of the configuration of the image data conversion apparatus of this embodiment.
  • the image data conversion apparatus shown in FIG. 18 includes a histogram expansion unit 16 as a histogram expansion unit between the image luminance value conversion unit 13 and the dither processing / 16 gradation conversion unit 14 of the image data conversion apparatus shown in FIG. It is provided. 18, the same components as those shown in FIG. 4 are denoted by the same reference numerals.
  • the image data conversion apparatus shown in FIG. 18 and FIG. 21 described later is configured by hardware, as in the first embodiment, some or all of the functions of the image data conversion apparatus are realized by software. Can do.
  • the histogram expansion is performed by dithering and converting from 256 to 16 gradations in the flowcharts of the first embodiment and the modified example of the first embodiment (step S105 shown in FIGS. 8, 14B, and 15). This is done by providing a histogram expansion step before.
  • Z represents a luminance value before conversion
  • Z ′ represents a luminance value after conversion
  • AWM represents a background image minimum luminance value
  • Y 1 represents the first branch point of the conversion equation
  • Y 2 represents the second branch point of the conversion equation
  • Any of the above three conversion formulas is applied depending on whether Z ⁇ Y 2 or Z> Y 2 .
  • the background image minimum luminance value AWM is, for example, a luminance value 128 that is substantially half of the maximum luminance value 255 in 256 gradations of black and white.
  • FIG. 19 is a graph showing the relationship between the luminance value Z before conversion and the luminance value Z ′ after conversion.
  • the luminance value Z after the conversion at low luminance value Z than the first branch point Y 1 region 'is A WM (128) the luminance value Z is higher than the second branch point Y 2 In the higher region, the converted luminance value Z ′ is the maximum luminance value (255).
  • the luminance value Z is the first branching point Y 1 or more, the second branching point Y 2 following areas, the luminance value Z after conversion 'is a value proportional to the luminance value Z before conversion.
  • FIG. 20 illustrates an original image, a background image obtained by converting the original image using the image data conversion device according to the first embodiment, and a background image obtained by converting the original image using the image data conversion device according to the second embodiment.
  • the color portions are given names of orange, yellow and yellow-green, and the gray scale portions are not given color names.
  • an original image with a biased histogram can be expanded to a more easily viewable image.
  • the image data conversion device shown in FIG. 18 is an example in which a histogram expansion unit 16 is added between the image luminance value conversion unit 13 and the dither processing / 16 gradation conversion unit 14 of the image data conversion device shown in FIG.
  • the histogram expansion unit 16 is added to the modification of the image data conversion apparatus shown in FIG. 13
  • the background image grayscale conversion unit 15 and the dither processing / 16 gradation conversion unit are provided as shown in FIG. 14 is added with a histogram expansion unit 16, and the output from the background image grayscale conversion unit 15 is expanded with the histogram expansion unit 16.
  • the dither processing and 16 gradation conversion unit 14 performs the dither processing with the 16th floor. It is sufficient to perform key conversion.
  • FIG. 21 the same components as those shown in FIG.
  • the image data (first image data) after being converted by the image data conversion device of the first embodiment and the image data after being converted by the image data conversion device of the second embodiment.
  • (Second image data) is used to output an image so that any one of the image data can be selected.
  • FIG. 22 is a block diagram showing an example of the configuration of the image data conversion apparatus of this embodiment.
  • the image data conversion apparatus shown in FIG. 22 adds a histogram expansion unit 16 and a storage unit 17 to the image data conversion apparatus shown in FIG. 4, outputs from the image luminance value conversion unit 13, and outputs from the histogram expansion unit 16.
  • the output is stored in the storage unit 17, and both outputs from the storage unit 17 are input to the dither processing / 16 gradation conversion unit 14 to perform dither processing and 16 gradation conversion, and further dither processing and 16 gradation conversion
  • the two combined outputs are combined with character data stored in advance in the image data conversion device by the first combining unit 18 and the second combining unit 19, respectively, and output unit as output means as back combined image data 20 is configured to output to 20.
  • FIG. 23 shows only steps S301 to S306.
  • the image data after the image luminance value conversion in step S104 of FIG. 8 is stored in the storage unit 17 as the first image data (step S301).
  • the first image data is subjected to histogram expansion by the histogram expansion unit 16 (step S302), and stored as second image data in the storage unit 17 (step S303). Then, the first image data and the second image data output from the storage unit 17 are subjected to dither processing and conversion from 256 gradations to 16 gradations by the dither processing / 16 gradation conversion unit 14 (step S304). .
  • the first combining unit 18 and the second combining unit 19 combine the first image data and the second image data, respectively, to generate two back composite image data, and the two back composite images Data is displayed on the selection screen (step S305).
  • the display is performed by displaying two rear composite images side by side on the screen of a display device such as a liquid crystal display (that is, the output unit 20).
  • the selection of the two rear composite image data is performed by touching one of the two rear composite images displayed on the screen of the display device or pressing a selection key. be able to. If an image is selected in step S306 (YES in step S306), the process proceeds to step S108. If no image is selected in step S306 (NO in step S306), the process returns to the step of selecting two back composite image data (step S306).
  • step S305 the two back composite image data are displayed on the selection screen.
  • the printing unit that is, the output unit 20
  • the two back composite image data is printed to operate the operator. May be selected.
  • step S103 and step S104 in FIG. 8 may be replaced with step S201 in FIG. 14B.
  • the image data conversion device shown in FIG. 22 is an example in which a histogram expansion unit 16, a storage unit 17, a first synthesis unit 18, a second synthesis unit 19, and an output unit 20 are added to the image data conversion device shown in FIG.
  • the histogram expansion unit 16 the storage unit 17, the first synthesis unit 18, the second synthesis unit 19, and the output unit 20 are added to the modification of the image data conversion apparatus shown in FIG. As shown in FIG.
  • a histogram expansion unit 16 and a storage unit 17 are added between the background image grayscale conversion unit 15 and the dither processing / 16 gradation conversion unit 14, and the background image grayscale conversion unit 15
  • the output and the output from the histogram expansion unit 16 are stored in the storage unit 17, and both outputs stored in the storage unit 17 are input to the dither processing / 16 gradation conversion unit 14 to perform dither processing and 16 gradation conversion.
  • both the dither processing and the 16 gradation conversion are combined with the character data by the first combining unit 18 and the second combining unit 19 and output to the output unit 20 as the back combined image data. That's fine. 24, the same reference numerals are given to the same components as those shown in FIG.
  • the background image minimum luminance value is set to 128.
  • a display device or an image that displays an image is printed between luminance values 80 to 160, preferably between luminance values 96 to 128.
  • the brightness value is suitable for the printer to be used.
  • the POS terminal device of the present embodiment includes a data input / output unit 31, a communication unit 32, an image data conversion unit 33, a printing unit 34, and a control unit 35.
  • the data input / output unit 31 performs input of product information to be settled, input of color image data, and the like.
  • the communication unit 32 communicates with other devices.
  • the image data converter 33 converts the color image data into monochrome 16 gradation data.
  • the printing unit 34 is a single-color printer unit such as a thermal printer unit or a monochrome laser printer unit, and prints a receipt or the like.
  • the printing unit 34 is separated as a single-color printer such as a thermal printer or a monochrome laser printer, and is connected to a data input / output unit 31, a communication unit 32, an image data conversion unit 33, and a control unit 35 via a cable such as an RS-232C cable or a USB cable. You may connect with the main-body part which has this.
  • the control unit 35 controls operations of the data input / output unit 31, the communication unit 32, the image data conversion unit 33, and the printing unit 34.
  • the operation of the POS terminal device will be described.
  • the POS terminal device receives color image data from a USB memory, an SD memory card, or the like via the data input / output unit 31. Further, the POS terminal apparatus receives color image data via the communication unit 32.
  • the image data converter 33 any of the image data converters of the first to third embodiments can be used.
  • the image data conversion unit 33 converts the color image data input from the data input / output unit 31 or the communication unit 32 into monochrome 16 gradation data or background monochrome 16 gradation data and stores it. .
  • the POS terminal device prints an image on a receipt or the like by the printing unit 34 using the converted monochrome 16 gradation data. In the case of the background image monochrome 16 gradation data, it is combined with the character data and output to the printing unit 34.
  • the POS terminal device If necessary, the POS terminal device generates monochrome 16-gradation data (including the case of monochrome 16-gradation data for background images), or back composite image data obtained by combining monochrome 16-gradation data for background images with character data.
  • the data may be output to a USB memory, an SD memory card or the like via the data input / output unit 31, or may be output to the outside via a communication network such as a LAN via the communication unit 32.
  • a color image data file is received from a terminal device (personal computer, POS terminal device, etc.) installed in a store or the like via a communication network, and the image data conversion device of the server is used for black and white 16
  • a terminal device personal computer, POS terminal device, etc.
  • An image data conversion system that converts to gradation data and transmits it to a terminal device will be described.
  • the image data conversion system of this embodiment includes a terminal device 41 and a server 42 connected to the terminal device 41 via a communication network 43.
  • the terminal device 41 is a personal computer or a POS terminal device, and includes a data input / output unit 411, a communication unit 412, and a control unit 413.
  • the data input / output unit 411 receives color image data from a USB memory, an SD memory card, or the like.
  • the communication unit 412 communicates with the server 42.
  • the control unit 413 controls operations of the data input / output unit 411 and the communication unit 412.
  • the server 42 includes an image data conversion unit 421, a communication unit 422, and a control unit 423.
  • the communication unit 422 performs communication with the terminal device 41.
  • the image data conversion unit 421 any of the image data conversion apparatuses according to the first to third embodiments can be used.
  • the image data conversion unit 421 converts the color image data input via the communication unit 422 into monochrome 16 gradation data (including monochrome 16 gradation data for background images).
  • the control unit 423 controls operations of the image data conversion unit 421 and the communication unit 422.
  • the terminal device 41 transmits color image data to the server 42 via the communication network 43.
  • the server 42 converts the received color image data into monochrome 16 gradation data or background image monochrome 16 gradation data, and transmits the monochrome 16 gradation data or background image monochrome 16 gradation data to the terminal device 41.
  • the terminal device 41 receives the monochrome 16 gradation data or the background monochrome 16 gradation data by the communication unit 412, and the data input / output unit 411 receives the monochrome 16 gradation data or background image to a USB memory, an SD memory card or the like.
  • Monochrome 16 gradation data is output.
  • the terminal device 41 is provided with a monochrome printer unit such as a thermal printer unit or a monochrome laser printer unit, or the terminal device 41 is connected to a monochrome printer such as a thermal printer or a monochrome laser printer via a cable such as an RS-232C cable or a USB cable.
  • a monochrome printer unit or a monochrome printer using monochrome 16 gradation data or background image monochrome 16 gradation data.
  • An image data conversion device for converting color image data to grayscale and converting it to black and white image data, Determining means for determining whether the monochrome image data is data used for a background image; When the monochrome image data is data used for a background image, image data conversion means for converting the color image data into monochrome image data using a brightness value from a background image minimum brightness value to a maximum brightness value;
  • An image data conversion apparatus comprising:
  • the image data conversion means includes a gray scale conversion means for converting the color image data into black and white image data in a full scale gray scale, and the gray scale converted black and white image data from the background image minimum luminance value to the maximum luminance value.
  • the image data conversion means is a gray scale conversion means for background images that converts the color image data into black and white image data in a gray scale from the minimum luminance value of the background image to the maximum luminance value.
  • Appendix 4 The image data conversion apparatus according to any one of appendices 1 to 3, further comprising a histogram expansion unit that expands the monochrome image data converted by the image data conversion unit.
  • Appendix 5 (Appendix 5) Appendix 4 characterized by comprising output means for outputting an image using monochrome image data converted by the image data conversion means and an image using monochrome image data subjected to histogram expansion by the histogram expansion means.
  • the image data is converted by the image data conversion means, and the grayscale monochrome image data is converted into monochrome image data having a gradation lower than that of the grayscale monochrome image data. 6.
  • the image data converter according to any one of items 1 to 5.
  • An image data conversion method comprising:
  • the image data conversion step includes a gray scale conversion step of converting the color image data into black and white image data in a full scale gray scale, and gray scaled black and white image data is converted from the background image minimum luminance value to the maximum luminance value.
  • the image data conversion step is a background image grayscale conversion step of converting the color image data into black and white image data in a grayscale from the background image minimum luminance value to the maximum luminance value. 8. The image data conversion method according to 7.
  • Appendix 10 10. The image data conversion method according to any one of appendixes 7 to 9, further comprising a histogram expansion step of expanding the monochrome image data converted by the image data conversion step.
  • Supplementary note 10 comprising an output step of outputting an image using the monochrome image data converted by the image data conversion step and an image using the monochrome image data subjected to the histogram expansion by the histogram expansion step.
  • the image data is converted by the image data conversion step, and the grayscale black-and-white image data is converted into black-and-white image data having a gradation lower than that of the grayscale black-and-white image data. 12.
  • the image data conversion method according to any one of items 11 to 11.
  • the image data conversion process includes: a gray scale conversion process for converting the color image data into black and white image data at a full scale gray scale; and a gray scale converted black and white image data from the background image minimum luminance value to the maximum luminance value.
  • the image data conversion process is a gray scale conversion process for a background image in which the color image data is converted into black and white image data in a gray scale from the minimum luminance value of the background image to the maximum luminance value. 13.
  • Supplementary note 16 comprising output processing for outputting an image using monochrome image data converted by the image data conversion processing and an image using monochrome image data subjected to histogram expansion by the histogram expansion processing.
  • Appendix 18 Any one of appendixes 13 to 17, wherein after the image data conversion by the image data conversion process, the grayscale monochrome image data is converted to monochrome image data having a gradation lower than that of the grayscale monochrome image data.
  • Appendix 19 A computer that stores the image data conversion program according to any one of appendices 13 to 18 in a storage unit, and the processor converts the color image data to gray scale and converts it into monochrome image data based on the image data conversion program.
  • a POS terminal device comprising: a printing unit for performing;
  • (Appendix 21) A server connected to a terminal device via a communication network, The color image data is received from the image data conversion device according to any one of appendices 1 to 6 and the terminal device, and the monochrome image data output from the image data conversion device, or is output from the image data conversion device A communication unit that transmits monochrome image data for background images to the terminal device.
  • the present invention is applied to an image data conversion apparatus that converts color image data to gray scale and converts it to black and white image data.
  • This image data conversion apparatus is suitably used for a POS terminal device and a server connected to the terminal device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Color, Gradation (AREA)

Abstract

本発明は、カラー画像データを、背景画像として適切な白黒画像データに変換することが可能な画像データ変換装置を提供する。本発明の一実施形態は、カラー画像データをグレースケール化して白黒画像データに変換する画像データ変換装置であって、白黒画像データが背景画像用として用いられるデータか否かを判断する判断手段と、白黒画像データが背景画像用として用いられるデータである場合に、カラー画像データを背景画像最小輝度値から最大輝度値までの輝度値を用いる白黒画像データに変換する画像データ変換手段と、を備える。

Description

画像データ変換装置、画像データ変換方法、画像データ変換用プログラム、コンピュータ、POS端末装置、及びサーバ
 本発明は画像データ変換装置、画像データ変換方法、画像データ変換用プログラム、POS端末装置、及びサーバに関わり、特にカラー画像データをグレースケール化して白黒画像データに変換する画像データ変換装置、画像データ変換方法、画像データ変換用プログラム、コンピュータ、POS端末装置、及びサーバに関する。
 画像を背景にして、その上に文字を合成することを背面合成と称することとする。一般的なサーマル用紙では、背景となる画像はモノクロ16階調の画像であり、文字は白黒(2値)である。
 図1に示すように、モノクロ16階調の画像データと白黒2値の文字データを合成して、背面合成した16階調のデータを得る。図2にモノクロ16階調の画像データと白黒2値の文字データを合成して、背面合成した16階調のデータを得る場合の具体例を示す。
 図2に示すように、文字データの白背景によって画像データが塗りつぶされることはなく、画像データの上にそのまま文字データが合成されて背面合成データを得ることができる。
 背面合成を行った画像は16階調のデータとして生成されるため、文字(黒白)と画像(16階調グレースケール)を同時に印字することができる。
 特許文献1には、背景画像印刷装置において、背景画像をストライプ模様や市松模様で間引くことによって淡色化することが記載されている。
特開2006-007707号公報
 上記背面合成においては、カラー画像から白黒画像に変換された背景画像が濃い画像である場合、文字と背景が混ざり、文字が読み取れないという課題がある。例えば、図3に示すように、カラー画像から白黒画像に変換された背景画像が黒に近い場合には、黒に近い画像上の文字データは読み取ることができなくなる。
 この場合、文字データを読み取ることができるように、ユーザが背景画像の濃度の調整を行えばよい。しかしながら、調整には専門知識が必要であり、専門知識を有していないユーザには調整が難しい。
 本発明の目的は、カラー画像データを、背景画像として適切な白黒画像データに変換することが可能な画像データ変換装置を提供することにある。
 本発明の第1の態様(aspect)は、カラー画像データをグレースケール化して白黒画像データに変換する画像データ変換装置であって、前記白黒画像データが背景画像用として用いられるデータか否かを判断する判断手段と、前記白黒画像データが背景画像用として用いられるデータである場合に、前記カラー画像データを背景画像最小輝度値から最大輝度値までの輝度値を用いる白黒画像データに変換する画像データ変換手段と、を備える画像データ変換装置である。
 本発明の第2の態様(aspect)は、カラー画像データをグレースケール化して白黒画像データに変換する画像データ変換装置の画像データ変換方法であって、前記白黒画像データが背景画像用として用いられるデータか否かを判断する判断ステップと、前記白黒画像データが背景画像用として用いられるデータである場合に、前記カラー画像データを背景画像最小輝度値から最大輝度値までの輝度値を用いる白黒画像データに変換する画像データ変換ステップと、を備える画像データ変換方法である。
 本発明の第3の態様(aspect)は、カラー画像データをグレースケール化して白黒画像データに変換する画像データ変換装置としてのコンピュータに、前記白黒画像データが背景画像用として用いられるデータか否かを判断する処理と、前記白黒画像データが背景画像用として用いられるデータである場合に、前記カラー画像データを背景画像最小輝度値から最大輝度値までの輝度値を用いる白黒画像データに変換する処理と、を実行させるための画像データ変換用プログラムである。
 本発明の第4の態様(aspect)は、上記本発明の第3の態様の画像データ変換用プログラムを記憶部に記憶し、プロセッサが該画像データ変換用プログラムに基づいて前記カラー画像データをグレースケール化して白黒画像データに変換するコンピュータである。
 本発明の第5の態様(aspect)は、上記本発明の第1の態様の画像データ変換装置と、該画像データ変換装置から出力される白黒画像データ、又は該画像データ変換装置から出力される背景画像用白黒画像データを用いて印刷を行う印刷部と、を備えるPOS端末装置である。
 本発明の第6の態様(aspect)は、端末装置と通信網を介して接続されるサーバであって、上記本発明の第1の態様の画像データ変換装置と、前記端末装置からカラー画像データを受信し、該画像データ変換装置から出力される白黒画像データ、又は該画像データ変換装置から出力される背景画像用白黒画像データを前記端末装置へ送信する通信部と、を備えるサーバである。
 本発明によれば、カラー画像データを、背景画像として適切な白黒画像データに変換することが可能な画像データ変換装置、画像データ変換方法、画像データ変換用プログラム、コンピュータ、POS端末装置、及びサーバを提供することができる。
モノクロ16階調の画像データと白黒2値の文字データを合成して、背面合成した16階調のデータを得る過程を示す図である。 モノクロ16階調の画像データと白黒2値の文字データを合成して、背面合成した16階調のデータを得る場合の過程の具体例を示す図である。 カラー画像から白黒画像に変換された背景画像が黒に近い場合の背面合成した状態を示す図である。 第1の実施形態の画像データ変換装置の一構成例を示すブロック図である。 第1の実施形態の画像データ変換装置として機能するコンピュータの一構成例を示すブロック図である。 第1の実施形態の画像データ変換装置により得られた、背景画像用に適した白黒画像データを示す説明図である。 第1の実施形態の画像データ変換装置により、背景画像用に適した白黒画像データを得る方法を示す説明図である。 第1の実施形態の画像データ変換装置の動作を示すフローチャートである。 通常のグレースケール画像のヒストグラム、及び第1の実施形態の画像データ変換装置により画像輝度値変換された背景画像のヒストグラムを示す図である。 第1の実施形態における、変換前の輝度値と変換後の輝度値との関係を示すグラフを示す図である。 画像輝度値を変換しないグレースケール画像に文字データを合成した画像、及び画像輝度値を変換した背面合成用の背景画像に文字データを合成した画像を示す図である。 図11で用いた、画像輝度値を変換しないグレースケール画像、及び画像輝度値を変換した背面合成用の背景画像を示す図である。 第1の実施形態の変形例の画像データ変換装置の一構成例を示すブロック図である。 図8のステップS103からステップS105のフローチャートを示す図である。 図8のステップS103及びステップS104をステップS201に置き換えた第1の実施形態の変形例のフローチャートを示す図である。 第1の実施形態の変形例の画像データ変換装置の動作を示すフローチャートを示す図である。 橙色、黄色、黄緑色で色分けされたカラー画像をグレースケール化して生成した背景画像を示す図である。 第1の実施形態の画像データ変換装置で変換を行う前の元画像のヒストグラムを示す図である。 元画像のヒストグラムの画素が片側に寄っている場合の、第1の実施形態の画像データ変換装置で変換を行った背景画像のヒストグラムを示す図である。 ヒストグラムを伸長した場合の、第2の実施形態の画像データ変換装置で変換を行った背景画像のヒストグラムを示す図である。 第2の実施形態の画像データ変換装置の一構成例を示すブロック図である。 第2の実施形態における、変換前の輝度値と変換後の輝度値との関係を示すグラフを示す図である。 元画像、元画像を第1の実施形態の画像データ変換装置を用いて変換した背景画像、及び元画像を第2の実施形態の画像データ変換装置を用いて変換した背景画像を示す図である。 第2の実施形態において、図13に示した画像データ変換装置の変形例にヒストグラム伸張部を追加した場合を示すブロック図である。 第3の実施形態の画像データ変換装置の一構成例を示すブロック図である。 第3の実施形態の画像データ変換装置の動作を示すフローチャートである。 第3の実施形態において、図13に示した画像データ変換装置の変形例にヒストグラム伸張部と記憶部を追加した場合を示すブロック図である。 第4の実施形態の、画像データ変換装置を搭載したPOS端末装置の構成を示すブロック図である。 第5の実施形態の、サーバの画像データ変換装置で画像データ変換して端末装置に送信する画像データ変換システムの構成を示すブロック図である。
 以下、本発明の各実施形態について図面を用いて詳細に説明する。
 (第1の実施形態)
 図4は本発明の第1の実施形態の画像データ変換装置の一構成例を示すブロック図である。図4に示すように、本実施形態の画像データ変換装置は、判断手段としての背景画像判断部11、グレースケール変換手段としてのグレースケール変換部12、画像輝度値変換手段としての画像輝度値変換部13、及びディザ処理・16階調変換部14を備えている。グレースケール変換部12と画像輝度値変換部13は、画像データ変換手段である。なお、図4に示す構成では、背景画像判断部11をグレースケール変換部12の前に配置して、カラー画像データに基づいて白黒画像データが背景画像用として用いられるデータか否かの判断を行っているが、背景画像判断部11をグレースケール変換部12の後に配置して、グレースケール化された256階調の白黒画像データに基づいて白黒画像データが背景画像用として用いられるデータか否かの判断を行ってもよい。
 図4に示した画像データ変換装置はハードウェアで構成される。ハードウェアで構成する場合、図4に示す、画像データ変換装置の構成部の一部又は全部を、例えば、LSI(Large Scale Integrated circuit)、ASIC(Application Specific Integrated Circuit)、ゲートアレイ、FPGA(Field Programmable Gate Array)等の集積回路(IC)で構成することができる。
 図4に示した画像データ変換装置の一部又は全部の機能をソフトウェアで実現することができる。ここで、ソフトウェアによって実現されるとは、コンピュータがプログラムを読み込んで実行することにより実現されることを意味する。
 画像データ変換装置の一部又は全部の機能をソフトウェアで実現する場合には、図5に示すコンピュータを用いることができる。ソフトウェアで構成する場合、図4に示す、画像データ変換装置の構成部の一部又は全部の機能を、当該機能を記述したプログラムを記憶した、ハードディスクやROM等の記憶部、液晶ディスプレイ等の表示部、演算に必要なデータを記憶するDRAM等のデータ記憶部、CPU、各部を接続するバスで構成されたコンピュータにおいて、演算に必要な情報をDRAMに記憶し、CPUで当該プログラムを動作させることで実現することができる。このようなコンピュータの構成の一例が図5に示されている。
 図5は本実施形態の画像データ変換装置として機能するコンピュータの一構成例を示すブロック図である。図5に示すように、画像データ変換装置の機能を実現するコンピュータは、プロセッサとしてのCPU(Central Processing Unit)21、表示部22、通信部23、記憶部及びデータ記憶部としてのメモリ24、I/O(Input/Output)インターフェース25、入力装置26、及びCPU21、通信部23、メモリ24、I/Oインターフェース25を相互に接続するバスライン27を備える。
 プログラムは、様々なタイプの非一時的なコンピュータ可読媒体(non-transitory computer readable medium)を用いて格納され、コンピュータに供給され得る。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(tangible storage medium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えば、フレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば、光磁気ディスク)、CD-ROM(Read Only Memory)、CD-R、CD-R/W、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(random access memory))を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(transitory computer readable medium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。
 本実施形態の画像データ変換装置では、カラー画像データをグレースケール化して白黒画像データに変換するときに、入力された白黒画像データが背景画像用であると判断された場合には、図6に示すように、入力された白黒画像データを最小輝度値と最大輝度値の中間値である背景画像最小輝度値から最大輝度値までの輝度値を用いた白黒画像データに変換することにより、背景画像用に適した白黒画像データを得る。
 具体的に図7を用いて説明する。白黒画像データが背景画像用であった場合に、グレースケールを黒から白の中間色をすべて使って再現すると、背景画像が濃い濃度であるとき、即ち、黒に近い輝度値の画素が多い画像であるときには、背景画像を白黒の文字データと合成する場合に、文字(図7の文字A)と背景が混ざり、文字を判別することが難しくなる。本実施形態では、白黒画像データが背景画像用である場合、黒に近い輝度値の使用を避け、中間色であるグレーの領域から白までを使用する。この様にすることによって、白黒の文字データと合成する場合に文字と背景画像が混ざり、文字を判別することが難しくなることを防止する。
 次に本実施形態の画像データ変換装置の動作について図8のフローチャートを用いて説明する。
 図8において、背景画像判断部11はカラー画像の画像ファイル入力を受け付けると(ステップS101)、その画像ファイルが背景画像用かどうかを判断する(ステップS102)。
 画像ファイルが背景画像用である場合には(ステップS102のYES)、グレースケール変換部12で、カラー画像をNTSC系加重平均にて白黒256階調のグレースケールに変換後(ステップS103)、画像輝度値変換部13で画像輝度値を背景画像用に変換し(ステップS104)、ディザ処理・16階調変換部14で、ディザ処理(誤差拡散法)と256階調から16階調への変換を行う(ステップS105)。その後、変換された画像データをメモリに記憶する(ステップS108)。変換された画像データを生成後、文字データと合成して印字を行う。
 一方、画像ファイルが背景画像用でない場合には(ステップS102のNO)、グレースケール変換部12で、カラー画像をNTSC系加重平均にて白黒256階調のグレースケールに変換後(ステップS106)、ディザ処理・16階調変換部14で、ディザ処理(誤差拡散法)と256階調から16階調への変換を行う(ステップS107)。その後、変換された画像データをメモリに記憶する(ステップS108)。ステップS108における画像データの記憶は、画像データが背景画像用であるか否かを識別できるように記憶する。例えば、以下のようにして記憶する。
(1)画像データの名称の一部を背景画像用のみに共通のものとして、識別可能とする。
(2)メモリに、背景画像用の画像データを記憶する領域と、背景画像用ではない画像データを記憶する領域とを予め定めておき、それぞれの領域に記憶する。
 図9に示すように、ヒストグラムで見た場合、画像輝度値を背景画像用に変換しない通常のグレースケール画像は全体に広がっているが(図9の左のヒストグラム)、背景画像用に輝度値変換すると中間のグレーから白に圧縮したような形になる(図9の右のヒストグラム)。
 ステップS102における、画像ファイルが背景画像用であるか否かの判断は、例えば、以下の処理(1A)もしくは処理(2A)によって行うことができる。
(1A)画像データ変換装置に、背景画像用であるか否かを選択するキーを表示し、操作者が、画像ファイルが背景画像用であるか否かを判断して、キーを押す。この場合、背景画像判断部11は押されたキーによって背景画像用であるか否かの判断を行う。
(2A)画像ファイルの名称の一部を、背景画像用画像ファイルのみに共通のものとし、背面合成用であることを識別可能として画像ファイルが背景画像用であるか否かを背景画像判断部11が判断する。
 ステップS103及びS106におけるグレースケール化とは、カラー画像データを白から黒の明暗だけで表現した画像データに変換することである。変換方法には、例えば以下に示すa~cの方法がある。
 a.NTSC系加重平均…RGBの各画素に以下の式(1)により重みづけを行い平均したグレースケールの値に変換する。
Figure JPOXMLDOC01-appb-M000001
 Yは輝度値、Rは赤色成分、Gは緑色成分、Bは青色成分を示す。
 b.中間値法…RGBの各画素の最大値と最小値の平均をグレースケールの値に変換する。
 c.単純平均法…RGBの各画素の平均値をグレースケールの値に変換する。
 ステップS104における輝度値変換時に用いる変換式を式(2)に示す。
Figure JPOXMLDOC01-appb-M000002
 Zは変換前の輝度値、Z’は変換後の輝度値、AWMは背景画像最小輝度値を示す。背景画像最小輝度値AWMは、例えば、白黒256階調での最大輝度値255のほぼ半分の輝度値128である。図10は変換前の輝度値Zと変換後の輝度値Z’との関係を示すグラフである。図10の例では、変換前の輝度値Zの範囲は0から255であるのに対して、変換後の輝度値Z’の範囲は128から255である。
 ステップS105及びS107におけるディザ補正とは、表示色数の制限を補って色の階調を滑らかに表現する補正である。誤差拡散法はディザ補正の一つであり、デジタルカメラやイメージスキャナ、プリンタ、FAXなどで使われる。誤差拡散法では、表示できる色の階調が限られていて、それより細かい階調(色数)を表現したいときに、画像を細かい点の集まりとして表現し、色が濃い部分は色の濃い点を密集させ、色の薄い部分は点の密度を下げる。これにより、実際の色数よりも多い色数で表現したように見える。
 図11の左図は画像輝度値を変換しないグレースケール画像に文字データを合成した画像を示す図、図11の右図は画像輝度値を変換した、背面合成用の背景画像に文字データを合成した画像を示す図である。
 グレースケール画像と背面合成用の背景画像の上にそれぞれ同じ文字を配置すると、図11の左図に示すように、通常のグレースケール画像では背景である椅子を認識できるが、背景の黒い部分に文字が重なると文字の認識が難しい。しかし、図11の右図に示すように、背面合成用の背景画像では背景である椅子が認識でき、かつ文字の認識も、画像輝度値を変換しないグレースケール画像を用いた場合に比べると容易に行うことができる。
 図12の左図は図11の左図で用いた、画像輝度値を変換しないグレースケール画像を示す図、図12の右図は図11の右図で用いた、画像輝度値を変換した、背面合成用の背景画像を示す図である。図12の右図に示す、背面合成用の背景画像は、図12の左図に示す、通常のグレースケール画像より濃淡の差が小さくなるが、一定の濃度より濃くならないため画像の上に黒文字を重ねるのに適している。
 次に、第1の実施形態の変形例について説明する。
 図13は第1の実施形態の変形例の画像データ変換装置の一構成例を示すブロック図である。図13において図4に示す構成部と同一の構成部については同一符号を付する。図4に示す画像データ変換装置では、背景画像データと非背景画像データについてグレースケール変換部12でグレースケール化した後に、背景画像データについて画像輝度値変換部13で画像輝度値変換している。本変形例では、背景画像データについては背景画像用グレースケール変換部15で背景画像用グレースケールを用いてグレースケール化し、非背景画像データについてはグレースケール変換部12でグレースケール化する。本例では、背景画像用グレースケール変換部15は画像データ変換手段である。
 図14Aは図8のステップS103からステップS105を示すフローチャート、図14Bは図8のステップS103及びステップS104をステップS201に置き換えた第1の実施形態の変形例を示すフローチャートである。図14Aにおいては、カラー画像をNTSC系加重平均にて白黒256階調のグレースケールに変換後(ステップS103)、画像輝度値を背景画像用に変換している(ステップS104)。一方、本変形例では、図14Bに示すように、ステップS201で、背面合成用の背景画像をグレースケール化する際に、背景画像用グレースケール変換部15により背景画像用グレースケールを用いてグレースケール化し、背面合成用の背景画像データに変換する。グレースケール化時、通常のグレースケールではなく、背景画像用グレースケールを用いる。そして、背面合成用の背景画像をグレースケール化(ステップS201)した後に、ディザ処理・16階調変換部14によりディザ処理(誤差拡散法)と256階調から16階調への変換を行う(ステップS105)。
 本変形例の画像データ変換装置の動作を図15のフローチャートに示す。図15に示すフローチャートは、図8のフローチャートのステップS103及びステップS104をステップS201に置き換えて、カラー画像をNTSC系加重平均にて背景画像用グレースケールを用いてグレースケール化した後にディザ処理(誤差拡散法)と256階調から16階調への変換を行うことを除いて、画像データ変換装置の動作が同じなので説明を省略する。
 ステップS201におけるグレースケール化に用いる変換式を式(3)に示す。
Figure JPOXMLDOC01-appb-M000003
 Zは変換前の輝度値、Z’は変換後の輝度値、AWMは背景画像最小輝度値を示す。Rは赤色成分、G:緑色成分、B:青色成分を示す。背景画像最小輝度値AWMは、例えば、白黒256階調での最大輝度値255のほぼ半分の輝度値128である。変換前の輝度値Zと変換後の輝度値Z’との関係は図10に示したグラフで示した関係と同じである。
 (第2の実施形態)
 本実施形態では、背景画像が複雑な模様、もしくはグレースケール化した際に濃淡の区別が難しい配色だったりした場合のために、自動でコントラストの調整を行う例について説明する。図16はカラー画像が、橙色、黄色、黄緑色で色分けされている場合にグレースケール化して背景画像を生成する場合を示す図である。なお、図16ではカラーの部分には橙色、黄色、黄緑色という色の名称を付しており、グレースケールの部分には色の名称を付していない。
 図17Aに示すように、元画像のヒストグラムの画素が片側に寄っている場合、第1の実施形態の画像データ変換装置で背景画像として圧縮を行った時には、図17Bに示すように、階調数が極端に少なくなり、識別しづらい背景画像となってしまう。本実施形態では、図17Cに示すように、ディザ処理と256階調から16階調への変換前の画像の全体のヒストグラムを最大輝度値から5%の輝度値と背景画像最小輝度値から5%の輝度値で伸張して、識別しやすい画像としている。最大輝度値から5%の輝度値とは、輝度値255からの画素数を加算していって全体画素数の5%となったときの輝度値であり、背景画像最小輝度値から5%の輝度値とは、背景画像最小輝度値、例えば輝度値128からの画素数を加算していって全体画素数の5%となったときの輝度値である。
 図18は本実施形態の画像データ変換装置の一構成例を示すブロック図である。図18に示す画像データ変換装置は、図4に示した画像データ変換装置の画像輝度値変換部13とディザ処理・16階調変換部14との間にヒストグラム伸張手段としてのヒストグラム伸張部16を設けたものである。図18において図4に示す構成部と同一の構成部については同一符号を付する。なお、図18及び後述する図21に示す画像データ変換装置はハードウェアで構成されるが、第1の実施形態と同様に、画像データ変換装置の一部又は全部の機能をソフトウェアで実現することができる。
 ヒストグラム伸張は、第1の実施形態、及び第1の実施形態の変形例のフローチャートにおけるディザ処理と256階調から16階調への変換(図8、図14B、及び図15に示すステップS105)の前に、ヒストグラム伸張のステップを設けることによって行う。
 ヒストグラム伸張の処理に用いる変換式を以下の式(4)に示す。
Figure JPOXMLDOC01-appb-M000004
 Zは変換前の輝度値、Z’は変換後の輝度値、AWMは背景画像最小輝度値を示す。Yは変換式の第1の分岐点、Yは変換式の第2の分岐点を示し、輝度値ZがY、Yの値で区分される範囲Z<Y、Y≦Z≦Y、Z>Yのいずれかに属するかによって、上記3つの変換式のいずれかが適用される。背景画像最小輝度値AWMは、例えば、白黒256階調での最大輝度値255のほぼ半分の輝度値128である。図19は変換前の輝度値Zと変換後の輝度値Z’との関係を示すグラフである。図19の例では、輝度値Zが第1の分岐点Yよりも低い領域では変換後の輝度値Z’はAWM(128)であり、輝度値Zが第2の分岐点Yよりも高い領域では変換後の輝度値Z’は最大輝度値(255)である。また、輝度値Zが第1の分岐点Y以上、第2の分岐点Y以下の領域では、変換後の輝度値Z’は変換前の輝度値Zに比例した値となる。
 図20は、元画像、元画像を第1の実施形態の画像データ変換装置を用いて変換した背景画像、および元画像を第2の実施形態の画像データ変換装置を用いて変換した背景画像を示している。なお、図20ではカラーの部分には橙色、黄色、黄緑色という色の名称を付しており、グレースケールの部分には色の名称を付していない。図20に示すように、本実施形態の画像データ変換装置によれば、ヒストグラムが偏っている元画像を、ヒストグラム伸張を行って、より見やすい画像とすることができる。
 図18に示す画像データ変換装置は、図4に示した画像データ変換装置の画像輝度値変換部13とディザ処理・16階調変換部14との間にヒストグラム伸張部16を追加した例であるが、図13に示した画像データ変換装置の変形例にヒストグラム伸張部16を追加する場合には、図21に示すように、背景画像用グレースケール変換部15とディザ処理・16階調変換部14との間にヒストグラム伸張部16を追加し、背景画像用グレースケール変換部15からの出力をヒストグラム伸張部16でヒストグラム伸張した後に、ディザ処理・16階調変換部14でディザ処理と16階調変換とを行うようにすればよい。図21において図13に示す構成部と同一の構成部については同一符号を付する。
 (第3の実施形態)
 本実施形態では、第1の実施形態の画像データ変換装置によって変換された後の画像データ(第1の画像データ)と、第2の実施形態の画像データ変換装置によって変換された後の画像データ(第2の画像データ)とを用いて、画像を出力し、いずれかの画像データを選択可能とする。
 図22は本実施形態の画像データ変換装置の一構成例を示すブロック図である。図22に示す画像データ変換装置は、図4に示した画像データ変換装置にヒストグラム伸張部16と記憶部17とを追加し、画像輝度値変換部13からの出力と、ヒストグラム伸張部16からの出力とを記憶部17に記憶し、記憶部17から両方の出力をディザ処理・16階調変換部14に入力してディザ処理と16階調変換とを行い、さらにディザ処理と16階調変換とを行った両出力をそれぞれ第1合成部18と第2合成部19で、予め画像データ変換装置内に記憶しておいた文字データと合成して背面合成画像データとして出力手段としての出力部20に出力するように構成したものである。図22において図4に示す構成部と同一の構成部については同一符号を付する。なお、図22及び後述する図24に示す画像データ変換装置はハードウェアで構成されるが、第1の実施形態と同様に、画像データ変換装置の一部又は全部の機能をソフトウェアで実現することができる。
 本実施形態の画像データ変換装置の動作を図23のフローチャートに示す。本実施形態の画像データ変換装置のフローチャートは、図8に示した第1の実施形態の画像データ変換装置のフローチャートのステップS105を、ステップS301~ステップS306に置換したものである。図23には、ステップS301~ステップS306のみを示す。
 図8のステップS104の画像輝度値変換後の画像データを第1の画像データとして記憶部17に記憶する(ステップS301)。
 次に、第1の画像データについてヒストグラム伸張部16によりヒストグラム伸張を行い(ステップS302)、第2の画像データとして記憶部17に記憶する(ステップS303)。そして、記憶部17から出力される第1の画像データ及び第2の画像データについてディザ処理・16階調変換部14によりディザ処理と256階調から16階調への変換を行う(ステップS304)。
 次に、第1合成部18と第2合成部19によって第1の画像データ及び第2の画像データにそれぞれ文字データを合成して2つの背面合成画像データを生成し、この2つの背面合成画像データを選択画面に表示する(ステップS305)。表示は、液晶ディスプレイ等の表示装置(すなわち出力部20)の画面に2つの背面合成画像を並べて表示することで行う。2つの背面合成画像データの選択(ステップS306)は、表示装置の画面に表示された2つの背面合成画像のうちのいずれかの背面合成画像をタッチしたり、選択用のキーを押すことで行うことができる。ステップS306で画像選択が行われた場合は(ステップS306のYES)、ステップS108に移行する。ステップS306で画像選択が行われない場合は(ステップS306のNO)、2つの背面合成画像データの選択ステップ(ステップS306)に戻る。
 ステップS305では、この2つの背面合成画像データを選択画面に表示していたが、画像データ変換装置に印刷部(すなわち出力部20)を設けて、2つの背面合成画像データを印刷して操作者が選択するようにしてもよい。
 また、第3の実施形態においても、図8のステップS103とステップS104を、図14BのステップS201に置換してもよい。
 図22に示す画像データ変換装置は、図4に示した画像データ変換装置にヒストグラム伸張部16、記憶部17、第1合成部18、第2合成部19、及び出力部20を追加した例であるが、図13に示した画像データ変換装置の変形例にヒストグラム伸張部16、記憶部17、第1合成部18、第2合成部19、及び出力部20を追加する場合には、図24に示すように、背景画像用グレースケール変換部15とディザ処理・16階調変換部14との間にヒストグラム伸張部16と記憶部17とを追加し、背景画像用グレースケール変換部15からの出力と、ヒストグラム伸張部16からの出力とを記憶部17に記憶し、記憶部17に記憶した両方の出力をディザ処理・16階調変換部14に入力してディザ処理と16階調変換とを行い、さらにディザ処理と16階調変換とを行った両出力をそれぞれ第1合成部18、第2合成部19で文字データと合成して背面合成画像データとして出力部20に出力するように構成すればよい。図24において図13に示す構成部と同一の構成部については同一符号を付する。
 なお、上述の各実施形態では、背景画像最小輝度値を128としたが、輝度値80~160の間で、好ましくは輝度値96~128の間で、画像を表示する表示装置又は画像を印刷するプリンタに適した輝度値とすればよい。
 (第4の実施形態)
 本発明の第4の実施形態として、画像データ変換装置を搭載したPOS端末装置について説明する。
 図25に示すように、本実施形態のPOS端末装置は、データ入出力部31、通信部32、画像データ変換部33、印刷部34、及び制御部35を備えている。データ入出力部31は、精算する商品の情報入力やカラー画像データの入力等を行う。通信部32は、他の装置との通信を行う。画像データ変換部33は、カラー画像データを白黒16階調データに変換する。印刷部34は、サーマルプリンタ部、モノクロレーザプリンタ部等の単色プリンタ部であり、レシート等を印刷する。印刷部34は、サーマルプリンタ、モノクロレーザプリンタ等の単色プリンタとして分離し、RS-232CケーブルやUSBケーブル等のケーブルにより、データ入出力部31、通信部32、画像データ変換部33及び制御部35を有する本体部と接続してもよい。制御部35は、データ入出力部31、通信部32、画像データ変換部33、印刷部34の動作を制御する。
 POS端末装置の動作について説明する。POS端末装置は、データ入出力部31を介して、USBメモリ、SDメモリカード等からカラー画像データを受け付ける。また、POS端末装置は、通信部32を介して、カラー画像データを受信する。画像データ変換部33としては、第1から第3の実施形態の画像データ変換装置のいずれかを用いることができる。POS端末装置は、画像データ変換部33で、データ入出力部31又は通信部32から入力されたカラー画像データを白黒16階調データ、または背景画像用白黒16階調データに変換し、記憶する。POS端末装置は、変換した白黒16階調データを用いて、印刷部34で、レシート等に画像を印刷する。背景画像用白黒16階調データである場合には文字データと合成して印刷部34に出力する。
 必要に応じて、POS端末装置が、白黒16階調データ(背景画像用白黒16階調データの場合を含む)、又は背景画像用白黒16階調データを文字データと合成した背面合成画像データを、データ入出力部31を介して、USBメモリ、SDメモリカード等に出力したり、通信部32を介して、LAN等の通信網を経由して外部に出力するようにしてもよい。
 (第5の実施形態)
 本発明の第5の実施形態として、店舗等に設置してある端末装置(パーソナルコンピュータやPOS端末装置等)から通信網を介してカラー画像データファイルを受け付け、サーバの画像データ変換装置で白黒16階調データに変換して端末装置へ送信する画像データ変換システムについて説明する。
 図26に示すように、本実施形態の画像データ変換システムは、端末装置41と、端末装置41と通信網43を介して接続されるサーバ42とを備えている。端末装置41はパーソナルコンピュータやPOS端末装置であり、データ入出力部411、通信部412、及び制御部413を備えている。データ入出力部411はUSBメモリ、SDメモリカード等からカラー画像データを受け付ける。通信部412は、サーバ42との通信を行う。制御部413はデータ入出力部411、通信部412の動作を制御する。
 サーバ42は画像データ変換部421、通信部422、及び制御部423を備えている。通信部422は端末装置41との通信を行う。画像データ変換部421としては、第1から第3の実施形態の画像データ変換装置のいずれかを用いることができる。画像データ変換部421は、通信部422を介して入力されたカラー画像データを白黒16階調データ(背景画像用白黒16階調データの場合を含む)に変換する。制御部423は画像データ変換部421、通信部422の動作を制御する。
 画像データ変換システムの動作について説明する。端末装置41は、カラー画像データを、通信網43を介してサーバ42に送信する。サーバ42は、受信したカラー画像データを白黒16階調データ、または背景画像用白黒16階調データに変換し、白黒16階調データ、または背景画像用白黒16階調データを端末装置41に送信する。端末装置41は白黒16階調データ又は背景画像用白黒16階調データを通信部412で受けて、データ入出力部411によりUSBメモリ、SDメモリカード等に白黒16階調データ、又は背景画像用白黒16階調データを出力する。端末装置41にサーマルプリンタ部、モノクロレーザプリンタ部等の単色プリンタ部を設けたり、端末装置41を、RS-232CケーブルやUSBケーブル等のケーブルによりサーマルプリンタ、モノクロレーザプリンタ等の単色プリンタと接続することで、白黒16階調データ又は背景画像用白黒16階調データを用いて単色プリンタ部や単色プリンタで印刷するようにしてもよい。
 以上、本発明の好適な実施形態の構成を説明した。しかし、かかる実施形態は、本発明の単なる例示に過ぎず、何ら本発明を限定するものではないことに留意されたい。本発明の要旨を逸脱することなく、特定用途に応じて種々の変形変更が可能であることが、当業者には容易に理解できよう。
 上記の実施の形態の一部又は全部は、以下の付記のようにも記載されうるが、以下の構成には限られない。
 (付記1)
 カラー画像データをグレースケール化して白黒画像データに変換する画像データ変換装置であって、
 前記白黒画像データが背景画像用として用いられるデータか否かを判断する判断手段と、
 前記白黒画像データが背景画像用として用いられるデータである場合に、前記カラー画像データを背景画像最小輝度値から最大輝度値までの輝度値を用いる白黒画像データに変換する画像データ変換手段と、
 を備える画像データ変換装置。
 (付記2)
 前記画像データ変換手段は、前記カラー画像データをフルスケールのグレースケールで白黒画像データに変換するグレースケール変換手段と、グレースケール化された白黒画像データを前記背景画像最小輝度値から前記最大輝度値までの輝度値を用いる前記白黒画像データに変換する画像輝度値変換手段と、を備えることを特徴とする、付記1に記載の画像データ変換装置。
 (付記3)
 前記画像データ変換手段は、前記カラー画像データを前記背景画像最小輝度値から前記最大輝度値までのグレースケールで白黒画像データに変換する背景画像用グレースケール変換手段であることを特徴とする、付記1に記載の画像データ変換装置。
 (付記4)
 前記画像データ変換手段により変換された白黒画像データをヒストグラム伸張するヒストグラム伸張手段を備えることを特徴とする、付記1から3のいずれかに記載の画像データ変換装置。
 (付記5)
 前記画像データ変換手段により変換された白黒画像データを用いる画像と、前記ヒストグラム伸張手段によりヒストグラム伸張が行われた白黒画像データを用いる画像とを出力する出力手段を備えることを特徴とする、付記4に記載の画像データ変換装置。
 (付記6)
 前記画像データ変換手段による画像データ変換後に、前記グレースケール化された白黒画像データを前記グレースケール化された白黒画像データよりも階調のすくない白黒画像データに変換することを特徴とする、付記1から5のいずれかに記載の画像データ変換装置。
 (付記7)
 カラー画像データをグレースケール化して白黒画像データに変換する画像データ変換装置の画像データ変換方法であって、
 前記白黒画像データが背景画像用として用いられるデータか否かを判断する判断ステップと、
 前記白黒画像データが背景画像用として用いられるデータである場合に、前記カラー画像データを背景画像最小輝度値から最大輝度値までの輝度値を用いる白黒画像データに変換する画像データ変換ステップと、
 を備える画像データ変換方法。
 (付記8)
 前記画像データ変換ステップは、前記カラー画像データをフルスケールのグレースケールで白黒画像データに変換するグレースケール変換ステップと、グレースケール化された白黒画像データを前記背景画像最小輝度値から前記最大輝度値までの輝度値を用いる前記白黒画像データに変換する画像輝度値変換ステップと、を備えていることを特徴とする、付記7に記載の画像データ変換方法。
 (付記9)
 前記画像データ変換ステップは、前記カラー画像データを前記背景画像最小輝度値から前記最大輝度値までのグレースケールで白黒画像データに変換する背景画像用グレースケール変換ステップであることを特徴とする、付記7に記載の画像データ変換方法。
 (付記10)
 前記画像データ変換ステップにより変換された白黒画像データをヒストグラム伸張するヒストグラム伸張ステップを備えることを特徴とする、付記7から9のいずれかに記載の画像データ変換方法。
 (付記11)
 前記画像データ変換ステップにより変換された白黒画像データを用いる画像と、前記ヒストグラム伸張ステップによりヒストグラム伸張が行われた白黒画像データを用いる画像とを出力する出力ステップを備えることを特徴とする、付記10に記載の画像データ変換方法。
 (付記12)
 前記画像データ変換ステップによる画像データ変換後に、前記グレースケール化された白黒画像データを前記グレースケール化された白黒画像データよりも階調のすくない白黒画像データに変換することを特徴とする、付記7から11のいずれかに記載の画像データ変換方法。
 (付記13)
 カラー画像データをグレースケール化して白黒画像データに変換する画像データ変換装置としてのコンピュータに、
 前記白黒画像データが背景画像用として用いられるデータか否かを判断する判断処理と、
 前記白黒画像データが背景画像用として用いられるデータである場合に、前記カラー画像データを背景画像最小輝度値から最大輝度値までの輝度値を用いる白黒画像データに変換する画像データ変換処理と、
 を実行させるための画像データ変換用プログラム。
 (付記14)
 前記画像データ変換処理は、前記カラー画像データをフルスケールのグレースケールで白黒画像データに変換するグレースケール変換処理と、グレースケール化された白黒画像データを前記背景画像最小輝度値から前記最大輝度値までの輝度値を用いる前記白黒画像データに変換する画像輝度値変換処理と、を備えていることを特徴とする、付記13に記載の画像データ変換用プログラム。
 (付記15)
 前記画像データ変換処理は、前記カラー画像データを前記背景画像最小輝度値から前記最大輝度値までのグレースケールで白黒画像データに変換する背景画像用グレースケール変換処理であることを特徴とする、付記13に記載の画像データ変換用プログラム。
 (付記16)
 前記画像データ変換処理により変換された白黒画像データをヒストグラム伸張するヒストグラム伸張処理を備えることを特徴とする、付記13から15のいずれかに記載の画像データ変換用プログラム。
 (付記17)
 前記画像データ変換処理により変換された白黒画像データを用いる画像と、前記ヒストグラム伸張処理によりヒストグラム伸張が行われた白黒画像データを用いる画像とを出力する出力処理を備えることを特徴とする、付記16に記載の画像データ変換用プログラム。
 (付記18)
 前記画像データ変換処理による画像データ変換後に、前記グレースケール化された白黒画像データを前記グレースケール化された白黒画像データよりも階調のすくない白黒画像データに変換する、付記13から17のいずれかに記載の画像データ変換用プログラム。
 (付記19)
 付記13から18のいずれかに記載の画像データ変換用プログラムを記憶部に記憶し、プロセッサが該画像データ変換用プログラムに基づいて前記カラー画像データをグレースケール化して白黒画像データに変換するコンピュータ。
 (付記20)
 付記1から6のいずれかに記載の画像データ変換装置と、該画像データ変換装置から出力される白黒画像データ、又は該画像データ変換装置から出力される背景画像用白黒画像データを用いて印刷を行う印刷部と、を備えるPOS端末装置。
 (付記21)
 端末装置と通信網を介して接続されるサーバであって、
 付記1から6のいずれかに記載の画像データ変換装置と、前記端末装置からカラー画像データを受信し、該画像データ変換装置から出力される白黒画像データ、又は該画像データ変換装置から出力される背景画像用白黒画像データを前記端末装置へ送信する通信部と、を備えるサーバ。
 (産業上の利用可能性)
 本発明はカラー画像データをグレースケール化して白黒画像データに変換する画像データ変換装置に適用され、この画像データ変換装置はPOS端末装置、端末装置と接続されるサーバに好適に用いられる。
 以上、実施形態を参照して本発明を説明したが、本発明は上記実施形態に限定されものではない。本発明の構成や詳細には、本発明のスコープ内で当業者が理解し得る様々な変更をすることができる。
 この出願は、2016年2月8日に出願された日本出願特願2016-021492を基礎とする優先権を主張し、その開示の全てをここに取り込む。

Claims (11)

  1.  カラー画像データをグレースケール化して白黒画像データに変換する画像データ変換装置であって、
     前記白黒画像データが背景画像用として用いられるデータか否かを判断する判断手段と、
     前記白黒画像データが背景画像用として用いられるデータである場合に、前記カラー画像データを背景画像最小輝度値から最大輝度値までの輝度値を用いる白黒画像データに変換する画像データ変換手段と、
     を備える画像データ変換装置。
  2.  前記画像データ変換手段は、前記カラー画像データをフルスケールのグレースケールで白黒画像データに変換するグレースケール変換手段と、グレースケール化された白黒画像データを前記背景画像最小輝度値から前記最大輝度値までの輝度値を用いる前記白黒画像データに変換する画像輝度値変換手段と、を備えることを特徴とする、請求項1に記載の画像データ変換装置。
  3.  前記画像データ変換手段は、前記カラー画像データを前記背景画像最小輝度値から前記最大輝度値までのグレースケールで白黒画像データに変換する背景画像用グレースケール変換手段であることを特徴とする、請求項1に記載の画像データ変換装置。
  4.  前記画像データ変換手段により変換された白黒画像データをヒストグラム伸張するヒストグラム伸張手段を備えることを特徴とする、請求項1から3のいずれか一項に記載の画像データ変換装置。
  5.  前記画像データ変換手段により変換された白黒画像データを用いる画像と、前記ヒストグラム伸張手段によりヒストグラム伸張が行われた白黒画像データを用いる画像とを出力する出力手段を備えることを特徴とする請求項4に記載の画像データ変換装置。
  6.  前記画像データ変換手段による画像データ変換後に、前記グレースケール化された白黒画像データを前記グレースケール化された白黒画像データよりも階調のすくない白黒画像データに変換することを特徴とする、請求項1から5のいずれか一項に記載の画像データ変換装置。
  7.  カラー画像データをグレースケール化して白黒画像データに変換する画像データ変換装置の画像データ変換方法であって、
     前記白黒画像データが背景画像用として用いられるデータか否かを判断する判断ステップと、
     前記白黒画像データが背景画像用として用いられるデータである場合に、前記カラー画像データを背景画像最小輝度値から最大輝度値までの輝度値を用いる白黒画像データに変換する画像データ変換ステップと、
     を備える画像データ変換方法。
  8.  カラー画像データをグレースケール化して白黒画像データに変換する画像データ変換装置としてのコンピュータに、
     前記白黒画像データが背景画像用として用いられるデータか否かを判断する処理と、
     前記白黒画像データが背景画像用として用いられるデータである場合に、前記カラー画像データを背景画像最小輝度値から最大輝度値までの輝度値を用いる白黒画像データに変換する処理と、
     を実行させるための画像データ変換用プログラム。
  9.  請求項8に記載の画像データ変換用プログラムを記憶部に記憶し、プロセッサによって該画像データ変換用プログラムに基づいて前記カラー画像データをグレースケール化して白黒画像データに変換するコンピュータ。
  10.  請求項1から6のいずれか1項に記載の画像データ変換装置と、該画像データ変換装置から出力される白黒画像データ、又は該画像データ変換装置から出力される背景画像用白黒画像データを用いて印刷を行う印刷部と、を備えるPOS端末装置。
  11.  端末装置と通信網を介して接続されるサーバであって、
     請求項1から6のいずれか1項に記載の画像データ変換装置と、前記端末装置からカラー画像データを受信し、該画像データ変換装置から出力される白黒画像データ、又は該画像データ変換装置から出力される背景画像用白黒画像データを前記端末装置へ送信する通信部と、を備えるサーバ。

     
PCT/JP2016/005128 2016-02-08 2016-12-14 画像データ変換装置、画像データ変換方法、画像データ変換用プログラム、コンピュータ、pos端末装置、及びサーバ WO2017138055A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201680079510.XA CN108476271A (zh) 2016-02-08 2016-12-14 图像数据转换设备、图像数据转换方法、图像数据转换程序、计算机、pos终端设备和服务器
US16/068,539 US10523842B2 (en) 2016-02-08 2016-12-14 Image data conversion device, image data conversion method, image data conversion program, computer, POS terminal device, and server

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016-021492 2016-02-08
JP2016021492A JP6226440B2 (ja) 2016-02-08 2016-02-08 画像データ変換装置、画像データ変換方法、画像データ変換用プログラム、pos端末装置、及びサーバ

Publications (1)

Publication Number Publication Date
WO2017138055A1 true WO2017138055A1 (ja) 2017-08-17

Family

ID=59562950

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/005128 WO2017138055A1 (ja) 2016-02-08 2016-12-14 画像データ変換装置、画像データ変換方法、画像データ変換用プログラム、コンピュータ、pos端末装置、及びサーバ

Country Status (4)

Country Link
US (1) US10523842B2 (ja)
JP (1) JP6226440B2 (ja)
CN (1) CN108476271A (ja)
WO (1) WO2017138055A1 (ja)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6729170B2 (ja) * 2016-08-23 2020-07-22 沖電気工業株式会社 画像処理システム及び画像復号装置
JP6915629B2 (ja) * 2016-12-27 2021-08-04 ソニーグループ株式会社 製品デザインシステムおよびデザイン画像修正装置
CN107086027A (zh) * 2017-06-23 2017-08-22 青岛海信移动通信技术股份有限公司 文字显示方法及装置、移动终端及存储介质
CN112083895A (zh) * 2019-06-14 2020-12-15 苏州美一杯信息科技有限公司 食品定制化打印***及其控制方法
CN114501023B (zh) * 2022-03-31 2022-07-26 深圳思谋信息科技有限公司 视频处理方法、装置、计算机设备、存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000278530A (ja) * 1999-03-26 2000-10-06 Noritsu Koki Co Ltd 画像処理装置、画像処理方法および画像処理プログラムを記録した記録媒体
JP2011109256A (ja) * 2009-11-13 2011-06-02 Brother Industries Ltd 画像処理装置及び画像処理プログラム
JP2015173419A (ja) * 2014-03-12 2015-10-01 キヤノン株式会社 画像処理装置及びその制御方法とプログラム

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001018459A (ja) * 1999-07-09 2001-01-23 Hitachi Ltd プリンタ装置の印刷制御方法
JP2006007707A (ja) 2004-06-29 2006-01-12 Seiko Epson Corp 背景画像印刷装置および背景画像印刷方法
JP2007166543A (ja) * 2005-12-16 2007-06-28 Canon Inc 画像処理装置及びその方法
CN1878174A (zh) * 2006-01-26 2006-12-13 华为技术有限公司 根据定制信息显示wap浏览内容的方法
JP5014284B2 (ja) * 2008-08-08 2012-08-29 キヤノン株式会社 画像処理装置、画像処理方法、およびプログラム
KR101179497B1 (ko) * 2008-12-22 2012-09-07 한국전자통신연구원 얼굴 검출 방법 및 장치
JP5531837B2 (ja) * 2010-02-19 2014-06-25 コニカミノルタ株式会社 画像処理装置および画像読取装置
JP5880056B2 (ja) * 2012-01-13 2016-03-08 セイコーエプソン株式会社 画像データ生成装置、画像処理装置、画像処理システム、画像データ生成方法、画像処理方法、画像データ生成プログラムおよび画像処理プログラム
JP2015115838A (ja) * 2013-12-12 2015-06-22 キヤノン株式会社 画像処理装置、画像処理方法および画像処理を実行するプログラム

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000278530A (ja) * 1999-03-26 2000-10-06 Noritsu Koki Co Ltd 画像処理装置、画像処理方法および画像処理プログラムを記録した記録媒体
JP2011109256A (ja) * 2009-11-13 2011-06-02 Brother Industries Ltd 画像処理装置及び画像処理プログラム
JP2015173419A (ja) * 2014-03-12 2015-10-01 キヤノン株式会社 画像処理装置及びその制御方法とプログラム

Also Published As

Publication number Publication date
JP2017143321A (ja) 2017-08-17
US10523842B2 (en) 2019-12-31
US20190020785A1 (en) 2019-01-17
CN108476271A (zh) 2018-08-31
JP6226440B2 (ja) 2017-11-08

Similar Documents

Publication Publication Date Title
WO2017138055A1 (ja) 画像データ変換装置、画像データ変換方法、画像データ変換用プログラム、コンピュータ、pos端末装置、及びサーバ
US9538046B2 (en) Image reproduction using a particular color space
JP2006261882A (ja) 画像形成装置および画像形成方法
WO2005027504A1 (ja) 出力画像データ生成装置および出力画像データ生成方法
KR20180087842A (ko) 화상 처리 장치 및 그 제어 방법
JP4402580B2 (ja) 画像処理システム
JP4875132B2 (ja) 画像処理装置、画像データ出力処理装置、および画像処理方法
EP1202560A2 (en) Color correction table generating method, image processing device, image processing method and recording media
JP6241192B2 (ja) 画像処理装置、画像処理システム、画像処理方法、プログラム及び記録媒体
US8207985B2 (en) Image reproduction using a particular color space
JP2010258799A (ja) 画像処理装置並びにそれを備えた画像形成装置、画像処理方法、制御プログラムおよび記録媒体
CN114070952A (zh) 信息处理装置、信息处理方法和存储介质
JP2011059445A (ja) 画像形成装置、プレビュー画像の生成方法及びプログラム
US7809199B2 (en) Image processing apparatus
JP2005215353A (ja) 複数の階調特性で再生可能な画像データを生成する画像データ生成装置、および、これに対応する画像再生装置
JPH0659657A (ja) 画像処理装置
JP2011059193A (ja) 画像処理装置並びにそれを備えた画像形成装置、画像処理方法、制御プログラムおよび記録媒体
JP6293466B2 (ja) 画像処理装置、画像形成装置、画像処理方法、画像処理プログラム、記録媒体
JP2020005136A (ja) 画像処理装置、画像処理方法、及びプログラム
JP2024054067A (ja) 画像処理装置、画像形成装置、画像処理方法およびプログラム
JP2024042401A (ja) 画像処理装置、画像処理装置の制御方法およびプログラム
JP2004187146A (ja) 画像処理装置の色味変換方法
JP2004177887A (ja) 表示装置,文字画像生成装置,文字画像表示プログラム,文字画像表示プログラムを記録したコンピュータ読取可能な記録媒体および文字画像表示方法
JP2022040712A (ja) 画像処理装置、画像処理方法及び画像処理プログラム
JP2018093413A (ja) 画像処理装置、画像処理方法、及び、画像処理プログラム

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: 16889759

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: 16889759

Country of ref document: EP

Kind code of ref document: A1