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 3b01827 Fix an IllegalArgumentException when creating one-banded
image of type DataBuffer.TYPE_INT. Remove ScaledColorSpace from public API
(provide a static method instead). Remove
ColorModelFactory.getNumBands(ColorModel) method.
new c0944af Revert commit a685c8a1bf0b412a544713f1ceda9749a995a5d6
(compute linear regression by minimizing errors in grid indices instead than
geospatial coordinates). The reason is because the "compute linear regression
in reverse way" approach brings more complexity and is not sufficient anyway;
we still needs a more sophisticated iterative algorithm in
InterpolatedTransform.Inverse.
new 40a34e9 Add explanation about the "compute linear regression in
reverse way" approach that we reverted in previous commit, so if we want to try
it again we know which commit to revert.
new 6092c0a First draft of an InterpolatedTransform algorithm using
derivative (Jacobian matrix) for deciding in which direction to compensate for
errors. Not yet enabled.
The 3 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:
.../provider/DatumShiftGridCompressed.java | 35 +++-
.../sis/referencing/datum/DatumShiftGrid.java | 72 ++++++--
.../operation/builder/LinearTransformBuilder.java | 57 +-----
.../operation/builder/LocalizationGridBuilder.java | 1 -
.../operation/builder/ProjectedTransformTry.java | 13 +-
.../sis/referencing/operation/builder/readme.html | 48 +++++
.../operation/transform/InterpolatedTransform.java | 140 +++++++++------
.../provider/DatumShiftGridCompressedTest.java} | 28 +--
.../provider/DatumShiftGridFileTest.java | 194 +++++++++++++++++++++
.../transform/InterpolatedTransformTest.java | 167 ++++++++++++------
.../operation/transform/MathTransformTestCase.java | 27 ++-
.../operation/transform/QuadraticShiftGrid.java | 150 ++++++++++++++++
.../sis/test/suite/ReferencingTestSuite.java | 2 +
13 files changed, 715 insertions(+), 219 deletions(-)
create mode 100644
core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/builder/readme.html
copy
core/sis-referencing/src/{main/java/org/apache/sis/internal/referencing/j2d/LinearTransform2D.java
=>
test/java/org/apache/sis/internal/referencing/provider/DatumShiftGridCompressedTest.java}
(51%)
create mode 100644
core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/DatumShiftGridFileTest.java
create mode 100644
core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/QuadraticShiftGrid.java