I guess this macro will do it for now :
macro "Import Different Sizes" {
DIR_PATH=getDirectory("Select a directory");
ID=getString("Name contains", "put string here");
FILE_LIST=getFileList(DIR_PATH);
setBatchMode(true);
for (i=0; i<FILE_LIST.length; i++) {
if (indexOf(FILE_LIST[i], ID)!=-1) {
open(DIR_PATH+FILE_LIST[i]);
}
}
run("Images to Stack", "method=[Copy (center)] name=Stack title=[] use");
setBatchMode("exit and display");
}
On Fri, Nov 12, 2010 at 11:05, Christophe Leterrier <
[hidden email]> wrote:
> Dear ImageJ listers,
>
> I would like to kindly ask for a feature (that's why I directly CCed
> Wayne). Would it be possible to have options for differently-sized images in
> the "Import Image Sequence" function. Something similar to the "Images To
> Stack" function that proposes to scale or center the images in the Import
> Image Sequence dialog. That would mean parsing the folder to get the images
> size, or have an intermediate stage where all images are open before making
> a stack, so maybe this is not easy to do. Anyway that would be nice.
>
> Thanks a lot,
>
> Christophe
>