I have a JPEG that originally came from a IP Camera. I have converted the JPEG to a bytes and have uploaded it to my server. Upon receiving it on my server I save it to disk.
When I view the image it looks 'grainy' and 'reddish'.
When I perform a contrast stretch I get this:
When I perform a Hist-Equalization I get this:
N.B. I have also tried a filter just on the Red Channel:
Image<Bgr, byte> CurrentFrame = new Image<Bgr, byte>((Bitmap)picOriginal.Image.Clone()); CvInvoke.cvSmooth(CurrentFrame, CurrentFrame, SMOOTH_TYPE.CV_GAUSSIAN, 3, 3, 1.5, 0);
Is there another approach so I could make the image look better, 'balanced', if that makes sense?