You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sis.apache.org by "Martin Desruisseaux (Jira)" <ji...@apache.org> on 2023/03/27 14:20:00 UTC

[jira] [Created] (SIS-577) Replace ColorModel argument by a Colorizer interface

Martin Desruisseaux created SIS-577:
---------------------------------------

             Summary: Replace ColorModel argument by a Colorizer interface
                 Key: SIS-577
                 URL: https://issues.apache.org/jira/browse/SIS-577
             Project: Spatial Information Systems
          Issue Type: Improvement
          Components: Coverage
    Affects Versions: 1.3, 1.2, 1.1
            Reporter: Martin Desruisseaux
            Assignee: Martin Desruisseaux
             Fix For: 1.4


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)