Packages

object ImageJUtils

Helper methods for working with ImageJ.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ImageJUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addToROIManager(rois: IterableOnce[Roi], clearContent: Boolean = false): Unit

    Add result ROIs to ROI Manager, replacing current content.

    Add result ROIs to ROI Manager, replacing current content. If ROI Manager is not visible it will be opened.

    rois

    ROI's to be added.

    clearContent

    if true ROI Manager content will be cleared before new rois will be added

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. def convertToFloat(src: ImageProcessor): Array[FloatProcessor]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def imageJIconAsAWTImage: Image

    Returns icon used by ImageJ main frame.

    Returns icon used by ImageJ main frame. Returns null if main frame is not instantiated or has no icon.

    returns

    ImageJ icon or null.

  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def measureColor[T <: ImageProcessor](tri: Array[T], roi: Roi): Array[Double]

    Measure color within ROI.

    Measure color within ROI.

    tri

    three bands of an image, may represent only color space.

    roi

    region of interest.

    returns

    average color in the ROI.

    See also

    #measureColorXY(ij.process.ImageProcessor[], ij.gui.Roi)

  15. def measureColor[T <: ImageProcessor](tri: Array[T], outline: Array[Point2D]): Array[Double]

    Measure color within ROI.

    Measure color within ROI.

    tri

    three bands of an image, may represent only color space.

    outline

    outline of the region of interest.

    returns

    average color in the ROI.

    See also

    #measureColorXY(ij.process.ImageProcessor[], ij.gui.Roi)

  16. def mergeRGB(src: Array[FloatProcessor]): ColorProcessor

    Merges RGB bands into a ColorProcessor.

    Merges RGB bands into a ColorProcessor.

    Floating point values are assumed in the range 0 to 255.

    src

    ByteProcessor for red, green, and blue band.

    returns

    merged bands

    See also

    #splitRGB

  17. def mergeRGB(src: Array[ByteProcessor]): ColorProcessor

    Merges RGB bands into a ColorProcessor.

    Merges RGB bands into a ColorProcessor.

    src

    ByteProcessor for red, green, and blue band.

    returns

    merged bands

    See also

    #splitRGB

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. def roiManagerInstance: RoiManager

    Get the singleton instance of ImageJ RoiManager

    Get the singleton instance of ImageJ RoiManager

    returns

    RoiManager instance

  22. def splitRGB(cp: ColorProcessor): Array[ByteProcessor]

    Splits ColorProcessor into ByteProcessors representing each of three bands (red, green, and blue).

    Splits ColorProcessor into ByteProcessors representing each of three bands (red, green, and blue).

    cp

    input color processor

    returns

    ByteProcessor for each band.

  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toRoi(outline: Seq[Point2D]): PolygonRoi
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. def validateSameDimensions[T <: ImageProcessor](src: Array[T], length: Int): Unit

    T

    image processor type

    src

    images to validate

    length

    expected number of images

    Annotations
    @inline()
    Exceptions thrown

    java.lang.IllegalArgumentException if the images in the array are not of the same dimension.

  27. def validateSameTypeAndDimensions[T <: ImageProcessor](src: Array[T], length: Int): Unit

    T

    image processor type

    src

    images to validate

    length

    expected number of images

    Annotations
    @inline()
    Exceptions thrown

    java.lang.IllegalArgumentException if the images in the array are not of the same dimension.

  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped