Posted by
Stephan Saalfeld on
Feb 21, 2013; 2:44pm
URL: http://imagej.273.s1.nabble.com/Plugin-for-a-zooming-movie-tp5001825p5001826.html
Hi Heinrich,
I once wrote one for zooming into a TrakEM2 section series:
https://github.com/axtimwalde/fiji-scripts/blob/master/TrakEM2/trakem2_zoom_movie.bshYou could drag your image into a new TrakEM2 project, in Fiji
File > New > TrakEM2 (blank)
than drag your big image into the canvas. Then open the script in
Fiji's scripting interpreter (it is written in Beanshell), modify line
44 to
layer = layer.getParent().getLayer( 0 );
to not move through the stack since you do not have one. Then, you can
modify the parameters such as tx and ty (lines 5 and 6, the rotation
center and zoom-in target), l (the number of frames in line 9), s (in
line 57, the scale increase) and the rotation (in line 61) to your
needs. The acceleration function is a cosine as specified in line 51.
Now select a rectangle Roi in the canvas and press the run button.
Sorry for the clumsiness of the code but it's been hacked in a rush and
serves its purpose.
Examples of an earlier version without scale bars here:
http://fly.mpi-cbg.de/~saalfeld/video/worm.movhttp://fly.mpi-cbg.de/~saalfeld/video/fly.movUsing TrakEM2 releases you from the responsibility to take care yourself
for perfect image quality at all zoom levels.
Best,
Stephan
On Thu, 2013-02-21 at 13:19 +0100, Heinrich Grabmayr wrote:
> Hi everyone,
>
> I have huge images (~10k x 10k pixels), and for a presentation, I wouldlike
> to show this high resolution. So my idea is to make a movie of zooming out
> of a fine structure, eventually showing the whole image. As I did not find a
> plugin for that in a quick search, I wouldlike to ask you guys whether you
> are arware of such a plugin before I write one..
>
> Thanks
> Heinrich
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html