|
Dear All
is it possible to check whether a single paged/sliced image is
case (a) a single-image or
case (b) a single-paged/sliced stack?
For the following line of codes:
====================
ImagePlus imp = new ImagePlus(my_file_names.get(i));
ImageStack stack = imp.getStack();
*
* "stack.getSize()" will return 1 for both the (a) and (b) cases.
Also, I am assuming that .getStack() is not creating a stack as I could
not
add a result-page if it was originally case (a).
I think I have to create stack actually for case (a) - for that I need
to detect
and distinguish the cases.
Thanks
Tamjid
|