Hello Mickael

The timming is amazing, since I'm revisiting Operation2D and OperationJAI since 
yesterday!

Michael Bedward a écrit :
> Currently, some JAI functions are wrapped in...
> 
> - sub-classes of Operation2D (e.g. Resample)
> 
> - sub-classes of OperationJAI (all the 'straight' wrappings ?)

Yes. Those subclasses delegate the calculation of pixel values to JAI. What the 
add (compared to JAI) is the calculation of other properties that are not 
managed by JAI, more specifically:

* The CRS (most of the time it doesn't change).
* The Envelope (it still often the same).
* The SampleDimensions

The last point is the hard one to me - I could elaborate more on it in a next 
email, for now I'm not sure it is the point you are interrested in.

OperationJAI makes assumption about what those properties are calculated, and 
try to make as much calculation as possible for you. If the assumptions that 
OperationJAI make are not suitable to you, you can go up one class in the 
hierarchy. For example Operation2D make less assumptions (the most obvious one 
being that the operations are applied on 2 dimensional matrix), etc.

I will try to document more the assumptions today, since I'm working on it.

        Martin


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to