To work with macros, the LargeMontage plugin at
http://www.cs.uta.fi/~vt72556/software/largemontage/needs to be modified so that the first word of each dialog box label is
unique. There are seven labels that need to be changed:
"Montage row" to "Montage_row"
"Montage columns" to "Montage_columns"
"Overlap, X-axis" to "Overlap,_X-axis"
"Overlap, Y-axis*" to _Overlap,_Y-axis*"
"Registration: Y-overlap" to "Registration:_Y-overlap"
"Registration: X-shift" to "Registration:_X-shift"
"Registration: Y-shift" to "Registration:_Y-shift"
-wayne
On Jul 14, 2006, at 6:21 AM, Girault France wrote:
> Dear all,
>
> I'm using the plugin "Large Montage"... Manually, it works quite well,
> but now I'm trying to use it within a macro : (from the macro
> recorder)
>
> run("Large Montage", "specify=D:\\SensiCam\\Montage12\\0001.tif
> output=D:\\SensiCam\\montage.tif montage=4 montage=3 overlap,=0
> overlap,=20 compression=No unsharp=No seam=No");
>
> montage=4 is the number of rows and the montage=3 is the number of
> column that I want to have in my montage. overlap,=0 (overlapping in
> the x direction), overlap,=20 (overlapping in the y direction)
> When I run my macro, after processing the 12 first images(Image1 to
> 12), the plugin wait for an image called Image16 that doesn-t exist.
> And change the
> montage=4 to montag=4 and then It works but the result is a montage
> with only 9 images.
> overlap,=20 doesn-t work... As both variable have the same name, it
> take the overlap,=0 (x direction) only). If I change the name of the
> overlap,=20 to overla,=20
> I still have no change in the result.
> I guess that's a confusion in the variables, but
> how can I change these declaration in order to have the correct value
> attributed to the correct variable ?
> Many thanks
>
> france
>
>
>
>