COLOR FRINGING PROCESSING INDEPENDENT OF TONE MAPPING
Systems and methods are disclosed for image signal processing. For example, methods may include receiving an image from an image sensor, detecting, in a linear domain, color fringing areas in the image, correcting detected color fringing areas to obtain a corrected image, performing tone mapping to the corrected image to obtain a tone mapped image and storing, displaying, or transmitting an output image based on at least the tone mapped image.
1 . A method comprising:
accessing an image from an image sensor;
detecting color fringing areas in the image;
performing tone mapping to the image to obtain a tone mapped image prior to color correction of the image based on the color fringing areas; and
storing, displaying, or transmitting an output image based on at least the tone mapped image.
2 . The method of claim 1 , wherein the color correction of the image is performed in a red-green-blue (RGB) color domain.
3 . The method of claim 1 , wherein the performing is performed in a non-linear domain.
4 . The method of claim 1 , the method further comprising:
storing positions of the detected color fringing areas.
5 . The method of claim 4 , the method further comprising:
accessing the stored positions of the detected color fringing areas.
6 . The method of claim 1 , the method further comprising:
setting a color fringing correction indicator.
7 . The method of claim 6 , the method further comprising:
determining if the color fringing correction indicator is set.
8 . The method of claim 7 , wherein the color correction of the image is performed a non-linear domain.
9 . A system, comprising:
an image sensor configured to detect an image; and
an image processor configured to access the image and comprised of:
a color fringing detection unit configured to store detected color fringing areas in the image; and
a tone mapping unit configured to tone map the image to obtain a tone mapped image prior to correction of the stored detected color fringing areas,
wherein the image processor is configured to store, display, or transmit an output image based on at least the tone mapped image.
10 . The system of claim 9 , wherein the color fringing detection unit is configured to operate in a linear color space and wherein the tone mapping unit is configured to operate in a non-linear color space.
11 . The system of claim 10 , wherein the color fringing detection unit is configured to set a color fringing correction indicator when color fringing areas are detected.
12 . The system of claim 9 , wherein the color fringing correction unit is configured to operate non-sequentially with respect to the color fringing detection unit and the system further comprises:
a storage unit configured to store positions of the detected color fringing areas.
13 . The system of claim 12 , wherein the color fringing detection unit is configured to operate in a red-green-blue color space.
14 . The system of claim 13 , wherein the tone mapping unit is configured to operate in a non-linear color space.
15 . A method comprising:
accessing an image from an image sensor;
performing, after detection of color fringing areas in the image and before correction of the image based on the color fringing areas, tone mapping on the image to obtain a tone mapped image; and
storing, displaying, or transmitting an output image based on at least the tone mapped image.
16 . The method of claim 15 , wherein the correction of the image is performed non-sequentially with respect to the detection of the color fringing areas, the method further comprising:
storing positions of the detected color fringing areas.
17 . The method of claim 16 , wherein the correction of the image is performed in a non-linear space.
18 . The method of claim 17 , wherein the performing is performed in a non-linear space.
19 . The method of claim 18 , wherein the non-linear space is a luminance and chrominance (YUV) color space.
20 . The method of claim 15 , further comprising:
setting a color fringing correction indicator when color fringing areas are detected; and
determining if the color fringing correction indicator is set.