Method of processing image of electronic device and electronic device thereof
First Claim
1. An electronic device, comprising:
- a camera that obtains an image;
at least one processor; and
memory storing programming instructions executable by the at least one processor to cause the electronic device to;
set a quadrangular area in the obtained image including a reference pixel and a corresponding pixel disposed respectively at corners of the quadrangular area,calculate an accumulated-pixel value for each pixel of the obtained image corresponding to the quadrangular area including a lower-right corner pixel, an upper-left corner pixel, an upper-right corner pixel, and a lower-left corner pixel, such that a particular pixel value for a particular pixel is a sum of the pixel values beginning from the reference pixel, continuing through an arrangement of pixels in the quadrangular area and terminating at the particular pixel; and
generate an image quality processing-dedicated frame of accumulated-pixel values based on calculated accumulated-pixel values of each pixel of the frame,wherein calculating the accumulated-pixel value includes adding pixel values of the lower-right corner pixel to the upper-left corner pixel and subtracting pixel values of the upper-right corner pixel and lower-left corner pixel.
1 Assignment
0 Petitions
Accused Products
Abstract
According to various embodiments of the present disclosure, an electronic device includes: a camera module that obtains an image; and a processor which implements the method, including setting a quadrangular area in the obtained image including a reference pixel and a corresponding pixel disposed respectively at corners of the quadrangular area, calculating an accumulated-pixel value for each pixel of the obtained image corresponding to the quadrangular area, such that a particular pixel value for a particular pixel is a sum of the pixel values beginning from the reference pixel, continuing though an arrangement of pixels in the quadrangular area and terminating at the particular pixel, and generating an image quality processing-dedicated frame of accumulated-pixel values based on calculated accumulated-pixel values of each pixel of the frame.
32 Citations
18 Claims
-
1. An electronic device, comprising:
-
a camera that obtains an image; at least one processor; and memory storing programming instructions executable by the at least one processor to cause the electronic device to; set a quadrangular area in the obtained image including a reference pixel and a corresponding pixel disposed respectively at corners of the quadrangular area, calculate an accumulated-pixel value for each pixel of the obtained image corresponding to the quadrangular area including a lower-right corner pixel, an upper-left corner pixel, an upper-right corner pixel, and a lower-left corner pixel, such that a particular pixel value for a particular pixel is a sum of the pixel values beginning from the reference pixel, continuing through an arrangement of pixels in the quadrangular area and terminating at the particular pixel; and generate an image quality processing-dedicated frame of accumulated-pixel values based on calculated accumulated-pixel values of each pixel of the frame, wherein calculating the accumulated-pixel value includes adding pixel values of the lower-right corner pixel to the upper-left corner pixel and subtracting pixel values of the upper-right corner pixel and lower-left corner pixel. - View Dependent Claims (2, 3, 4, 5)
-
-
6. An image processing method for an electronic device, comprising:
-
obtaining an image through a camera of the electronic device; setting a quadrangular area in the obtained image including a reference pixel and a corresponding pixel disposed respectively at corners of the quadrangular area; calculating an accumulated-pixel value for each pixel of the obtained image corresponding to the quadrangular area including a lower-right corner pixel, an upper-left corner pixel, an upper-right corner pixel, and a lower-left corner pixel, such that a particular pixel value for a particular pixel is a sum of the pixel values beginning from the reference pixel, continuing through an arrangement of pixels in the quadrangular area and terminating at the particular pixel; and generating an image quality processing-dedicated frame of accumulated-pixel values based on calculated accumulated-pixel values of each pixel of the frame, wherein calculating the accumulated-pixel value includes adding pixel values of the lower-right corner pixel to the upper-left corner pixel and subtracting pixel values of the upper-right corner pixel and lower-left corner pixel. - View Dependent Claims (7, 8, 9, 10)
-
-
11. An electronic device, comprising:
-
a camera that obtains an image; at least one processor; and memory storing programming instructions executable by the at least one processor to cause the electronic device to; generate an image quality processing-dedicated frame with respect to the obtained image based on the obtained image, and set at least one of; a first region of interest disposed within the obtained image using the generated image quality processing-dedicated frame, and a second region of interest having a size or disposed at a location differing from at least one of a size and location of the first region of interest, respectively, and set a quadrangular area in the obtained image including a reference pixel and a corresponding pixel disposed respectively at corners of the quadrangular area, wherein the first region of interest includes the quadrangular area, and the programming instructions are further executable by the at least one processor to obtain data of the first region of interest from the generated image quality processing-dedicated frame by; adding a first pixel value of a first pixel disposed at a first corner of the quadrangular area to a second pixel value of a second pixel disposed at a second corner of the quadrangular area, the first corner diagonally opposite the second corner, and the first pixel disposed farther from the reference pixel among all pixels in the first region of interest, and subtracting, from the sum of the first pixel value and the second pixel value, both a third pixel value of a third pixel disposed at a third corner of the quadrangular area and a fourth pixel value of a fourth pixel disposed at a fourth corner of the quadrangular area. - View Dependent Claims (12, 13, 14)
-
-
15. An image processing method of an electronic device, comprising:
-
obtaining an image through a camera of the electronic device; generating an image quality processing-dedicated frame with respect to the obtained image based on the obtained image; and setting at least one of; a first region of interest disposed within the obtained image using the generated image quality processing-dedicated frame, and a second region of interest having a size or disposed at a location differing from at least one of a size and location of the first region of interest, respectively, setting a quadrangular area in the obtained image including a reference pixel and a corresponding pixel disposed respectively at corners of the quadrangular area, wherein the first region of interest includes the quadrangular area, and data of the first region of interest is obtained from the generated image quality processing-dedicated frame by; adding a first pixel value of a first pixel disposed at a first corner of the quadrangular area to a second pixel value of a second pixel disposed at a second corner of the quadrangular area, the first corner diagonally opposite the second corner, and the first pixel disposed farther from the reference pixel among all pixels in the first region of interest, and subtracting, from the sum of the first pixel value and the second pixel value, both a third pixel value of a third pixel disposed at a third corner of the quadrangular area and a fourth pixel value of a fourth pixel disposed at a fourth corner of the quadrangular area. - View Dependent Claims (16, 17, 18)
-
Specification