MATLAB: How to find global mean,variance and mean of minimum pixels ???

digital image processingimage processingImage Processing Toolboxthresholding

I am using these statistics parameters for preprocessing in biometric ….i am unble to find any code or algorithm, please help me.

Best Answer

Use mean2 and var
theGlobalMean = mean2(yourGrayImage);
theVar = var(double(yourGrayImage(:)));
I don't know how you define the "mean of minimum pixels". What are the minimum pixels? If I knew that, I'd just pass them into mean() or mean2().
Related Question