Image processing apparatus and method, and program
AssigneeSony Corporation
InventorTomoo Mitsunaga
Life of this patent
Estimating the term…
Abstract
An image processing apparatus includes a histogram calculation unit configured to calculate a histogram of a luminance value for each spatial block obtained by dividing an input image in a spatial direction, a gray scale correction coefficient calculation unit configured to calculate a gray scale correction coefficient used for correction of the gray scale of a luminance value for each bin of the histogram, and a gray scale correction unit configured to perform gray scale correction of a luminance value of a target pixel based on the gray scale correction coefficient of the bin to which the target pixel of the input image belongs and the gray scale correction coefficient of a bin adjacent to the bin to which the target pixel belongs in the spatial direction and a luminance direction.
Claims10
An image processing apparatus comprising:
- a histogram calculation means for calculating a histogram of a luminance value for each spatial block obtained by dividing an input image in a spatial direction;
- a gray scale correction coefficient calculation means for calculating a gray scale correction coefficient used for correction of the gray scale of a luminance value for each bin of the histogram;
- and
- a gray scale correction means for performing gray scale correction of a luminance value of a target pixel based on the gray scale correction coefficient of the bin to which the target pixel of the input image belongs and the gray scale correction coefficient of a bin adjacent to the bin to which the target pixel belongs in the spatial direction and a luminance direction.
An image processing method of an image processing apparatus for performing gray scale correction of a luminance value of an input image, comprising the steps of:
- calculating a histogram of a luminance value for each spatial block obtained by dividing the input image in a spatial direction;
- calculating a gray scale correction coefficient used for correction of the gray scale of a luminance value for each bin of the histogram;
- and
- performing gray scale correction of a luminance value of a target pixel based on the gray scale correction coefficient of the bin to which the target pixel of the input image belongs and the gray scale correction coefficient of a bin adjacent to the bin to which the target pixel belongs in the spatial direction and a luminance direction.
A non-transitory computer-readable medium embodying a computer program for executing, on a computer, a process comprising the steps of:
- calculating a histogram of a luminance value for each spatial block obtained by dividing the input image in a spatial direction;
- calculating a gray scale correction coefficient used for correction of the gray scale of a luminance value for each bin of the histogram;
- and
- performing gray scale correction of a luminance value of a target pixel based on the gray scale correction coefficient of the bin to which the target pixel of the input image belongs and the gray scale correction coefficient of a bin adjacent to the bin to which the target pixel belongs in the spatial direction and a luminance direction.
An image processing apparatus comprising:
- a histogram calculation unit configured to calculate a histogram of a luminance value for each spatial block obtained by dividing an input image in a spatial direction;
- a gray scale correction coefficient calculation unit configured to calculate a gray scale correction coefficient used for correction of a gray scale of a luminance value for each bin of the histogram;
- and
- a gray scale correction unit configured to perform gray scale correction of a luminance value of a target pixel based on the gray scale correction coefficient of the bin to which the target pixel of the input image belongs and the gray scale correction coefficient of a bin adjacent to the bin to which the target pixel belongs in the spatial direction and a luminance direction.
Dependencies are inferred from the claim text.