Public Lab Research note


Image + Video Segmentation in Near-Infrared Using HSV Color Spaces with OpenCV in Python

by ektopyrotic | October 03, 2020 19:08 03 Oct 19:08 | #24696 | #24696

Demo Video Here:https://www.youtube.com/watch?v=LR37KuKt5nQ&feature=emb_title

Full Research Blog Article:http://muonray.blogspot.com/2020/10/image-video-segmentation-in-near.html

GitHub Coding:https://github.com/MuonRay/Image-VideoSegmentationinNIRforPlantDetection

Here I will be sharing a technique to perform a simple kind of image segmentation used to separate certain objects visible in the near-infrared and ultraviolet using the hue, saturation and value values (HSV) contained in the color space with OpenCV in Python. This is a useful tool in the processing of NIR images and video when we want to search for vegetation in an image using a defined threshold. Moreover, we can perform fast NDVI analysis on the examined region in the video clips.

This procedure is very useful for accurate scaling of NDVI in the region of interest, the vegetation of the image, and removing the background so as to focus on the NDVI of plant material only.

The potential for detecting plants in an image or video is also a field of interest for us in plant exploration and detection in desert regions and for plant counting by techniques such as ring detection. It is hoped these developments will be useful in detecting rare or well hidden plant specimens in remote areas for plant population monitoring in deserts and mountains.


3 Comments

Dual bandpass filters used on the modified DJI Mavic 2 Pro Full-Spectrum Hasselblad can be purchased here: Both Types of Filters for sale here:

https://www.ebay.ie/itm/155859816325

https://www.ebay.ie/itm/155859834544

Reply to this comment...


This is a little strange. In most fields, color analysis is usually done with an instrument called a hunter colorimeter. Some of the instruments are now full spectrophotometers. The instruments are calibrated to look at colors the way the eye sees it, so scientific comparison of color is valid. Needless to day, the instruments are significantly different from these instruments. And usually more costly, as well. Is there any a reason, besides cost( which is a very good reason), why the alternate method was chosen?

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

Reply to this comment...


My apologies. I messed up. Your camera does some image processing similar to some of the special "indexes" used in Hunter instruments. They measure across the visible spectrum and then do processing ( this scales are usually L,a,b* with different illuminants). Again, my apologies.

Reply to this comment...


Login to comment.