Quantcast
Channel: Intel® Integrated Performance Primitives
Viewing all articles
Browse latest Browse all 1294

16u color conversions

$
0
0

RGB

This shows a histogram created with ippiHistogram_16u_C4R from the 16u RGB image at http://adriaan.biz/preview/DSCA_002205-preview.tif

HSV

The histogram of the same 16u RGB image after a call to ippiRGBToHSV_16u_AC4R and ippiHSVToRGB_16u_AC4R.

HLS

The histogram of the same 16u RGB image after a call to ippiRGBToHLS_16u_AC4R and ippiHLSToRGB_16u_AC4R.

XYZ

The histogram of the same 16u RGB image after a call to ippiRGBToXYZ_16u_AC4R and ippiXYZToRGB_16u_AC4R.

Luv

The histogram of the same 16u RGB image after a call to ippiRGBToLUV_16u_AC4R and ippiLUVToRGB_16u_AC4R.

The histograms show that the RGB to HSV and HLS conversions (and back to RGB) are good. The RGB to XYZ conversion (and back) isn't precise in the high tones. The RGB to LUV conversion (and back) looses information in the high tones. I think 16u is precise enough that the XYZ and LUV round-trip conversions should be better. So, I am reporting this as a bug.

Regards,

Adriaan van Os

 

 


Viewing all articles
Browse latest Browse all 1294

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>