object ImageJUtils
Helper methods for working with ImageJ.
- Alphabetic
- By Inheritance
- ImageJUtils
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def convertToFloat(src: ImageProcessor): Array[FloatProcessor]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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
.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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)
- 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)
- 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
- 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
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def roiManagerInstance: RoiManager
Get the singleton instance of ImageJ
RoiManager
Get the singleton instance of ImageJ
RoiManager
- returns
RoiManager instance
- 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.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toRoi(outline: Seq[Point2D]): PolygonRoi
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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.
- 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.
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
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.