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?


Terry Huang
on 18 Jul 2013

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

Image Analyst
on 19 Jul 2013

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

Terry Huang
on 19 Jul 2013

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.

Discover MakerZone

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

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!