How to find the human head from the thermal or gray scale images?

4 views (last 30 days)
Hi...How to find the human head from the below images or gray scale image?
Thank you.

Answers (1)

Image Analyst
Image Analyst on 26 Nov 2016
It should be hotter and larger than anything else. So simply threshold and call bwareafilt()
binaryImage = thermalImage > someTemperature;
binaryImage = bwareafilt(binaryImage, 1); % Take largest blob only.

Community Treasure Hunt

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

Start Hunting!