How to go back to the original size of an image
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Damian Wierzbicki
il 11 Lug 2017
Commentato: Damian Wierzbicki
il 12 Lug 2017
Hi guys. Assume that I have a matrix of 2n x 2m size that represents my image ( entries are intensities of each pixel ). or series of matrices ( images ). Then I used the software to get the displacement field for that matrix in comparison with some reference image ( of the same size ), but matrix ( image ) that represents the displacement is of size n x m. The issue is how can I now match all the displacement values to the points in my original matrix ( image ) ?
0 Commenti
Risposta accettata
KSSV
il 11 Lug 2017
doc imresize. You can resize your data to your desired dimensions using this.
4 Commenti
Image Analyst
il 11 Lug 2017
No, it doesn't necessarily. An image is a 2-D array of numbers that can represent anything you want it to. It can be intensities, like an optical image, it can be densities, like an x-ray or CT image, it can be relaxation times, like an MRI image, it can be heights or distances like a profilometer image, it can be type of object, like a classified/labeled image, or whatever. For your case it's displacements, and that is fine. That's a perfectly acceptable image and imresize() will work fine with it and produce correct results.
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!