About .tif image processing
古いコメントを表示
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?
回答 (3 件)
Iain
2013 年 5 月 28 日
0 投票
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" ...
Walter Roberson
2013 年 5 月 28 日
0 投票
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
2013 年 5 月 28 日
0 投票
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 件のコメント
Bob
2013 年 5 月 28 日
Image Analyst
2013 年 5 月 28 日
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
カテゴリ
ヘルプ センター および File Exchange で Image Preview and Device Configuration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!