Method of determining color composition of an image
Abstract
A method of determining color composition of an image includes calculating an intensity value and a saturation value for each pixel of the image, comparing the calculated intensity and saturation values for each pixel with first and second predetermined threshold values, respectively, and labeling pixels with calculated intensity values above the first predetermined threshold value and calculated saturation values above the second predetermined threshold value as color pixels. Next, a mask is applied to the image and the number of color pixels selected by the mask is counted. If the number of color pixels selected by the mask is greater than or equal to a predetermined density value, the image is determined to be a color image.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 13.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of determining color composition of an image, the method comprising: calculating an intensity value and a saturation value for each pixel of the image, wherein the intensity value of each pixel is calculated by the formula I=(R+G+B)/3, where I represents intensity value, R, G and B respectively represent red, green, and blue color levels, and the saturation value of each pixel is calculated by the formula S=1−Min(R, G, B)/I, where S represents the saturation value and Min(R, G, B) selects the minimum color level among the R, G, and B color levels; comparing the calculated intensity an
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗