gpt4 book ai didi

javax.media.jai.WarpPolynomial.createWarp()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-25 04:03:05 26 4
gpt4 key购买 nike

本文整理了Java中javax.media.jai.WarpPolynomial.createWarp()方法的一些代码示例,展示了WarpPolynomial.createWarp()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WarpPolynomial.createWarp()方法的具体详情如下:
包路径:javax.media.jai.WarpPolynomial
类名称:WarpPolynomial
方法名:createWarp

WarpPolynomial.createWarp介绍

暂无

代码示例

代码示例来源:origin: geotools/geotools

/**
 * Placeholder interface to preserve parameter references in client code.
 *
 * @deprecated Please use {@link WarpTransform2DProvider}
 */
static interface Provider {
  ParameterDescriptor<Integer> DEGREE = WarpTransform2DProvider.DEGREE;
  ParameterDescriptorGroup PARAMETERS = WarpTransform2DProvider.PARAMETERS;
  ParameterDescriptor<Float> POST_SCALE_X = WarpTransform2DProvider.POST_SCALE_X;
  ParameterDescriptor<Float> POST_SCALE_Y = WarpTransform2DProvider.POST_SCALE_Y;
  ParameterDescriptor<Float> PRE_SCALE_X = WarpTransform2DProvider.PRE_SCALE_X;
  ParameterDescriptor<Float> PRE_SCALE_Y = WarpTransform2DProvider.PRE_SCALE_Y;
  ParameterDescriptor<?> X_COEFFS = WarpTransform2DProvider.X_COEFFS;
  ParameterDescriptor<?> Y_COEFFS = WarpTransform2DProvider.Y_COEFFS;
}

代码示例来源:origin: deegree/deegree3

WarpPolynomial warp = WarpPolynomial.createWarp( targetCoords, 0, sourceCoords, 0, sourceCoords.length, sX, sY,
                         1f / sX, 1f / sY, polynomalOrder );
return warp.getCoeffs();

代码示例来源:origin: deegree/deegree3

WarpPolynomial warp = WarpPolynomial.createWarp( srcCoords, 0, dstCoords, 0, srcCoords.length, 1f, 1f, 1f, 1f,
                         polynomialOrder );
return warp;

代码示例来源:origin: deegree/deegree3

WarpPolynomial warp = WarpPolynomial.createWarp( srcCoords, 0, dstCoords, 0, srcCoords.length, 1f, 1f, 1f, 1f,
                         polynomialOrder );
return warp;

代码示例来源:origin: senbox-org/s1tbx

jaiWarp = WarpPolynomial.createWarp(slaveGCPCoords, //source
                  0,

代码示例来源:origin: bcdev/beam

public static RenderedOp createRectifyOp(RenderedImage src,
                     int degree,
                     RectificationGrid grid,
                     Interpolation interp) {
  WarpPolynomial warp = WarpPolynomial.createWarp(grid.sourceCoords,
                          0,
                          grid.destCoords,
                          0,
                          grid.numCoords,
                          1.0F,
                          1.0F,
                          1.0F,
                          1.0F,
                          degree);
  if (interp == null) {
    interp = new InterpolationNearest();
  }
  ParameterBlock pb = new ParameterBlock();
  pb.addSource(src);
  pb.add(warp);
  pb.add(interp);
  return JAI.create("warp", pb);
}

代码示例来源:origin: senbox-org/s1tbx

jaiWarp = WarpPolynomial.createWarp(xySlave, 0, xyMaster, 0, 2 * numObservations, 1f, 1f, 1f, 1f, cpmDegree);

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com