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 to be calibrated.
pair (calibrated cropped image, cropped roi)
IllegalArgumentException
if the mapping was not yet computed or input image of of incorrect type.
#computeCalibrationMapping(chipMargin: Double, image: ColorProcessor)
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 to be calibrated.
calibrated image.
IllegalArgumentException
if the mapping was not yet computed or input image of of incorrect type.
#computeCalibrationMapping(chipMargin: Double, image: ColorProcessor)
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.
image to be calibrated.
calibrated image in the referenceColorSpace
.
IllegalArgumentException
if the mapping is not set or
the images in the array are not of the same type and dimension.
Map color space of the input image using this tri-polynomial.
Map color space of the input image using this tri-polynomial.
input image.
Mapped image and information about clipped values.
#mapToFloat(ij.process.FloatProcessor[])
#map(ij.process.FloatProcessor[])
Map color triplet.
Map color triplet.
input color values. The array must be of size 3.
new color triplet.
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.
input image.
Mapped image bands.
#map(ij.process.FloatProcessor[])
#map(ij.process.ColorProcessor)
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.
image to be calibrated.
converted image in sRGB color space.
IllegalArgumentException
if the mapping was not set.
#map[T <: ImageProcessor](src: Array[T])
Performs color space mapping using cubic polynomial cross-band functions.