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!