i have done 2d dft using fft2 and received phase and magnitude image.how to store that image shown using imshow in separate variable.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
imshow(abs(fftshift(image)),[24 10000]). using this im getting the image but how to store it a separate variable for future operation. please tel me except Saveas . if i give a= abs(....); im getting white image of magnitude..help to solve it.
0 commentaires
Réponses (1)
Nitin
le 26 Fév 2014
I suspect because the values are too high. You might need to rescale your image. This should rescale your image between 0 and 1.
imshow(I,[]);
To save it, just convert it:
I = mat2gray(A, [amin amax])
You can find more info here:
0 commentaires
Voir également
Catégories
En savoir plus sur Import, Export, and Conversion dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!