I am new to Matlab and to Image Processing as well, I know we can change image brightness by following formula if my image is I
newImg=imadjust(I, [low_in high_in], [low_out,high_out]);
it adjust all pixel’s value of image but how can I do it on some part of image, like I detected face in the image now I want change its brightness how can I do it using imadjust.
Edit
I have detected area in a binary mask.
I done it please see the answer and also the reference in the answer.
I done it,
Well I wanted to change the brightness of some area of the image, the area which I wanted was calculated by a binary mask
mask, So I did, First I simply change the brightness of my input ImageI, and store the result innewImglike thisthen apply mask on my orignal image and store value of masked area of
newImglike thisReference
I think its informative and not to bore anyone, If you guys wont motivate me then I cant learn, as people closed my thread just because I was asking questions, and I am using same database of Image for different type of projects.