Skip to content

Instantly share code, notes, and snippets.

@aaristov
aaristov / zoom_movie_ImageJ_v2a.ijm
Last active October 30, 2023 04:26 — forked from ekatrukha/zoom_movie_ImageJ_v2.ijm
Improved ImageJ macro making a movie (stack) of zooming on selected rectangle (ROI) now with logarithmic approach and dynamic scalebar
View zoom_movie_ImageJ_v2a.ijm
//ImageJ macro making a movie (stack) of zooming on selected rectangle (ROI)
//v2 Eugene Katrukha katpyxa at gmail.com
//v2a Andrey Aristov: aaristov at pasteur.fr
requires("1.48h");
//check if there is rectangular selection
if(selectionType() ==0)
{
sTitle=getTitle();
sMovieTitle=sTitle+"_zoom_movie";