Login  Register

Re: Raw Image Stacks: Image Ordering/Reordering

Posted by Josh Doe-2 on Jan 04, 2007; 9:49pm
URL: http://imagej.273.s1.nabble.com/Raw-Image-Stacks-Image-Ordering-Reordering-tp3700697p3700701.html

I don't believe there is anyway to do this other than editing the
ImageJ code or writing your own plugin to implement your own sorting
scheme.

It would be much easier to rename the files, either when the image
filenames are generated, or using a mass renamer like RenameIt,
Renamer, or using awk/sed if you have *nix nearby.
It's a good idea to always name files with zero padding, it generally saves
a great deal of trouble.

Josh D

On 1/4/07, McAuley, Grant (LLU) <[hidden email]> wrote:

>
> Sorry if this has been asked before (searched list archives - maybe not
> right combination of words?).
>
> I need to import stacks of raw images using File->Import->Raw and
> selecting 'Open All Files in Folder'.  The images have filenames that
> contain letters and numbers: zz-1, zz-2, ... , zz-10, zz-11, ..., zz-48.
>
> When the stack gets created the order becomes: zz-1, zz-10, zz-11, ... ,
> zz-2, zz-21, ... instead of what I want: zz-1, zz-2, ..., zz-10, zz-11, ...
>
> 1) Can I tell ImageJ to do a numeric instead of alpha sort on the filename
> numbers when the stack is created?
> 2) If not, is there a better way to resort the stack than the 'Stack
> Sorter' plugin (nice, but tedious for 48 images/stack)?
>