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.

Risposte (1)

Image Analyst
Image Analyst il 16 Giu 2014
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 Commenti

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
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().
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?
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.
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.
can you please give me a demo on which you are working.
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.
ok sir..can you please help me how to form a curved structure into a straightened patch.
I don't have any code for that (yet).

Questa domanda è chiusa.

Richiesto:

il 16 Giu 2014

Chiuso:

il 20 Ago 2021

Community Treasure Hunt

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

Start Hunting!

Translated by