Posted by
Sarah Badr on
URL: http://imagej.273.s1.nabble.com/macro-imagecalculator-on-image-sequence-tp5001199p5001210.html
Hello Rainer,
I made a video of small grains moving and I would like to look at their
displacement. Each record I made contains hundreds of pictures, thus a
macro is necessary.
I thought I could :
1 - import an image sequence from the original image sequence with a step
between them that can be choosen ;
2- substract adjacent frames (imageA1=image2 - image1 ; ImageA2=image3 -
image2...) : I get white spots where something moved;
3 - save ImageA1, ImageA2...
4 - make one picture out of all the substracted ones (ImageA1,
ImageA2...).
5 - a movie out of all the substracted ones (ImageA1, ImageA2...).
4 and 5: to see the grain displacement with the white spots
Thank you for your help
Sarah
Le Mar 18 décembre 2012 16:44, Rainer M. Engel a écrit :
>> Hello,
>> I am a beginner with imageJ.
>> I want to create a macro using image calculator on an image
sequence.
>> Could I have some help with it please?
>> Thank you
>> Sarah
>>
>
>
> Hello Sarah,
>
>
> could you perhaps provide some more information in what way you want
to
> use the image calculator? With a static image as reference, in
the
> sequence with the preceding frame (which adjacent frame)?
>
> You could segment your task into smaller steps.
>
>
> 01: Importing an image sequence
"getFileList(directory)"
>
>
> 02a: Loop through your calculations with image calculator
> 02b: Save new resulting images, make a measurement ...?
>
>
> What's your plan, what shall become after using the image
calculator,
> what's the purpose of this processing, what is your aim?
>
> This might help in helping you.
>
>
>
> Best regards,
> Rainer
>
>
>
>
> --
> Rainer M. Engel, Dipl. Digital Artist
> scientific|Media GbR Pichelsdorferstr. 143
> D-13595 Berlin
>
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html >
>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html