Packages

trait Corrector extends AnyRef

Performs color space mapping. Derived classes implement specific mapping methods.

Linear Supertypes
AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Corrector
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def evaluate(src: Array[Double], dest: Array[Double]): Unit

    Map triplet src to triplet dest

    Map triplet src to triplet dest

    src

    array of size 3

    dest

    array of size 3

    Attributes
    protected

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def map(image: ImagePlus, roi: PolygonRoi): (Array[FloatProcessor], PolygonRoi)

    Color calibrate input image.

    Color calibrate input image.

    Image is cropped to the provided ROI and computation is done only for the cropped part. Calibration mapping must be computed before calling this method. It is critical to only use this method on the same type of an image as it was used for computing the calibration mapping.

    image

    image to be calibrated.

    returns

    pair (calibrated cropped image, cropped roi)

    Exceptions thrown

    java.lang.IllegalArgumentException if the mapping was not yet computed or input image of of incorrect type.

    See also

    #computeCalibrationMapping(chipMargin: Double, image: ColorProcessor)

  12. def map(image: ImagePlus): Array[FloatProcessor]

    Color calibrate input image.

    Color calibrate input image.

    Calibration mapping must be computed before calling this method. It is critical to only use this method on the same type of an image as it was used for computing the calibration mapping.

    image

    image to be calibrated.

    returns

    calibrated image.

    Exceptions thrown

    java.lang.IllegalArgumentException if the mapping was not yet computed or input image of of incorrect type.

    See also

    #computeCalibrationMapping(chipMargin: Double, image: ColorProcessor)

  13. def map[T <: ImageProcessor](src: Array[T]): Array[FloatProcessor]

    Color calibrate input image src three-band image to the referenceColorSpace.

    Color calibrate input image src three-band image to the referenceColorSpace.

    Calibration mapping must be computed or set before calling this method. It is critical to only use this method on the same type of an image as it was used for computing the calibration mapping.

    The input image slices must be of a a grey level type: ByteProcessor, ShortProcessor, or FloatProcessor. Value calibration is ignored.

    src

    image to be calibrated.

    returns

    calibrated image in the referenceColorSpace.

    Exceptions thrown

    java.lang.IllegalArgumentException if the mapping is not set or the images in the array are not of the same type and dimension.

  14. def map(src: ColorProcessor): RGBMappingResult

    Map color space of the input image using this tri-polynomial.

    Map color space of the input image using this tri-polynomial.

    src

    input image.

    returns

    Mapped image and information about clipped values.

    See also

    #map(ij.process.FloatProcessor[])

    #mapToFloat(ij.process.FloatProcessor[])

  15. def map(a: Array[Array[Double]]): Array[Array[Double]]
  16. def map(src: Array[Double]): Array[Double]

    Map color triplet.

    Map color triplet.

    src

    input color values. The array must be of size 3.

    returns

    new color triplet.

  17. def mapToFloat(src: Array[FloatProcessor]): Array[FloatProcessor]

    Map color space of the input image consisting of three bands.

    Map color space of the input image consisting of three bands. Each band must be of the same size.

    src

    input image.

    returns

    Mapped image bands.

    See also

    #map(ij.process.ColorProcessor)

    #map(ij.process.FloatProcessor[])

  18. def mapToFloat(src: ColorProcessor): Array[FloatProcessor]

    Color calibrate input image src, convert result to sRGB color space.

    Color calibrate input image src, convert result to sRGB color space.

    Calibration mapping must be set before calling this method. It is critical to only use this method on the same type of an image as it was used for computing the calibration mapping.

    src

    image to be calibrated.

    returns

    converted image in sRGB color space.

    Exceptions thrown

    java.lang.IllegalArgumentException if the mapping was not set.

    See also

    #map[T <: ImageProcessor](src: Array[T])

  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. 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