Hello i want to normalise my image of size 112x98 using a concept of local mean and local variance.I wan to first convert my image into W flat regions of size NXN pixels and then compute the local mean and variance of these regions.
The normalisation end formula for the whole image would be then
I=I-mean_I;%% where mean_I is a 112x98 size image containing the local mean of all the w regions .
final=I/Var_T%%%% where Var_I is a 112x98 size image containing the local variance of all the w regions .
Can someone please help me on how to code this stuff on matlab.