|
Radscaper is a Java applet component and it can be embedded into any static or dynamic Web page such as HTML, ASP, JSP, PHP, etc. It also can be integrated with any PACS system that provides a Web interface. Target Dicom image files can be ZIP'ed or GZIP'ed. If you choose to use zip format, add only one DICOM file in each zip package. Only first file in a zip package will be read otherwise. Compatibility
How to Increase Memory for Java AppletTo load a large number of images, 1 GB or more memory is recommended for the system on which images are displayed. If you are encountering out-of-memory problem, you can increase memory from the Java Control Panel by clicking Start->Settings->Control Panel->Java. In Java Control Panel, select Java tab and click View button in Java Applet Runtime Settings. In Java Runtime Settings, type in -XmxNNNm in Java Runtime Parameters field, where NNN is the number of MB and must be a power of 2. For example, if your system has 1GB memory, you may want to set up 768 MB by entering -Xmx768m. In most cases, Firefox browser can use more memory than IE browser. How to Write Applet Block in HTMLIn HTML, the applet block includes parameters listed below.
A relative path is a path to the folder which is relative to the folder where the applet containing page (HTML file) resides. A local path is a full path to a folder which the server can access. ==== An example of applet block embedded in HTML ==== ==== An example of image list file ==== Where to Store Registration File - radscaper.bin (for registered licenses only)Place the registration file at the place defined in the configuration file. Do NOT place your registration file in the place exposed to public by your web server because it will substantially cause the unlawful redistribution of your registration file, which is prohibited. Give a read permission to everyone for this registration file from its security tab in properties page by right clicking on it for Windows. Linux user can do it by command "chmod 444 radscaper.bin". Where to Store Data File - radscaper.datLeave data file radscaper.dat in the folder where APPLETHELPER stays. Give a read and write permission to everyone for this data file from its security tab in properties page by right clicking on it for Windows. Linux user can do it by command "chmod 666 radscaper.dat". How to Modify config.xmlFor Linux server, you need to change the following line<appletHelper>cgi-bin/AppletHelper.exe</appletHelper> to <appletHelper>cgi-bin/AppletHelper</appletHelper>. Many parameters can be changed in this file according to your specific needs. How to Configure CGI for Apache Web Server Add the following lines into the end
of the Apache's httpd.conf file and restart Apache server. You may change the path as required. Place APPLETHELPER in folder cgi-bin and make it executable to everyone. How to Configure CGI for Windows IIS Web Server
How to TroubleshootLog messages from Java Applet Console and Web server provide helpful information for troubleshooting. They are always the first place for you to check.
Where APPLETHELPER is AppletHelper.exe for Windows and AppletHelper for Linux. Performance OptimizationRadscaper loads number of images into memory buffer on client machines for manipulation. The buffer size can be explicitly specified by user or automatically set by the software intelligence module according to configuration. Increasing memory for Java applet can greatly improve the performance of the software. If the client system cannot hold all images in memory, the buffer will be rotated to cache images predicted by the program. In such cases, same images may be reloaded more than once. To reduce network traffic and latency, Radscaaper supports local cache facilitated by JRE on client disk. However, JRE only supports caching static network files that Java applet can load. It's recommended to put images on the same web server where radscaper.jar comes from such as in the folders that are the subfolders of the one containing radscaper.jar. The images loaded from these locations can be cached on client machines if cache is enabled in configuration file. Following are the thumb rules for setting image names in <APPLET> or image list file.
To increase the cache space, you can open Java Control Panel by clicking Start->Settings->Control Panel->Java. In Java Control Panel, click Settings from General tab. Follow the instruction and set enough disk space for cache. Enable Status Bar for Internet Explorer 7The status bar is disable by Internet Explorer 7 in default. In order to display image information, it can be enabled by following "Start->Control Panel->Internet Options->Security->Customer Level->Scripting->Allow status bar updates via script->Enable". |