Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-577

Replace ColorModel argument by a Colorizer interface

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1, 1.2, 1.3
    • 1.4
    • Coverage
    • None

    Description

      Some methods of ImageProcessor or GridCoverageProcessor expect a ColorModel argument. The color model is difficult to create and depends on the SampleModel of the computed image, which is not always known in advance. We need a mechanism for making easier to specify the output colors, for example as an array of Color objects to be automatically interpolated between minimum and maximum values.

      A lot of this functionality already exists in the ColorModelFactory internal class. But the API of that class is not suitable for a public API. We need a more abstract API which encapsulate more of the internal implementation details.

      Attachments

        Issue Links

          Activity

            People

              desruisseaux Martin Desruisseaux
              desruisseaux Martin Desruisseaux
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: