Hi Parijat,
There's no built-in option in Magic Montage for that, but after you've
arranged the panels, you could use this macro to add borders:
// add panel spacing in magic montages.
borderWidth=10;
setBatchMode(true);
title=getTitle;
List.setList(getMetadata("Info"));
xm=List.get("xMontage");
ym=List.get("yMontage");
run("Montage to Stack...", "columns=&xm rows=&ym border=0");
run("Make Montage...", "columns=&xm rows=&ym scale=1 border=&borderWidth");
rename("borders_"+title);
setBatchMode(false);
Jerome
On Mon, 26 Aug 2024 at 07:39, Parijat Sarkar <[email protected]> wrote:
> Hi!
>
> How do I get a border of defined thickness when using the Magic Montage
> tool, similar to the regular Montage tool where I can set the thickness of
> the border that separates neighboring panels? The default in the Magic
> Montage tool is no border.
>
> Thank you!
>
> Parijat Sarkar, PhD
>
> Stanford University
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html