How can I first create the mask and apply to the image obtained from the AVIRIS sensor?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Milan Bansal
el 5 de Oct. de 2023
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 comentarios
Ver también
Categorías
Más información sobre Image Processing Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!