Extracting features from a hyperspectral image
9 views (last 30 days)
Show older comments
Luqman Safdar on 4 Feb 2023
Commented: Image Analyst on 10 Feb 2023
Hi, could anyone please recommend a step-by-step tutorial for an absolute beginner to go from image to data? I have hundreds of NIR images and want to extract data out to start the modelling etc., but having no experience with imaging data I am clueless. I assume there would be guided tutorials with instructions on how to go from .raw and .hdr to the stage where you have numbers in an output file to start testing. Any recommendataions are greatly appreciated.
Image Analyst on 4 Feb 2023
You're asking too much. We can't give you a lesson-by-lesson course on hyperspectral imaging. Try searching online for one.
However to get started with the basics of image processing in MATLAB, see my Image Segmentation Tutorial in my File Exchange:
It's a generic, general purpose demo of how to threshold an image to find blobs, and then measure things about the blobs, and extract certain blobs based on their areas or diameters.
Image Analyst on 10 Feb 2023
So I'd like I said, create a mask by scanning through all 256 images thresholding just above the black background and using bwareaopen to take only blobs as big as, say half a grain. Then OR all the masks together to create a master mask with all grains in it. Then you can scan through again getting the mean intensity of all grains with regionprops
More Answers (0)
Find more on Image Segmentation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!