sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] branch geoapi-4.0 updated (5ad04a9 -> 4de677a)
Date Mon, 03 Aug 2020 17:26:51 GMT
This is an automated email from the ASF dual-hosted git repository.

desruisseaux pushed a change to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git.


    from 5ad04a9  ImageProcessor API adjustment, in particular with introduction of a type-safe
DataType enumeration value instead than the DataBuffer.TYPE_* integer constants.
     new 639ab29  Fix an ineffective verification.
     new 0a3d379  Make `PixelIterator.getSampleRange()` method implementation more generic
(no more test for specific `SampleModel` subclasses).
     new 9c73219  ResampleImage computes itself the ranges of values instead than invoking
`PixelIterator.getSampleRanges()`, because that later method returns ranges of source pixel
values while we need ranges of target pixel values.
     new 4de677a  Make `resample` more robust to cases where target data type is not the same
than source data type. In particular in the way to compute min/max values and to determine
if a shortcut can be used.

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../sis/coverage/grid/BufferedGridCoverage.java    |  4 +-
 .../apache/sis/image/BandedSampleConverter.java    |  9 ++-
 .../java/org/apache/sis/image/Interpolation.java   |  9 +--
 .../org/apache/sis/image/LanczosInterpolation.java |  3 +-
 .../java/org/apache/sis/image/PixelIterator.java   | 86 ++++++++++++----------
 .../java/org/apache/sis/image/ResampledImage.java  | 67 +++++++++++------
 .../sis/internal/coverage/j2d/ImageUtilities.java  | 29 ++++++++
 .../org/apache/sis/image/DefaultIteratorTest.java  | 31 ++++++++
 8 files changed, 164 insertions(+), 74 deletions(-)


Mime
View raw message