computing local contrast for an image
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Eman Elhafnowi
am 20 Jun. 2015
Beantwortet: Image Analyst
am 20 Jun. 2015
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
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 20 Jun. 2015
To get local contrast, use rangefilt(). To get the gradient image, use imgradient(). To average the gradient within a window, use conv2() or imfilter(). To compute the Fourier Transform, use fft2().
0 Kommentare
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!