About .tif image processing
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have servel .tif image(DMSP/OLS data),some of then are acquire by different remote sensor.I want to use one of them(imageA) as a reference and the other were adjusted to match the imageA. I try to use Matlab to read imageA,code as follows : GD1992=imread('path\imageA.tif')
Them I found it's a 3D array. How can I acquire its DN values?
0 commentaires
Réponses (3)
Iain
le 28 Mai 2013
I don't know what your imagery is, so telling you how to extract it's DN is not trivial.
Your image is 3x 2D arrays, where each of those 2D arrays is a single colour image (one red, one green, one blue). You can take the average of those three to get "brightness". Maybe brightness is the DN you need. Maybe your "DN" is "red-ness", "blue-ness", "green-ness" ...
2 commentaires
Walter Roberson
le 28 Mai 2013
A 3D array would suggest RGB values.
You might have multiple images in the TIFF file that you can read using imread() and the 'Index' parameter; see http://www.mathworks.com/help/matlab/ref/imread.html#f25-721031
You might have sub-images for some of the images in the TIFF file; for that see http://www.mathworks.com/help/matlab/import_export/importing-images.html#br_c8to-1
Image Analyst
le 28 Mai 2013
I don't know what " adjusted to match the imageA" means. Do you mean histogram matching, or spatial registration like you'd correct for with imregister()? And what does "remote" mean? Do you mean multi-band spectral satellite images? Or cameras taken from remote locations, like surveillance cameras?
2 commentaires
Image Analyst
le 28 Mai 2013
Sounds like you'll need to do both. Check out imregister(). Then, once they're aligned, you can do histogram matching. I have a histogram matching app in my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!