final class GridColorChart extends GridChartFrame with ColorChart
Chart consisting of a regular grid of square chips, arranged in rows and columns.
- Alphabetic
- By Inheritance
- GridColorChart
- ColorChart
- GridChartFrame
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
GridColorChart(name: String, nbColumns: Int, nbRows: Int, chips: Seq[(String, Lab)], chipMargin: Double = 0, refWhite: ReferenceWhite, alignmentTransform: PerspectiveTransform = new PerspectiveTransform())
Construct chart with all chips enabled.
Construct chart with all chips enabled.
- name
chart's name
- nbColumns
number of columns
- nbRows
number of rows
- chips
chip names and CIE L*a*b* / D65 color values, row by row, starting at (0,0) or top left corner.
-
new
GridColorChart(name: String, nbColumns: Int, nbRows: Int, chips: Seq[(String, Lab)], chipMargin: Double, enabled: Seq[Boolean], refWhite: ReferenceWhite, alignmentTransform: PerspectiveTransform)
- name
chart's name
- nbColumns
number of columns
- nbRows
number of rows
- chips
chip names and CIE L*a*b* / D65 color values, row by row, starting at (0,0) or top left corner.
- chipMargin
reduction of chip from their maximum size on the grid (as fraction of its width or height). Value of the margin must be between 0 and 0.5.
- enabled
which chips are active. If value is 'true' chip is active' if 'false' not used in computations.
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
alignedChipROIs: IndexedSeq[Roi]
Color chips with alignment transform applied to their outline.
Color chips with alignment transform applied to their outline.
- Definition Classes
- GridColorChart → GridChartFrame
-
def
alignedChips: IndexedSeq[ColorChip]
Color chips with alignment transform applied to their outline.
Color chips with alignment transform applied to their outline.
- Definition Classes
- GridColorChart → ColorChart
-
val
alignmentTransform: PerspectiveTransform
- Definition Classes
- GridChartFrame
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
averageChipColor[T <: ImageProcessor](src: Array[T]): Array[Array[Double]]
Compute average color within aligned chips from an an image.
Compute average color within aligned chips from an an image.
Input images is represented by 3 bands. There is no assumption made about image color space.
- src
image represented by 3 bands
- Definition Classes
- GridColorChart → ColorChart
-
def
averageChipColor(image: ImagePlus): Array[Array[Double]]
Compute average color within aligned chips from an an image.
Compute average color within aligned chips from an an image.
- image
is either single slice RGB image (ColorProcessor) or three slices of gray processors representing color bands.
- returns
average for each band in each color chip (array of triples).
- Definition Classes
- ColorChart
-
def
averageChipColor(cp: ColorProcessor): Array[Array[Double]]
Compute average color within aligned chips from an RGB image.
Compute average color within aligned chips from an RGB image.
- cp
RGB image
- Definition Classes
- ColorChart
-
def
averageChipColorEnabled(image: ImagePlus): Array[Array[Double]]
- Definition Classes
- ColorChart
-
def
averageChipColorEnabled[T <: ImageProcessor](src: Array[T]): Array[Array[Double]]
- Definition Classes
- ColorChart
-
def
averageChipColorEnabled(cp: ColorProcessor): Array[Array[Double]]
- Definition Classes
- ColorChart
-
val
chipMargin: Double
- Definition Classes
- GridChartFrame
- val chips: Seq[(String, Lab)]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
val
colorConverter: ColorConverter
Default converter for transforming color values between different color spaces.
Default converter for transforming color values between different color spaces.
Use it to ensure proper scaling for XYZ and RGB color space.
- Definition Classes
- ColorChart
-
def
copyAlignedTo(roi: Roi): GridColorChart
Creates a copy of this chart that has its chip outline aligned gto given ROI.
Creates a copy of this chart that has its chip outline aligned gto given ROI.
- roi
desired chip outline ROI.
- Definition Classes
- GridColorChart → GridChartFrame
-
def
copyWith(newAlignmentTransform: PerspectiveTransform): GridColorChart
Creates a copy of this chart with different
alignmentTransform
.Creates a copy of this chart with different
alignmentTransform
.- Definition Classes
- GridColorChart → GridChartFrame
-
def
copyWithChipMargin(newChipMargin: Double): GridColorChart
Creates a copy of this chart with different
chipMargin
.Creates a copy of this chart with different
chipMargin
. Value of the margin must be between 0 and 0.5.- Definition Classes
- GridColorChart → GridChartFrame
-
def
copyWithEnabled(enabled: Array[Boolean]): GridColorChart
Creates a copy of this chart in which some chips cn be enabled/disabled.
Creates a copy of this chart in which some chips cn be enabled/disabled.
- enabled
array with indexes corresponding to ones returned by
referenceColor
methods. If value istrue
chip with corresponding index is enabled, iffalse
it is disabled.
- Definition Classes
- GridColorChart → ColorChart
-
def
copyWithEnabledAll: GridColorChart
Create a copy with all chips enabled
Create a copy with all chips enabled
- Definition Classes
- GridColorChart → ColorChart
-
val
enabled: Seq[Boolean]
Which chips should be used in computations.
Which chips should be used in computations. If value is 'true' chip is active' if 'false' not used in computations.
- Definition Classes
- GridColorChart → ColorChart
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
-
val
nbColumns: Int
- Definition Classes
- GridChartFrame
-
val
nbRows: Int
- Definition Classes
- GridChartFrame
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
val
refWhite: ReferenceWhite
Reference white for for the reference color expressed in CIE XYZ.
Reference white for for the reference color expressed in CIE XYZ.
- Definition Classes
- GridColorChart → ColorChart
-
def
referenceChips: IndexedSeq[ColorChip]
Reference chips with they size reduced by margin (as fraction of its width or height).
Reference chips with they size reduced by margin (as fraction of its width or height).
Value of the margin must be between 0 and 0.5.
- Definition Classes
- GridColorChart → ColorChart
-
def
referenceChipsEnabled: Seq[ColorChip]
Reference chips without transform applied to their coordinates.
Reference chips without transform applied to their coordinates. Only enabled chips are returned.
- Definition Classes
- ColorChart
-
def
referenceColor(colorSpace: ReferenceColorSpace): Array[Array[Double]]
Return reference colors represented in given color space.
Return reference colors represented in given color space.
- Definition Classes
- ColorChart
-
def
referenceColorEnabled(colorSpace: ReferenceColorSpace): Array[Array[Double]]
Return reference colors represented in given color space.
Return reference colors represented in given color space. Only enabled chips are returned.
- Definition Classes
- ColorChart
-
def
referenceColorSRGB: Array[Array[Double]]
Return reference color expressed in sRGB color space.
Return reference color expressed in sRGB color space.
- Definition Classes
- ColorChart
-
def
referenceColorXYZ: Array[Array[Double]]
Return reference color expressed in CIE XYZ color space assuming default reference white for this chart.
Return reference color expressed in CIE XYZ color space assuming default reference white for this chart.
- Definition Classes
- GridColorChart → ColorChart
-
val
referenceGrid: ChartGrid
Reference grid on which reference color chips are located.
-
def
referenceOutline: IndexedSeq[Point2D]
Outline of the reference chart as a sequence of 4 corner points: top-left, top-right, bottom-right, bottom-left.
Outline of the reference chart as a sequence of 4 corner points: top-left, top-right, bottom-right, bottom-left.
- Definition Classes
- GridChartFrame
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- GridColorChart → AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
alignedOutline: IndexedSeq[Point2D]
Actual outline of the of the chart (reference outline with alignment transform applied).
Actual outline of the of the chart (reference outline with alignment transform applied).
- Annotations
- @deprecated
- Deprecated
(Since version 0.8) Unused method, will be removed
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated
-
def
outlineChipAt(column: Int, row: Int, margin: Double): Array[Point2D]
Return the aligned outline of a chip in given
column
androw
.Return the aligned outline of a chip in given
column
androw
.Chip linear size is reduced by a margin expressed as a fraction of width/length.
- Annotations
- @deprecated
- Deprecated
(Since version 0.8) Unused method, will be removed
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.