Examples disclosed herein relate to classifying paper based on three-dimensional characteristics of the paper. For example, a representation of the three-dimensional characteristics of the paper may be created, and statistical summary information related to the three-dimensional characteristics of the paper may be determined based on the representation. The paper may be classified based on the statistical summary information.
|
1. A computing system, comprising:
a photometric stereo imaging system with a rectangular input aperture and four light sources arranged with one at each corner of the aperture to capture multiple images of a printing substrate;
a storage to store paper classification information related to three-dimensional statistics of printing substrate types; and
a processor to:
determine a description of the three-dimensional characteristics of a printing substrate based on images of the printing substrate captured by the photometric stereo imaging system;
determine statistical summary information related to the three-dimensional characteristics description; and
classify the printing substrate based on a comparison of the statistical summary information to the stored printing substrate classification information.
12. A machine-readable non-transitory storage medium comprising instructions executable by a processor to:
collect photometric stereo data with a photometric stereo imaging system having a rectangular input aperture and four light sources arranged with one at each corner of the aperture, the photometric stereo data comprising images of a paper captured by the photometric stereo imaging system;
create a representation of three-dimensional characteristics of the paper based on the photometric stereo data related to the paper;
determine statistical summary information related to the three-dimensional characteristics of the paper based on the representation;
classify the paper based on the statistical summary information;
set print parameters based on the classification of the paper to optimize print quality; and
printing on the paper using the set print parameters.
5. A method, comprising:
collecting photometric stereo information with a photometric stereo imaging system having a rectangular input aperture and four light sources arranged with one at each corner of the aperture, the photometric stereo information comprising images of a printing substrate captured by the photometric stereo imaging system;
creating, by a processor, a representation of three-dimensional characteristics of the printing substrate based on the photometric stereo information related to the printing substrate;
determining a statistical signature of the three-dimensional characteristics of the printing substrate based on the representation;
classifying the printing substrate based on the statistical signature as being one of labels, regular paper, photographic paper or cardstock;
setting print parameters of a printer based on the classification of the printing substrate to improve print quality; and
printing an image on the printing substrate using the print parameters set for the corresponding classification of printing substrate.
2. The computing system of
determines printing parameters based on the paper classification; and
causes a printer to print on the printing substrate using the determined printing substrate parameters.
3. The computing system of
4. The computing system of
6. The method of
7. The method of
8. The method of
9. The method of
10. The method of
11. The method of
13. The computing system of
14. The computing system of
15. The method of
16. The machine-readable non-transitory storage medium of
17. The machine-readable non-transitory storage medium of
18. The machine-readable non-transitory storage medium of
|
Printing may be performed on different types of paper substrates, such as labels, traditional paper, photographic paper, or card stock. The papers may have different topography from one another. For example, card stock with a glossy appearance may have a different surface texture than card stock with a more matte finish.
The drawings describe example embodiments. The following detailed description references the drawings, wherein:
In one implementation, a paper is automatically classified according to three-dimensional characteristics of the paper. The classification may be performed based on a photometric stereo mapping of the paper created from images of the paper illuminated from different light sources. A three-dimensional representation of the paper may be determined based on the photometric stereo mapping of the paper. Summary information about the three-dimensional characteristics of the paper may be determined such that the paper may be more easily compared to classification information. For example, a machine-learning method may be performed to create a model for classifying paper, and the summary information may be classified according to the model.
Small topographical differences in paper may affect the way printed material appears on the paper. As such, it may be desirable to change the way content is printed based on the classification of the paper substrate. For example, color processing may be performed differently based on the paper classification. The amount of toner and/or ink may be adjusted according to the paper classification to alter the color processing.
The photometric stereo imaging system 104 may be used to estimate surface normals of paper based on images of the paper in different lighting conditions. The photometric stereo imaging system 104 may use any suitable camera. In one implementation, a Dyson relay lens with 1:1 magnification is used. It may use a fixed focal length and fixed focus contact device. The photometric stereo imaging system 104 may include an air gap between the imaging device and the target paper, such as a 4.5 mm gap. The gap may allow for more options for the illumination source positioning.
Illumination from different sources may prevent a directional component from a single light source giving a directional filtering effect. In some implementations, at least three light sources are used. For example, the photometric stereo imaging system 104 may include four light sources. The light sources may be, for example, light emitting diodes (LEDs). A light source may be placed at each of the corners of an input aperture of a relay lens associated with the photometric stereo imaging system 104. The light sources may be controlled independently such that they may illuminate together and/or some of the light sources may not be used. For example, a serial interface may be used to control the light sources. Multiple images of the target paper may be captured with three or more known illumination surfaces, and the images may be used to create a mapping of the surface slant and albedo of the target paper. The input images of the target paper used to create the mapping may be, for example, high dynamic range (HDR) images. As an example, the photometric stereo technique may be performed as disclosed by R. J. Woodham in “Photometric Method for Determining the Surface Orientation from Multiple Images” published in Optical Engineering, Volume 19 No. 1 in 1980.
Referring back to
The processor 101 may be a central processing unit (CPU), a semiconductor-based microprocessor, or any other device suitable for retrieval and execution of instructions. As an alternative or in addition to fetching, decoding, and executing instructions, the processor 101 may include one or more integrated circuits (ICs) or other electronic circuits that comprise a plurality of electronic components for performing the functionality described below. The functionality described below may be performed by multiple processors.
The processor 101 may communicate with the machine-readable storage medium 102. The machine-readable storage medium 102 may be any suitable machine readable medium, such as an electronic, magnetic, optical, or other physical storage device that stores executable instructions or other data (e.g., a hard disk drive, random access memory, flash memory, etc.). The machine-readable storage medium 102 may be, for example, a computer readable non-transitory medium. The machine-readable storage medium 102 may include instructions executable by the processor 101. For example, the machine-readable storage medium 102 includes paper three-dimensional description instructions 106, three-dimensional summary statistics determination instructions 107, and paper classification instructions 108.
The paper three-dimensional description instructions 106 may include instructions to create a description of the three-dimensional characteristics of a paper. The paper may be paper, such as cardstock or labels, used as a printing substrate. A surface mapping of the three-dimensional characteristics of the paper may be determined from a surface normal map created from the photometric stereo imaging system 104. The description of the three-dimensional characteristics may be, for example, a shape index representing the three-dimensional shape of the paper at different locations along the paper. As an example, a shape index for indicating the topography of an object at different portions may be similar to the shape index described in “Surface Shape and Curvature Scales” published by J. J. and van Doom and A. J. Koenderink in Image and Vision Computing, Vol. 10 No. 8 in 1992.
The three-dimensional summary statistics determination instructions 107 may include instructions to summarize the description of the three-dimensional characteristics. For example, a more concise version of the description of the three-dimensional characteristics may be created to be used to classify the paper. The summary statistics may include, for example, contrast, energy, and/or entropy information related to the three-dimensional characteristics.
The paper classification instructions 108 may include instructions to classify the paper based on a comparison of the summary statistics of the paper to the paper classifying information 105. In some cases, the comparison may result in the paper being determined to be an unknown type, such as where the three-dimensional characteristics of the paper substrate do not resemble those of the categories.
In one implementation, the machine-readable storage medium 102 is associated with a printer, and instructions for classifying a paper printing substrate are executed when a paper is provided to the printer. The paper may be classified, and printer settings may be automatically determined based on the paper printing substrate.
Beginning at 300, a processor creates a representation of the three-dimensional characteristics of a paper based on photometric stereo information related to the paper. The paper may be, for example, a card, label, photographic paper, sheet of paper, box, or other paper substrate for printing. In one implementation, multiple images are captured using different illumination sources. For example, the paper may be illuminated using at least three light emitting diodes. In one implementation, a rectangular image of a portion of the paper is captured. Four light emitting diodes may be used such that a light source is associated with each of the four corners of the image.
In one implementation, the three-dimensional representation is created by analyzing curvature information related to the photometric stereo data. This may be performed, for example, by determining first order derivatives along the x-axis and y-axis, determining the mean of the first order derivatives, and determining principle curves from the mean curvature information. The principle curve information may be used to determine a shape index for the paper surface. The shape index may represent a data of curvature information of the paper surface. For example, the shape index may include an entry for representing the three-dimensional characteristic of each pixel or other portion of a shape map of the paper. In one implementation, the shape index S is formed by
Where k1 and k2 represent principal curvatures measured directly from the surface normals. The surface normals may be obtained from the photometric stereo data. The three-dimensional representation may include information about both the paper and ink or other items on the paper.
Continuing to 301, a processor determines a statistical signature of the three-dimensional characteristics of the paper based on the representation. The signature may provide a reduced amount of data that can be analyzed to classify the paper. The signature may be created by summarizing any relevant three-dimensional information associating with the paper. The information may include, for example, contrast, energy, and/or entropy of the paper. In one implementation, the signature is derived from a co-occurrence matrix related to relative changes in three-dimensional characteristics across the paper.
In one implementation, co-occurrence information may be extracted from a shape index map of the paper. The co-occurrence information may be determined in a horizontal and vertical direction for changes in patches, such as a pixel or set of pixels, of the shape index map. For example, the three-dimensional signature may include horizontal contrast, vertical contrast, horizontal energy, vertical energy, and entropy. A co-occurrence matrix may be derived from the shape index using a vertical or horizontal offset. Summarization contrast and energy values may be determined based on the co-occurrence matrix, and entropy may be measured directly from the shape index map.
Moving to 302, a processor classifies the paper based on the signature. In one implementation, the paper is classified according to a machine learning model. For example, a machine learning model, such as a neural network, may be created by classifying papers with known classifications. For example, multiple images using different illumination sources may be taken of a paper with a known type. The images may be taken of different locations of the paper and the different locations of the paper may be associated with different surface types. A portion of the sample papers may be used for training a neural network or other machine learning model, a portion for validation, and a portion for testing. The training features may include, for example, energy, contrast, and entropy. In some cases, the classification may indicate that the paper is in an uncategorized group, such as where the topography of the paper does not relate to any of the learned categories.
In one implementation, printing parameters are selected based on the three-dimensional characteristics of the paper. For example, color may appear differently on paper according to the topography of the paper. To account for differences in the texture of paper printing substrates, an International Color Code (ICC) profile may be associated with each of the paper categories. When the paper is categorized, the associated profile is used by the printer for printing on the paper.
In one implementation, the classification is used to identify the source of the paper and/or ink on the paper. For example, the different classifications may represent different sources. Classifying the paper may be used to confirm that the paper is associated with the expected source. If the paper is not associated with the expected source, counterfeiting may be expected. For example, the processor may output information indicating a level of likelihood of counterfeiting.
Pollard, Stephen, Simske, Steven J., Adams, Guy, Smith, Melvyn, Smith, Lyndon, Malekmohamadi, Hossein, Emrith, Khemraj
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
5214490, | Apr 26 1990 | Reliance Electric Ltd. | Sheet dimension measurement system |
6985622, | Sep 21 2001 | HEWLETT-PACKARD DEVELOPMENT COMPANY L P | System and method for color correcting electronically captured images by determining input media types using color correlation matrix |
7130573, | Apr 12 2002 | Canon Kabushiki Kaisha | Image forming apparatus |
7336394, | Jul 10 2002 | Canon Kabushiki Kaisha | Discriminating method for recording medium and recording apparatus |
8396384, | Feb 18 2009 | Kabushiki Kaisha Toshiba | Apparatus and method of determining the type of paper sheet, and image formation apparatus |
20060045356, | |||
20120314233, | |||
20130243455, | |||
20130301913, | |||
20160019686, | |||
JP2001124859, | |||
JP2002029120, | |||
WO2010010229, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Dec 18 2013 | SMITH, MELVYN | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 044797 | /0722 | |
Dec 18 2013 | EMRITH, KHEMRAJ | UNIVERSITY OF THE WEST OF ENGLAND | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 045126 | /0001 | |
Dec 18 2013 | POLLARD, STEPHEN | UNIVERSITY OF THE WEST OF ENGLAND | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 045126 | /0001 | |
Dec 18 2013 | SIMSKE, STEVEN J | UNIVERSITY OF THE WEST OF ENGLAND | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 045126 | /0001 | |
Dec 18 2013 | MALEKMOHAMADI, HOSSEIN | UNIVERSITY OF THE WEST OF ENGLAND | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 045126 | /0001 | |
Dec 18 2013 | EMRITH, KHEMRAJ | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 044797 | /0722 | |
Dec 18 2013 | SIMSKE, STEVEN J | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 044797 | /0722 | |
Dec 18 2013 | POLLARD, STEPHEN | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 044797 | /0722 | |
Dec 18 2013 | ADAMS, GUY | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 044797 | /0722 | |
Dec 18 2013 | MALEKMOHAMADI, HOSSEIN | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 044797 | /0722 | |
Dec 18 2013 | SMITH, MELVYN | UNIVERSITY OF THE WEST OF ENGLAND | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 045126 | /0001 | |
Dec 19 2013 | ADAM, GUY | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 043707 | /0549 | |
Dec 19 2013 | ADAM, GUY | UNIVERSITY OF THE WEST OF ENGLAND | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 045126 | /0001 | |
Jan 06 2014 | Hewlett-Packard Development Company, L.P. | (assignment on the face of the patent) | / | |||
Dec 14 2017 | SMITH, LYNDON | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 044797 | /0722 | |
Dec 14 2017 | SMITH, LYNDON | UNIVERSITY OF THE WEST OF ENGLAND | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 045126 | /0001 |
Date | Maintenance Fee Events |
Jun 11 2021 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Date | Maintenance Schedule |
May 22 2021 | 4 years fee payment window open |
Nov 22 2021 | 6 months grace period start (w surcharge) |
May 22 2022 | patent expiry (for year 4) |
May 22 2024 | 2 years to revive unintentionally abandoned end. (for year 4) |
May 22 2025 | 8 years fee payment window open |
Nov 22 2025 | 6 months grace period start (w surcharge) |
May 22 2026 | patent expiry (for year 8) |
May 22 2028 | 2 years to revive unintentionally abandoned end. (for year 8) |
May 22 2029 | 12 years fee payment window open |
Nov 22 2029 | 6 months grace period start (w surcharge) |
May 22 2030 | patent expiry (for year 12) |
May 22 2032 | 2 years to revive unintentionally abandoned end. (for year 12) |