Jan Jezek a écrit :
> I'll make MathTransformationBuilder which will generate LocalizationGrid 
> object – from irregular pairs of positions that will be specified by user 
> (MappedPositions) it will generate a regular GRID. This grid will be 
> calculated by several interpolation algorithms  and it is supposed that this 
> grid will be much more thick than the density of irregular MappedPositions 
> depends of user needs. This Grid will be then use for 
> LocalizationGridTransform2D. To boost the performance I'll try to rewrite the 
> LocalizeGridTransform2D so that it extends WarpTransform (as described in 
> GEOT-522) and to add constructions of JAI's WarpGrid so the real 
> transformation will be performed in JAI. 

I think it make a lot of sense :). Just curious: how the interpolation methods
would relate to the MathTransformBuilder you already wrote (e.g. the delaunay
triangulation)? Do you plan to write a new interpolation method or to apply the
delaunay triangulation for generating a grid?

As for GEOT-522, we may need to keed the old LocalizedGridTransform2D around in
addition of the Warp since JAI's Warp object use integer arithmetic (because
they are designed for transforming images fast, where pixel coordinates are
integers) while LocalizedGridTransform2D uses floating point arithmetic. So we
may have different usage of both of them.

Maybe we should also consider moving LocalizedGridTransform2D elsewhere (using
the usual "@deprecated" cycle) in order to regroup it with the work you are
starting, or grouping with other MathTransformBuilder.

One more details to think about is whatever or not those grid-related classes
should be in "modules/library/coverage" rather than
"modules/library/referencing". I don't know yet.

        Martin

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to