MATLAB Answers

Terry Huang

Need help isolating the flame in an image.

Asked by Terry Huang
on 8 Jul 2013

I was wondering what method would be the best way to accurately extract a flame from an image with a lot of noise/background?


1 Answer

Answer by Image Analyst
on 8 Jul 2013
 Accepted answer

I'd use either intensity thresholding or color segmentation. Where did you upload your image?


also could you explain this line alittle: thresholdValue = meanGL + 1.1 * sd;

It just thresholds the image at 1.1 standard deviations above the mean gray level.

Gotcha, I noticed in the segmented picture (the one that's black and white) there is still some noise to the right of the flame. Is there any way to get rid of this noise because I will be wanting to track the right and left most points of the flame.

Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!