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

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

     [ https://issues.apache.org/jira/browse/SIS-577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Desruisseaux resolved SIS-577.
-------------------------------------
    Resolution: Fixed

> 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.1, 1.2, 1.3
>            Reporter: Martin Desruisseaux
>            Assignee: Martin Desruisseaux
>            Priority: Major
>             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)