Hi Roberto,
Sorry for not getting back to your previous email.
> 1. The default interpolator is NATURAL_NEIGHBOR
Yes, this is correct.
> 2. NATURAL_NEIGHBOR interpolator masks outputs and gives no value at
> all to those pixels without points
I am not sure it is correct to say they are masked but in areas without data it
is not possible for the natural neighbour algorithm to calculate a value so a
NaN value is outputted. There a some data values outputted around the main data
area thought so it is not completely masked.
> 3. NEAREST_NEIGHBOR does not mask outputs and gives values to all the pixels
Yes, there is always a nearest point so it calculates a value for all pixels.
I have quickly updated the TIN_PLANE algorithm as I had some code from else
where. It is now working (you need to update your version of spdlib from the
bitbucket repo) but I would say it doesn’t produce great results, I might need
to look at it again some time and see if I can improve. From my experience
natural neighbour produces the best results under almost all circumstances.
Best wishes,
Pete
****************************************************
* Dr Pete Bunting
* Senior Lecturer in Remote Sensing
* Earth Observation and Ecosystem Dynamics Group
* Department of Geography and Earth Sciences
* Aberystwyth University
* Aberystwyth
* Ceredigion
* SY23 3DB
* UK
*
* Ph: +44 (0) 1970 622615
* Mob: +44 (0) 7917 842743
* NZ Ph: +64 (0) 4 280 7430
* Email: [email protected]
****************************************************
On 7 Nov 2013, at 03:53, Roberto Antolín <[email protected]> wrote:
> Hello Pete,
>
> On Fri, Oct 11, 2013 at 05:18:42PM +0100, Roberto Antolín wrote:
>> Also I got an error when I tried TIN_PLANE interpolator:
>>
>> "Started.O.Error: SPDTINPlaneFitInterpolator is currently not available"
>
> I looked into the code and, in fact, that part is commented. I've tried to
> uncomment it but it does not compile. Have you planned to implement the
> TIN_PLANE interpolation?
>
> Regards,
> Roberto
>
> --
> Roberto Antolín
> https://twitter.com/Tolanss
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
spdlib-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spdlib-develop