How to enhance the colors of a photo taken underwater [closed]

asked 2018-10-05 12:17:58 -0600

msaidm gravatar image

updated 2018-10-06 01:57:44 -0600

berak gravatar image

I need to enhace the colors of a picture like this , I will be checking for geometrical objects under water based on their color so I need to rnhance their colors , the only code I wrote until now is that for extracting the shapes I still don’t know from where can I start in the enhancement as I also need this process to be really fast . Here is a sample link for the code of extracting the shapes https://stackoverflow.com/questions/1...

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by sturkmen
close date 2020-12-05 12:12:32.022560

Comments

In C++ or Python?

sjhalayka gravatar imagesjhalayka ( 2018-10-05 14:11:44 -0600 )edit

in python sir

msaidm gravatar imagemsaidm ( 2018-10-05 14:13:23 -0600 )edit

OK, so before the code is written, the design must be completed. What is your method to compensate for all of that blue hue? One way would be to make the blue channel all zeroes. What method do you think would work?

sjhalayka gravatar imagesjhalayka ( 2018-10-05 14:19:13 -0600 )edit

Sir, I still don't know what to do I am searching for a way that will help me to start so I need suggestions

msaidm gravatar imagemsaidm ( 2018-10-05 15:10:10 -0600 )edit

I can't help you out. Please come back once you have an algorithm in mind.

sjhalayka gravatar imagesjhalayka ( 2018-10-05 19:24:56 -0600 )edit

@msaidm , in the future, please spare us duplicate questions. rather keep it all in a single one, and update it if needed, thank you.

berak gravatar imageberak ( 2018-10-06 03:14:39 -0600 )edit

You can try white balance algorithm in Gimp. Result image.

Eduardo gravatar imageEduardo ( 2018-10-06 04:33:41 -0600 )edit

@ okay sir do u have a Link for its implementation?

msaidm gravatar imagemsaidm ( 2018-10-06 14:24:34 -0600 )edit

Have a look at the description of the method here or search on the web.

Eduardo gravatar imageEduardo ( 2018-10-06 17:24:58 -0600 )edit