How to measure the length of lines

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to measure the length of lines

Patrick Schaal
Hi everybody,

here is my probleme. I've got several pictures (acutally that does not
matter, just to point out that I do have to do this task quiet often)
that show lines of different length and thickness. Now I am looking for
a plugin that measures all lines in one picture and gives me their
length and the mean length.

All lines are more or less orientated in x-direction (from the left side
to the right side).

Thanks in advance

Patrick
Reply | Threaded
Open this post in threaded view
|

Re: How to measure the length of lines

Patrick Schaal
Wayne Rasband schrieb:

>> here is my probleme. I've got several pictures (acutally that does not
>> matter, just to point out that I do have to do this task quiet often)
>> that show lines of different length and thickness. Now I am looking for
>> a plugin that measures all lines in one picture and gives me their
>> length and the mean length.
>>
>> All lines are more or less orientated in x-direction (from the left side
>> to the right side).
>
> It would help to see a sample image. The ImageJ mailing list does not
> except attachments so you need to upload the sample image to a website.
>
> -wayne
>

Sorry, I totaly forgot to enclose the link. Here it is:

http://img145.imageshack.us/my.php?image=dipic51401114dgp5.jpg

Greetings,

Patrick
Reply | Threaded
Open this post in threaded view
|

Re: How to measure the length of lines

Marcel.
In reply to this post by Patrick Schaal
Hello Patrick !

Convert your image to 8-bit (Image->type->8bit) .
Then adjust the threshold(Image->Adjust->Threshold).
Set the scale of your image(Analyze->setScale).
Then activate the measurements you want to get (Analyze->Set Measurements--Bounding Rectangle in your case works fine to get the length of the particles --) .
Then analyze the particles (Analyze->Analyze Particles-- Adjust the parameters for your needs ! ***activate "Show Outlines"***activate "Display results" to get the values----).
Adjust everything and all to get the best results !!!

Create a macro for the whole procedure and then
download this plugin for multiple image processing: http://ciar.rcm.upr.edu/projects/imageJ
->Load and process your images with the applied macro->hopefully finished your project !

I hope this short todo helps you !

Good luck !