Extracting features from a hyperspectral image

9 views (last 30 days)
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.

Accepted Answer

Image Analyst
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
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

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by