to calculate pixel values of a structure

how to calcute the pixel intensities of a structure in a gray scale image. i used improfile but it gives only the pixel intensities across a line.

답변 (1개)

Image Analyst
Image Analyst 2014년 6월 16일

0 개 추천

What "structure" do you have? Of course you know that the image array variable itself is a collection of all the intensities of each and every pixel in the image. So please explain what a structure is. How are you defining your structure?

댓글 수: 9

raj kumar
raj kumar 2014년 6월 16일
sir,i have a chest xray image.I use improfile() and draw an outline over the rib border.my question is I need to get the intensity values of rib portion in the image.how do I get it?kindly reply sir
Image Analyst
Image Analyst 2014년 6월 16일
Use improfile() if you want to get the intensity along a line. Use imfreehand if you want the intensity of an area. See attached demos for imfreehand().
raj kumar
raj kumar 2014년 6월 16일
sir, can you please explain how could I make the curved rib into a straight one.the paper on which I am working says that ,profiles through each point in the lower rib border in the direction perpendicular to it is concatenated to form a straightened patch.do you have any ide about it?
Image Analyst
Image Analyst 2014년 6월 16일
You don't need to. Just traverse the centerline of the rib taking cross sections. I'm working on a general purpose demo for that but it's not quite ready yet.
raj kumar
raj kumar 2014년 6월 16일
sir, I have two options to form a straightened patch in my paper.The first one is that,take profiles from lower border of rib to upper border through a perpendicular and concatenate. second one is find the center line of rib and obtain the profile across the points in the center line and form a patch.which one is easy according to you.Can you please help me.
raj kumar
raj kumar 2014년 6월 16일
can you please give me a demo on which you are working.
Image Analyst
Image Analyst 2014년 6월 17일
I'm not sure when I'll get it finished. If I remember (which is doubtful) I'll post it back here when it's done.
raj kumar
raj kumar 2014년 6월 18일
ok sir..can you please help me how to form a curved structure into a straightened patch.
Image Analyst
Image Analyst 2014년 6월 18일
I don't have any code for that (yet).

이 질문은 마감되었습니다.

질문:

2014년 6월 16일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by