Re: Mac vs Windows VirtualStack behaviour
Posted by
Michael Schmid on
Jun 27, 2019; 8:42am
URL: http://imagej.273.s1.nabble.com/Mac-vs-Windows-VirtualStack-behaviour-tp5022264p5022289.html
Hi Oliver,
you can have a list of absolute paths in Windows, e.g. like this:
C:\users\oliver\Documents\images\sample01\image001.png
C:\users\oliver\Documents\images\sample08\image015.png
I am not at a Windows computer to try, but I guess that the ImageJ
getDirectory macro function will give you the directory like this.
https://imagej.nih.gov/ij/developer/macro/functions.html#getDirectoryWhen using a script langage, IJ.getDirectory("string_argument") does the
same.
https://github.com/imagej/imagej1/blob/master/ij/IJ.java#L1647Michael
________________________________________________________________
On 27.06.19 10:19, otills wrote:
> Thanks Wayne.
>
> The second approach of looping over a list seems most appropriate in this
> instance. However, if each image in the list is from a different directory
> how should we deal with this for the 'dir' argument in the VirtualStack
> constructor? On OSX just specifying '/' and then providing the full file
> path for each image works, but we have not been able to get anything
> comparable working for Windows.
>
>
>
> --
> Sent from:
http://imagej.1557.x6.nabble.com/>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html