Class ImageJROI

java.lang.Object
com.xinapse.multisliceimage.roi.ImageJROI

final class ImageJROI extends Object
Class for reading ImageJ, NIH Image or Scion Image ROI files.

Note: there is not a direct equivalence between ImageJ ROIs and Jim ROIs. Here are some of the differences:

  • In Jim, RectangularROIs cannot have rounded corners.
  • Jim does not have line with arrow heads.
  • In Jim, all lines and outlines are infinitely thin.
  • In Jim, the font and font size is the same for all ROIs.
  • In Jim, ROIs colours are set from a palette of colours, and cannot be set completely independently for all ROIs.
  • In Jim, there is no angle measurement; the ROI for an an angle is a CurvedLineROI with 3 points.
  • In Jim, points around a polygon or line are joined by straight lines. There is no spline fitting to get smooth outlines. points.
  • Method Details

    • main

      public static void main(String[] args)
      Run the self-test on the ImageJROI class.
      Parameters:
      args - the name of the Image/J ROI ZIP file to read ROIs from.