Image Normalization
Hi everoyne,
I have an image and i would like to have it normalized so that it has a prespecified mean and variance. Does OpenCV has a predefined function for this work ?
where μd and σ2 are the desired values for mean and variance.
Thanks!
I am not sure but you might be able to use the code from this answer here. It seems also to match with the example in this link, though the latter is in the old C api.
@berak this function will give him the mean and variance values of the image, but @Mimikian from what I understood he wants to create/normalize an image so that it would match to predefined mean and variance values.