Apparatus and method for processing image, and computer-readable storage medium
AssigneeSamsung Electronics Co., Ltd.
InventorsEun-sun Ahn, Jin-pyo Gwak
Life of this patent
Estimating the term…
Abstract
An apparatus and a method for processing an image. The method includes: increasing contrast of an input image to generate a first image; adding a mask having a pattern showing an image effect, to the first image to generate a second image; and adjusting a range of pixel values of the second image to generate a resultant image.
Claims16
A method of processing an image, comprising:
- capturing the image;
- receiving a user selection of an image effect;
- increasing the contrast of the captured image according to a first look-up table (LUT) to generate a first image,
- wherein the first LUT is configured to adjust pixel values in a 1-1st brightness range of low brightness values to a minimum brightness value of the pixel brightness values, increase contrast of pixel values in a 1-2nd brightness range of intermediate brightness values, and adjust pixel values in a 1-3rd brightness range corresponding to upper brightness values to a maximum brightness value of the pixel values;
- adding a mask having a pattern showing the selected image effect to the first image to generate a second image;
- removing the effect from at least part of the second image according to a second LUT, wherein the second LUT is configured to adjust pixel values in a 2-1st brightness range of the second image corresponding to a low pixel value range to a minimum value of the pixel values and reduce pixel values in a 2-2nd range of the second image to generate a resultant image;
- and
- displaying the resultant image as a live-view image.
An apparatus for processing an image, comprising:
- a first processor configured to
- receive a user selection of an image effect;
- increase a contrast of an input image to generate a first image according to a first look-up table (LUT) applier which uses a first LUT configured to adjust pixel values in a 1-1st brightness range corresponding to a low pixel value range to a minimum value of the pixel values, increase contrast of pixel values in a 1-2nd brightness range corresponding to an intermediate pixel value range, and adjust pixel values in a 1-3rd brightness range corresponding to an upper pixel value range to a maximum value of the pixel values;
- a mask applier configured to add a mask having a pattern showing the selected image effect to the first image to generate a second image;
- a second processor configured to remove the effect from at least part of the second image according to a second LUT configured to adjust pixel values in a 2-1st brightness range of the second image corresponding to a low pixel value range to a minimum value of the pixel values and reduce pixel values in a 2-2nd range of the second image to generate a resultant image, and
- a live-view provider configured to display the resultant image as a live-view image.
A non-transitory computer program product, comprising a computer usable medium having a computer readable program code embodied therein, said computer readable program code adapted to be executed to implement a method of processing an image, said method comprising:
- capturing the image;
- receiving a user selection of an image effect;
- increasing the contrast of the captured image according to a first look-up table (LUT) to generate a first image,
- wherein the first LUT is configured to adjust pixel values in a 1-1st brightness range of low brightness values to a minimum brightness value of the pixel brightness values, increase contrast of pixel values in a 1-2nd brightness range of intermediate brightness values, and adjust pixel values in a 1-3rd brightness range corresponding to upper brightness values to a maximum brightness value of the pixel values;
- adding a mask having a pattern showing the selected image effect to the first image to generate a second image;
- removing the effect from at least part of the second image according to a second LUT, wherein the second LUT is configured to adjust pixel values in a 2-1st brightness range of the second image corresponding to a low pixel value range to a minimum value of the pixel values and reduce pixel values in a 2-2nd range of the second image to generate a resultant image;
- and displaying the resultant image as a live-view image.
Dependencies are inferred from the claim text.