trait Corrector extends AnyRef
Performs color space mapping. Derived classes implement specific mapping methods.
- Alphabetic
- By Inheritance
- Corrector
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def evaluate(src: Array[Double], dest: Array[Double]): Unit
Map triplet
src
to tripletdest
Map triplet
src
to tripletdest
- src
array of size 3
- dest
array of size 3
- Attributes
- protected
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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)
- 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)
- def map[T <: ImageProcessor](src: Array[T]): Array[FloatProcessor]
Color calibrate input image
src
three-band image to thereferenceColorSpace
.Color calibrate input image
src
three-band image to thereferenceColorSpace
.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
, orFloatProcessor
. 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.
- 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[])
- def map(a: Array[Array[Double]]): Array[Array[Double]]
- def map(src: IndexedSeq[Double]): IndexedSeq[Double]
- 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.
- 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[])
- 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])
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Operations on color spaces and color images, including color calibration.
ij_plugins.color
is the root package for the project.Package
ij_plugins.color.calibration
contains color calibration.Package
ij_plugins.color.converter
contains conversions between color spaces.