Hello All
I trying to apply a prediction model on an image , this require computing local image contrast either in spatial domain or in frequency domain, local contrast in spatial domain computing as the average of gradient magnitude over an image region , local contrast in frequency domain computing as the sum of the square of the magnitude of two dimensional discrete fourier transform , is there a matlab code which compute this directly ?? Thanks
Best Answer