-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
In ViewsExample2.java
the first step is to open an image via an IJ instance.
As far as I can see IJ tries to open the image from the network when I do
IJ.run("T1 Head (2.4M, 16-bits)");
.
As I am behind a restrictive firewall, calling this method failed for me. To fix this for me, I changed the opening command to
IJ.run("$localPathToProject$\\images\\t1-head.tif")
,
using the file which was distributed with the workshop. Doing so, the image opens as expected.
So far so good.
The point is that the provided image seems to be of UnsignedByteType
and not UnsignedShortType
. So the wrapping into an Img fails:
Img< UnsignedShortType > img = ImageJFunctions.wrapShort( imp );
Am I doing something wrong, or can you confirm this?
Metadata
Metadata
Assignees
Labels
No labels