Discussion:
Measure distance between edges coming close to each other
shauryasachdev
2014-09-15 22:26:19 UTC
Permalink
I am trying to measure the distance between edges that are coming close to
each other in a sequence of images. Is this possible to do via ImageJ?

I have around 1000 images and I want to measure the distance between the
edges in each of them. The edges come close to each other in this sequence
of these 1000 images.

For reference I am attaching 4 images from the sequence of 1000 images I
have.

<Loading Image...>
<Loading Image...>
<Loading Image...>
<Loading Image...>

Is it possible to do this in one go and store the required data in a file or
possibly automate the process using a macro? Opening each image and manually
measuring the distance is not practical for my project. I am new to imageJ
and have only a little clue on how to proceed.

Could anyone please help me out here?

Thanking you in advance!



--
View this message in context: http://imagej.1557.x6.nabble.com/Measure-distance-between-edges-coming-close-to-each-other-tp5009632.html
Sent from the ImageJ mailing list archive at Nabble.com.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Jerome Mutterer
2014-09-16 06:57:08 UTC
Permalink
Hi shauryasachdev
You could import all of your images as an image stack, draw a straight line
across a channel and that intercepts the object, then reslice the stack
accordingly. You will get a (line length)x1000 image on which measuring the
width of your object will be easier.

Relevant elements to achieve this are :

File>Import>Image Sequence... command
The Straight Line Tool (5th tool on the toolbar)
Image>Satck>Reslice [/]... command

Jerome.


I am trying to measure the distance between edges that are coming close to

each other in a sequence of images. Is this possible to do via ImageJ?

I have around 1000 images and I want to measure the distance between the
edges in each of them. The edges come close to each other in this sequence
of these 1000 images.

For reference I am attaching 4 images from the sequence of 1000 images I
have.

<http://imagej.1557.x6.nabble.com/file/n5009632/test001557.jpg>
<http://imagej.1557.x6.nabble.com/file/n5009632/test005263.jpg>
<http://imagej.1557.x6.nabble.com/file/n5009632/test009413.jpg>
<http://imagej.1557.x6.nabble.com/file/n5009632/test010445.jpg>

Is it possible to do this in one go and store the required data in a file or
possibly automate the process using a macro? Opening each image and manually
measuring the distance is not practical for my project. I am new to imageJ
and have only a little clue on how to proceed.

Could anyone please help me out here?

Thanking you in advance!



--
View this message in context:
http://imagej.1557.x6.nabble.com/Measure-distance-between-edges-coming-close-to-each-other-tp5009632.html
Sent from the ImageJ mailing list archive at Nabble.com.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
shauryasachdev
2014-09-16 15:13:07 UTC
Permalink
Thanks Jerome,

The method you mentioned is way more elegant than what I was trying before.
I implemented this method and now I able to measure the distance easily with
very little or zero error.

Shaurya



--
View this message in context: http://imagej.1557.x6.nabble.com/Measure-distance-between-edges-coming-close-to-each-other-tp5009632p5009646.html
Sent from the ImageJ mailing list archive at Nabble.com.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

Loading...