Public Lab Research note


Hypersperctral imaging using DIY kits

by amirberAgain | February 13, 2016 21:52 | 2,344 views | 21 comments | #12685 | 2,344 views | 21 comments | #12685 13 Feb 21:52

A couple of years ago a friend showed me how a hyper spectral camera works. I cam to the realization such an instroment can be built very easily. I have noticed that when using the Public lab's mobile spectrometer it is possible to see variations in lighting when rotating the spectromter jig. I wish to share this project with others.

So far I have been able to mainly use this camera to produce images for fun and interest, I hope to be ale to use it in the future to detect objects based on thire spectral signiture. I attach a link to the SW exe and source file. for the exe file first download LabVIEW runtime engine 2011. Several example files are attached.

SW and example image files can be found at: https://drive.google.com/open?id=0BwNVMC-VPEnTQWRtYUNGZ3JNeTQ either download the "Build HSI.7z" or the folder under the same name.

Runtime engine can be dowloaded at: http://www.ni.com/download/labview-run-time-engine-2011/2534/en/

Example video showing how to use the SW can be found at: https://youtu.be/4OifvoPyha4

Further explenation on Hyper Spectral Imaging (HSI) and perliminary explenation on using the SW is found under the DIY HSI ppt file.

Amir


21 Comments

Thank you for posting this, Amir!

When I saw your note I immediately thought "I have to look up that guy who posted to the spectrometry list in 2014" and it was you!!

Reply to this comment...


Yes, it sure been a while, thank you for noticing. It took me some time to get it done, but then another 18 months or so to finally decide I'm putting it out there. hope someone can find a use for it!

Amir

Reply to this comment...


Hi Amir,

I gone through your ppt about hyperspectral imaging and it is really very simple and easy to understand. I am into recycling of plastic, i think we can use your concept of hyperspectral imaging for identification and sorting of various plastic at low cost. can you help me developing this product. you can mail me on shaikhgous@gmail.com

thank you

Reply to this comment...


I am planning on buying a kit to see if it will help me with my bees during the winter. Bees cluster for warmth and the ability to see the heat signature from outside the hive will provide many benefits. I hope to check and track cluster size and movement without opening the hive. I also have a garden, so learning how to check plant health is interesting as well.

Reply to this comment...


Hi shaikhgous, thank you for expressing interest! I would be happy to help as best I can, please feel free to ask here Abby thing I can help with. I'd be happy to hear more about your initiative.

Reply to this comment...


Hi roborob, for thermal signature you would benefit from using a thermal camera in the FLIR region of the spectrum. Look for the Lepton camera for ~300$ US.

Reply to this comment...


Hi and thanks for the reply. $300 is way out of my budget. I only need to "see" into a pine box with walls only about 1/2 inch thick. The bee cluster is less than a foot from the walls on the inside. I also would like to incorporate a Raspberry PI (or clone) for data capture and storage. Would you happen to have any suggestions for a DIY solution? Anything would be helpful at this point.
Best regards, rob

Is this a question? Click here to post it to the Questions page.

Reply to this comment...


The option I suggested is based around a rpi, but it's expensive. Alternatives you should probably check are either placing a temperature sensor in the hive or using a FLIR like photodiode. In any case, the set up described in this post would not suite your needs.

Reply to this comment...


Hi amir,

I have modified the webcam by removing the ir filter from it, I have IR Pass filter which i can use with it. Can you give me step by step procedure how to capture the photos of different objects on one background using the spectrometer. I have seen the DIY spectrometry kit and I can make the spectrometer

Reply to this comment...


I have another question. Would this kit be good for testing and measuring LED lights (wavelength, lumens, etc)? The first objective would be to validate claims made by companies that sell grow lights. The second would be to measure LED lights where specificatipns are not given. I want to build LED grow lights in a custom configuration. However I want to buy some sample LEDs and test them before committing to a larger purchase.

Is this a question? Click here to post it to the Questions page.

Reply to this comment...


is it possible to make a lightweight Hyperspectral camera that can be flown using a drone if we aim for s specific bandwidth?

Is this a question? Click here to post it to the Questions page.

Reply to this comment...


@Indianajuns It is my impression this setup is light enough to be placed on a drone, but would require work adapting it mechanically. @roborob It is my impression that the Public Lab's regular spectrometer would be better suited for this.

Reply to this comment...


Hi @amirberAgain would you be interested in putting together the necessary hardware to improve this design?

Is this a question? Click here to post it to the Questions page.

Reply to this comment...


Hello @maykef do you have an example you are thinking of?

Is this a question? Click here to post it to the Questions page.

Reply to this comment...


A field scanner for agriculture applications mounted in a sprayer or drone

Reply to this comment...


Not sure I got you, The required HW is basically the PLab spectrometer where I have used a rainbow symphony grating instead of a CD grating for better optical quality. not much more to it in terms of HW.

Reply to this comment...


@amirberAgain Your HW setup is pretty much interesting, I wonder if it can be upgrade to something more durable/precise, e.g. replacing the grating with a prism and using a more sophisticated monochrome camera.

Reply to this comment...


Forsure, thou, I wouldn't change the grating to a prism. option 1 Holographic diffraction grating from Edmond optics pack of 15 <20$US Option 2 Other options here: https://www.edmundoptics.com/optics/gratings/

As for cameras, the options are endless and there is definitely what to gain from using a good monochrome camera.

Reply to this comment...


@amirberAgain This is a great post! I am new to hyperspectral imaging, but I am investigating using the technique to separate samples generated in our lab. One question: Do the measurements of the pipe matter or could it be just any pipe. Thanks!

Krishna

Reply to this comment...


Hi @kimoyerr, As long as you get the first order diffraction to the camera the pipe's shape is of lesser importance(that's what I think). My first prototype was the paper/cardboard spectrometer with a different grating. Since the BOM cost is so low I'd recommend you try to make it work, feel free to post here if you want specific advice or even better - share your success!

Reply to this comment...


Thanks @amirberAgain! I will try out different things. Excited to get my hands dirty!

Reply to this comment...


Login to comment.