Login  Register

selection of picture in a file

Posted by paul_rostand on Apr 26, 2011; 9:07am
URL: http://imagej.273.s1.nabble.com/selection-of-picture-in-a-file-tp3684803.html

hello,
first I apologize because may some of you will find my question stupid,but
please take the fact that  I am a beginner in consideration.
I recorded a welding process with a sensor. The sensor delivers a huge amount of
pictures organized in different files. the sensor was configured so that in each
files, it automatically saves a given amount of picture (which can not been
changed), so that when the process  last shorter, the sensor take pictures from
the previous processes to reach the given number of picture. As result I have
many processes saved in the same file but  I am only interested in the last
process.
 
I would like to know if there is any possiblity with imageJ to go to upload the
file, select the picture of the last process and delete automatically the
useless one.
 
 As soon as the different processes are separated by some blanck pictures, my
idea was to plot the z-axis profile of the file (Intensity mean value vs slides
number), so I clearly see the different processes.
 
To select the desired process I decided to plot a line in this z-axis profile
and look for the intersection points of this horizontale line (with y value
below the minimal value of the intensity for all the processes).

 
The intesections points of this line with the mean intensity curve should give
me as result the slides numbers corresponding the to the beginning and the end
of each process.

 
And as soon as I am intesrested only in the last process I can select the slides
numbers corresponding the my process by doing a comparison between the
interpolation results.
 
I have problem at the following steps:
 
1- how to plot a line automatically in the z-axis profile curve (without manual
click with to mouse)
2- how to read out the values of the intesections points between the curve and
the line
3-When the whole file is uploaded will it be  any way to delete automatically
the useless slides according to the previous results ?
(the process durations are diferents for diffrents files so the determined
position of the 1st and the last picture of the desired process will change from
file to file)? or must I just save the region of interest and upload it again?
 
thank you in advanced for your help
attached you will find an example of the z-axis profile for one file.
 
BEST REGARDS
 
Paul

z_profile (33K) Download Attachment