Packages

final class GridColorChart extends GridChartFrame with ColorChart

Chart consisting of a regular grid of square chips, arranged in rows and columns.

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GridColorChart
  2. ColorChart
  3. GridChartFrame
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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.

  2. 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

  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. def alignedChipROIs: IndexedSeq[Roi]

    Color chips with alignment transform applied to their outline.

    Color chips with alignment transform applied to their outline.

    Definition Classes
    GridColorChartGridChartFrame
  5. def alignedChips: IndexedSeq[ColorChip]

    Color chips with alignment transform applied to their outline.

    Color chips with alignment transform applied to their outline.

    Definition Classes
    GridColorChartColorChart
  6. val alignmentTransform: PerspectiveTransform
    Definition Classes
    GridChartFrame
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. 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
    GridColorChartColorChart
  9. 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
  10. 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
  11. def averageChipColorEnabled(image: ImagePlus): Array[Array[Double]]
    Definition Classes
    ColorChart
  12. def averageChipColorEnabled[T <: ImageProcessor](src: Array[T]): Array[Array[Double]]
    Definition Classes
    ColorChart
  13. def averageChipColorEnabled(cp: ColorProcessor): Array[Array[Double]]
    Definition Classes
    ColorChart
  14. val chipMargin: Double
    Definition Classes
    GridChartFrame
  15. val chips: Seq[(String, Lab)]
  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  17. 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
  18. 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
    GridColorChartGridChartFrame
  19. 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
    GridColorChartGridChartFrame
  20. 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
    GridColorChartGridChartFrame
  21. 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 is true chip with corresponding index is enabled, if false it is disabled.

    Definition Classes
    GridColorChartColorChart
  22. def copyWithEnabledAll: GridColorChart

    Create a copy with all chips enabled

    Create a copy with all chips enabled

    Definition Classes
    GridColorChartColorChart
  23. 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
    GridColorChartColorChart
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  26. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. val name: String
  30. val nbColumns: Int
    Definition Classes
    GridChartFrame
  31. val nbRows: Int
    Definition Classes
    GridChartFrame
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  35. 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
    GridColorChartColorChart
  36. 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
    GridColorChartColorChart
  37. 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
  38. 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
  39. 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
  40. def referenceColorSRGB: Array[Array[Double]]

    Return reference color expressed in sRGB color space.

    Return reference color expressed in sRGB color space.

    Definition Classes
    ColorChart
  41. 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
    GridColorChartColorChart
  42. val referenceGrid: ChartGrid

    Reference grid on which reference color chips are located.

  43. 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
  44. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  45. def toString(): String
    Definition Classes
    GridColorChart → AnyRef → Any
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. 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

  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  3. def outlineChipAt(column: Int, row: Int, margin: Double): Array[Point2D]

    Return the aligned outline of a chip in given column and row.

    Return the aligned outline of a chip in given column and row.

    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

Inherited from ColorChart

Inherited from GridChartFrame

Inherited from AnyRef

Inherited from Any

Ungrouped