APPARATUS AND METHOD FOR CLASSIFYING IMAGES
First Claim
1. An apparatus for classifying an image, comprising:
- an image divider for dividing an input image into blocks, wherein each block includes a plurality of pixels; and
an image type determiner for calculating a hue value and a chroma value for each of the blocks, determining, for each one of the blocks, whether the one of the blocks is a color-changed block by calculating differences between the hue value and chroma value calculated for all blocks adjacent to the one of the blocks and the hue value and chroma value calculated for the one of the blocks, calculating a hue variance and a chroma variance for the entire input image if a number of determined color-changed blocks is greater than or equal to a first preset threshold, and determining that the input image is a non-monochromatic image if the hue variance is greater than or equal to a second preset threshold or the chroma variance is greater than or equal to a third preset threshold.
1 Assignment
0 Petitions
Accused Products
Abstract
An image classification apparatus and method for Automatic White Balance (AWB) are provided. An input image is divided into blocks including pluralities of pixels. A hue value and a chroma value are calculated for each of the blocks. A color-changed block is detected by calculating, for each one of the blocks, differences between the hue and chroma values calculated for all blocks adjacent to the one of the blocks and the hue and chroma values calculated for the one of the blocks. A hue variance and a chroma variance are calculated for the entire input image if a number of the detected color-changed blocks is greater than or equal to a first threshold. The input image is determined as a non-monochromatic image, if the hue variance is greater than or equal to a second threshold or the chroma variance is greater than or equal to a third threshold.
-
Citations
12 Claims
-
1. An apparatus for classifying an image, comprising:
-
an image divider for dividing an input image into blocks, wherein each block includes a plurality of pixels; and an image type determiner for calculating a hue value and a chroma value for each of the blocks, determining, for each one of the blocks, whether the one of the blocks is a color-changed block by calculating differences between the hue value and chroma value calculated for all blocks adjacent to the one of the blocks and the hue value and chroma value calculated for the one of the blocks, calculating a hue variance and a chroma variance for the entire input image if a number of determined color-changed blocks is greater than or equal to a first preset threshold, and determining that the input image is a non-monochromatic image if the hue variance is greater than or equal to a second preset threshold or the chroma variance is greater than or equal to a third preset threshold. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for classifying an image, comprising:
-
dividing an input image into blocks, wherein each block includes a plurality of pixels; calculating a hue value and a chroma value for all the blocks, and a hue value and a chroma value for each of the blocks; determining, for each one of the blocks, whether the one of the blocks is a color-changed block by calculating differences between the hue value and the chroma value calculated for all blocks adjacent to the one of the blocks and the hue value and the chroma value calculated for the one of the blocks; calculating a number of the detected color-changed blocks and comparing the number of the detected color-changed blocks with a first preset threshold; calculating a hue variance and a chroma variance for the entire input image if the number of the determined color-changed blocks is greater than or equal to the first preset threshold, and determining whether the hue variance is greater than or equal to a second preset threshold and the chroma variance is greater than or equal to a third preset threshold; and determining that the input image is a non-monochromatic image, if the hue variance is greater than or equal to the second preset threshold or the chroma variance is greater than or equal to the third preset threshold. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification