.net - Removing color cast from image -


i have digital camera takes photos 24x7 , depending on weather returns images nasty color cast. blue.

enter image description here

i have been trying find source code or library can call c# reduce color cast of images.

photoshop has feature works quite on images tested is:

  1. open image
  2. select image -> adjustments -> match color
  3. check neutralize check box

this works well, not know doing.

enter image description here

i not @ maths looking ideas on existing code or libraries use.

i have been searching web not found useful - love help.

this looks white balance set indoors (expecting reddish light) getting daylight (blue). gimp has color temperature slider change cast of pictures. talking preventing in future, or batch processing bunch of existing images. simple cameras (but maybe not mobile phones) have controls on white balance, future shots.

this looks web cam plugged computer? moving target, meaning wb being re-evaluated each time takes pic, , may not able apply same correction each image.

here imagemagick script can batch process color temperature on bunch of images. think approach uses temperature better 1 normalizing levels, because if shooting sky or ocean, , should blue? want make sure right blue.

edit: specific c# code, might check here. lower-left example in first set of color balanced images source image. there white balance function in source code of paint.net


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -