Claims
- 1. An image processing device comprising:
a first color detection means for detecting colors of a first image data by each processing unit; a second color detection means for detecting colors of a second image data that serves as the first image data's background by each processing unit; and a color adjusting means for specifying a uniform adjusting color that makes the first image data recognizable against all colors of the second image data that serves as the first image data's background, concerning the first image data that have approximately equal colors.
- 2. An image processing device as claimed in claim 1, further comprising:
an image synthesizing means for synthesizing the first image data converted into said adjusting color with said second image data.
- 3. An image processing device as claimed in claim 1, wherein
said processing unit is a pixel.
- 4. An image processing device as claimed in claim 1, further comprising:
a first memory means for storing the colors of the first image data by each of the approximately equal colors; and a second memory means for storing the colors of the second image data that serves as the first image data's background said colors of which are correlated to each of the corresponding colors of the first image data that are stored in said first memory means; wherein said color adjusting means includes an average color value calculating means for calculating an average value of all the colors of the second image data correlated to each of the colors of the first image data, and an adjusting color calculating means for calculating said adjusting color for each of the colors of the first image data based on each of the colors of the first image data and the average color value of the second image data calculated in correspondence with each of the colors of the first image data.
- 5. An image processing device as claimed in claim 4, further comprising:
a judging means for judging that colors of the first image data are approximately equal when a sum of squares of the differences of their coordinate values in a specified color system is less than a specified value.
- 6. An image processing device as claimed in claim 4, wherein
said average color value calculating means calculates the average value of the coordinate values of the colors of the second image data in a specified color system.
- 7. An image processing device as claimed in claim 6, wherein
when a color of the first image data stored in said first memory means, an average color value of the second image data calculated in correspondence with the color of the first image data, and an adjusting color of the first image data are expressed in the L*a*b* color system as (Ln, an, bn), (LAn, aAn, bAn), and (Lnc, anc, bnc), said adjusting color calculating means calculates the (Lnc, anc, bnc) that maximizes the value J in the following formulas:J=(Lnc−LAn)2+(anc−aAn)2+(bnc−bAn)2H=bn/an.
- 8. An image processing device as claimed in claim 6, wherein
when a color of the first image data stored in said first memory means, an average color value of the second image data calculated in correspondence with the color of the first image data, and an adjusting color of the first image data are expressed in the L*a*b* color system as (Ln, an, bn), (LAn, aAn, bAn), and (Lnc, anc, bnc), said adjusting color calculating means setsanc=|an|, when aAn<0; anc=−|an|, when aAn≧0,bnc=|bn|, when bAn<0; bnc=−|bn|, when bAn≧0,and maximizes Lnc.
- 9. An image processing device as claimed in claim 1, wherein
said first image data is an image data that represents character images.
- 10. An image processing device as claimed in claim 1, further comprising:
a third memory means for storing said second image data.
- 11. An image processing device as claimed in claim 2, further comprising:
a file preparing unit for preparing an electronic file based on the image data synthesized by said image synthesizing means.
- 12. An image processing device as claimed in claim 1, further comprising:
a scanner unit for obtaining said first image data and/or said second image data by means of reading a document.
- 13. An image processing device as claimed in claim 2, further comprising:
a printer unit for printing images on recording media based on the image data synthesized by said image synthesizing means.
- 14. A program product for image processing that causes a computer to execute a process comprising the steps of:
detecting colors of a first image data by each processing unit; detecting colors of a second image data that serves as the first image data's background by each processing unit; and specifying a uniform adjusting color that makes the first image data recognizable against all colors of the second image data that serves as the first image data's background, concerning the first image data that have approximately equal colors.
- 15. A program product as claimed in claim 14, wherein said process further comprising the step of:
synthesizing the first image data converted into said adjusting color with said second image data.
- 16. A program product as claimed in claim 14, wherein
said processing unit is a pixel.
- 17. A program product as claimed in claim 14, wherein said process further comprising the steps of:
storing the colors of the first image data by each of the approximately equal colors into a specified memory means; and storing the colors of the second image data that serves as the first image data's background said colors of which are correlated to each of the corresponding colors of the first image data that are stored in said specified memory means; wherein said step of specifying a uniform adjusting color includes the steps of: calculating an average value of all the colors of the second image data correlated to each of the colors of the first image data, and calculating said adjusting color for each of the colors of the first image data based on each of the colors of the first image data and the average color value of the second image data calculated in correspondence with each of the colors of the first image data.
- 18. A program product as claimed in claim 17, wherein said process further comprising the step of:
judging that colors of the first image data are approximately equal when a sum of squares of the differences of their coordinate values in a specified color system is less than a specified value.
- 19. A program product as claimed in claim 17, wherein
said step of calculating average value is for calculating the average value of the coordinate values of the colors of the second image data in a specified color system.
- 20. A program product as claimed in claim 19, wherein
when a color of the first image data stored in said specified memory means, an average color value of the second image data calculated in correspondence with the color of the first image data, and an adjusting color of the first image data are expressed in the L*a*b* color system as (Ln, an, bn), (LAn, aAn, bAn), and (Lnc, anc, bnc), said step of specifying a uniform adjusting color is for calculating the (Lnc, anc, bnc) that maximizes the value J in the following formulas:J=(Lnc−LAn)2+(anc−aAn)2+(bnc−bAn)2H=bn/an.
- 21. A program product as claimed in claim 19, wherein
when a color of the first image data stored in said specified memory means, an average color value of the second image data calculated in correspondence with the color of the first image data, and an adjusting color of the first image data are expressed in the L*a*b* color system as (Ln, an, bn), (LAn, aAn, bAn), and (Lnc, anc, bnc), said step of specifying a uniform adjusting color is for settinganc=|an|, when aAn<0; anc=−|an|, when aAn≧0,bnc=|bn|, when bAn<0; bnc=−|bn|, when bAn≧0,and maximizing Lnc.
- 22. A program product as claimed in claim 14, wherein
said first image data is an image data that represents character images.
- 23. A program product as claimed in claim 15, wherein said process further comprising the step of:
preparing an electronic file based on the image data synthesized at said step of synthesizing.
- 24. An image processing method comprising the steps of:
detecting colors of a first image data by each processing unit; detecting colors of a second image data that serves as the first image data's background by each processing unit; and specifying a uniform adjusting color that makes the first image data recognizable against all colors of the second image data that serves as the first image data's background, concerning the first image data that have approximately equal colors.
- 25. An image processing method as claimed in claim 24, further comprising the step of:
synthesizing the first image data converted into said adjusting color with said second image data.
- 26. An image processing method as claimed in claim 24, wherein
said processing unit is a pixel.
Priority Claims (1)
Number |
Date |
Country |
Kind |
2000-267304 |
Apr 2000 |
JP |
|
Parent Case Info
[0001] This application is based on Japanese Patent Application No. 2000-267304 filed on Sep. 4, 2000, the contents of which are hereby incorporated by reference.