ImageIO Tools in Mac OS X Sierra

75 views
Skip to first unread message

Travis Henry

unread,
Jun 27, 2017, 2:33:20 PM6/27/17
to RSNA MIRC CTP/TFS User Group
Hi,

New to this group, but I've quickly become a big fan of CTP.  I run a teaching server for my residents and fellows using OsiriX on a MacMini.  I've had no problems implementing a pipeline to receive, anonymize, and send cases to and from OsiriX.  However, I'm unable to implement any processes that involve the ImageIO tools (e.g. DicomPixelAnonymizer, DicomDecompressor, DicomTranscoder, etc).  

Despite reading through the wiki and other posts, I still can't figure out how to get the ImageIO tools working on my Mac.  The log contains the following lines:

[Configuration] ImageIO Tools:       not installed

But the files seem to be in the necessary folder:

file:/JavaPrograms/CTP/libraries/imageio/clibwrapper_jiio-1.2-pre-dr-b04.jar
file:/JavaPrograms/CTP/libraries/imageio/jai_imageio-1.2-pre-dr-b04.jar

And the server seems to indicated that it is loaded:

[ImageIOTools] ImageIO Tools loaded (JARs only): version 1.2-pre-dr-b04

Is this a configuration issue with Java on my Mac (hence the "not installed")?  Any help from someone running this successfully on a Mac is appreciated!

Thanks,
Travis Henry

John Perry

unread,
Jun 27, 2017, 4:58:09 PM6/27/17
to rsnas-ctpmir...@googlegroups.com
See this article on the ImageIO Tools:
 
 
The tools consist of two jars and (depending on the platform) one or more native code extensions that provide access to native codecs on the platform.
 
The CTP installer includes the jars (which are the same for all platforms) plus the native code extensions for Windows.
 
When CTP starts, it looks to see if the tools are installed. If not, it puts the jars on the classpath and (if running on a 32-bit Java on Windows) it loads the DLLs.
 
There are no native code extensions for the Mac. The best you can do is to run with the jars, which CTP will do for you without your having to install the tools.
 
The jars give you access to some codecs, but for many DICOM images with encapsulated pixel data, you need the native code extensions.
 
The log entry from the Configuration class is only indicating that the tools are not installed. The log entry from the ImageIOTools class (which is in the CTP util module, not in the ImageIO Tools) is saying that it loaded the jars but not the native code extensions.
 
It sounds like your system is correctly configured to run the jars. If there are images that don't work for you, then you might try running on a Windows machine with a 32-bit Java.
 
JP
--
You received this message because you are subscribed to the Google Groups "RSNA MIRC CTP/TFS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rsnas-ctpmirc-user...@googlegroups.com.
To post to this group, send email to rsnas-ctpmir...@googlegroups.com.
Visit this group at https://groups.google.com/group/rsnas-ctpmirc-user-group.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages