How can I first create the mask and apply to the image obtained from the AVIRIS sensor?
1 次查看(过去 30 天)
显示 更早的评论
I have the .TIFF file image which is 2500 band image. I want to read the image but it is impossible to read such large image. I thought of creating the ROI mask and apply to image and read only the ROI portion of image?
How can I created the ROI mask and apply to an image?
0 个评论
回答(1 个)
Milan Bansal
2023-10-5
Hi Meghraj Kc,
As per my understanding you want to know how to create Region of Interest (RoI) mask for a large multiband image as you are not able to read it.
It is possible to read such a large multiband image by using "multibandread" function in MATLAB. Please refer to the example below for reading a multiband image.
filename = 'multibandImage.tif'; % Replace with the actual filename and path
image = multibandread(filename, [height, width, 2500], 'uint16', 0, 'bsq');
Please refer to the below documentation link to learn more about "multibandread" function.
Please refer to the following MATLAB Answer which solves a similar problem.
There are a number of ways to create RoI masks for an image depending upon the shapes, color-range, and use-cases.
Please refer to the following documentation link to learn about different functions for "RoI-Based Processing".
Hope it helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!