Displaying Multispectral Image in MATLAB
Afficher commentaires plus anciens
I have multispectral image (data3.tif) which is raw image of 6 bands.
I used following code to read the image and matlab reads it properly no issues. I tried to seperate band 4 from raw image and displayed single band it is also works fine.
A=imread('data3.tif');
% b1=im2single(A(:,:,4));
but imshow(A) and imtool(A) doesnot works
i tried multibandread also it does not works.
Actually I need to train neural network for segmentation which accepts [256 256 6] as an input size. To do that first i need to display image (data3.tif) for cliping small patches from the raw data. My problem is imshow and imtool is shows an error if i use imshow(A) and imtool(A).
Question is
how To display multispectral image which has 6 bands in a single image ?
how to crop small patches from raw image?
If i cropped small patch in raw image whether it has same 6 bands?
link for image size 22MB
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Display Point Clouds dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!