java 均值插值_java中的点插值

Hi

I''m working on a java project

in a part of this project I have some (20) point valuse in 2 dimension (x,y,val) for all 19 points

I want to create a 2D grid that contain all points by interpolation (bicubic or bilinear)

so is there any solution, library , source code or example?

plx help

tnx all

解决方案First of all, why don''t you even consider such a basic thing as implementing the interpolation by yourself, using well-known and well described algorithms? See for example:

http://en.wikipedia.org/wiki/Bilinear_interpolation[^],

http://en.wikipedia.org/wiki/Bicubic_interpolation[^].

I understand, it needs time and requires some qualification, a lot of effort to test and debug it. But why not searching for the solutions using, say, Web search?

Please see:

http://docs.oracle.com/cd/E17802_01/products/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/InterpolationBilinear.html[^],

http://docs.oracle.com/cd/E17802_01/products/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/InterpolationBicubic.html[^].

Using the occasion, I also want to mention the known "overshoot" cases by bicubic algorithm which results in increased acutance. It''s interesting that 1) human vision perceives image with slight of even considered overshoot as very natural, most usually not spotting the effect; 2) it''s a little known fact that the processing of information in human visual system itself produce considerable "overshoot"; so in might be one of the factors explaining previous item.

—SA

dear all I worked on this problem previously.

but in Matlab (all entire project)

after times I asked to worked that in the java without converting from matlab2java , also I worked other part of my project and just this section remained

so, I repeat my question another way:

is there any library or class in java like matlab function (gridfit.m)?

tnx

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值