2D image improfile function help

There are two things I would like to do with this function.
First one is to determine max intensity:
1. Scan the y-coordinate for the highest intensity value, then record it as the intensity for this x-coordinate. 2. Do this for the entire length of the image. 3. Plot max intensity vs x-axis.
Second is to average this intensity graph.
1. Read subsequent images (extracted frames from a video file) 2. Have an average plot of max intensity vs x-axis.
The main purpose is to identify the flame section against a black background (see attached).

댓글 수: 3

Geoff Hayes
Geoff Hayes 2014년 7월 17일
There is no file attached.
Image Analyst
Image Analyst 2014년 7월 17일
편집: Image Analyst 2014년 7월 17일
What is the question? And are you taking columns from the image as you go across (in which case you don't need improfile) or are you going from one pixel to another at an arbitrary distance and angle (in which case you'll need improfile)?
A Sez
A Sez 2014년 7월 17일
Hi, I've attached the file. Basically I want to get the peak intensity accross the x-axis (L to R) of that picture. As you see it is quite all over the place Hope that clarifies it

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2014년 7월 17일

0 개 추천

Why not use the max() function along the rows dimension?
maxValuesAlongX = max(grayImage, [], 1); % Max along dimension 1 (rows)

질문:

2014년 7월 17일

답변:

2014년 7월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by