When you take photograph at the night time, you picture come to a dark position so I am using photoshop to make dark photograph to look shine so follow this example.
Open an Image: Open an image to modify as I have gotten it.
Color Range: Go to Select Menu > Color Range and click your pointer on the dark place then make setting as given below.
Your image will be selected like this.
Curves: Go to Image Menu > Adjustment > Curves and make setting as given below.
Levels: Go to Image Menu > Adjustment > lavels use setting as given below.
Add Brightness and contrast.
Your image will look like this.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.