本文整理了Java中javax.media.jai.JAI.createNS()
方法的一些代码示例,展示了JAI.createNS()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JAI.createNS()
方法的具体详情如下:
包路径:javax.media.jai.JAI
类名称:JAI
方法名:createNS
暂无
代码示例来源:origin: geotools/geotools
/**
* Applies the JAI operation. The operation name can be fetch from {@link #operation}. The JAI
* instance to use can be fetch from {@link #getJAI}. The default implementation returns the
* following:
*
* <blockquote>
*
* <pre>
* {@linkplain #getJAI getJAI}(hints).{@linkplain JAI#createNS createNS}({@linkplain #operation}.getName(), parameters, hints)
* </pre>
*
* </blockquote>
*
* Subclasses may override this method in order to invokes a different JAI operation according
* the parameters.
*
* @param parameters The parameters to be given to JAI.
* @param hints The rendering hints to be given to JAI.
* @return The result of JAI operation using the given parameters and hints.
*/
protected RenderedImage createRenderedImage(
final ParameterBlockJAI parameters, final RenderingHints hints) {
return getJAI(hints).createNS(operation.getName(), parameters, hints);
}
代码示例来源:origin: geotools/geotools
image = processor.createNS(getName(), parameters, hints).getRendering();
} else image = processor.createNS(getName(), parameters, hints);
代码示例来源:origin: org.geotools/gt-coverage
/**
* Applies the JAI operation. The operation name can be fetch from {@link #operation}.
* The JAI instance to use can be fetch from {@link #getJAI}. The default implementation
* returns the following:
*
* <blockquote><pre>
* {@linkplain #getJAI getJAI}(hints).{@linkplain JAI#createNS createNS}({@linkplain #operation}.getName(), parameters, hints)
* </pre></blockquote></li>
*
* Subclasses may override this method in order to invokes a different JAI operation
* according the parameters.
*
* @param parameters The parameters to be given to JAI.
* @param hints The rendering hints to be given to JAI.
* @return The result of JAI operation using the given parameters and hints.
*/
protected RenderedImage createRenderedImage(final ParameterBlockJAI parameters,
final RenderingHints hints)
{
return getJAI(hints).createNS(operation.getName(), parameters, hints);
}
代码示例来源:origin: org.geotools/gt2-coverage
/**
* Applies the JAI operation. The operation name can be fetch from {@link #operation}.
* The JAI instance to use can be fetch from {@link #getJAI}. The default implementation
* returns the following:
*
* <blockquote><pre>
* {@linkplain #getJAI getJAI}(hints).{@linkplain JAI#createNS createNS}({@linkplain #operation}.getName(), parameters, hints)
* </pre></blockquote></li>
*
* Subclasses may override this method in order to invokes a different JAI operation
* according the parameters.
*
* @param parameters The parameters to be given to JAI.
* @param hints The rendering hints to be given to JAI.
*/
protected RenderedImage createRenderedImage(final ParameterBlockJAI parameters,
final RenderingHints hints)
{
return getJAI(hints).createNS(operation.getName(), parameters, hints);
}
代码示例来源:origin: org.geotools/gt-coverage
image = processor.createNS(getName(),
parameters, hints).getRendering();
image = processor.createNS(getName(), parameters, hints);
代码示例来源:origin: org.geotools/gt2-coverage
params = params.add(bandIndices);
final PlanarImage image = OperationJAI.getJAI(hints).createNS(operation, params, hints);
image.setProperty("GC_VisibleBand", visibleBand);
return new BandSelector2D(source, image, targetBands, bandIndices);
代码示例来源:origin: org.geotools/gt2-coverage
croppedImage = JAI.create(operatioName, pbj, targetHints);
else
croppedImage = processor.createNS(operatioName, pbj,targetHints);
代码示例来源:origin: org.geotools/gt-coverage
params = params.add(bandIndices);
final PlanarImage image = OperationJAI.getJAI(hints).createNS(operation, params, hints);
image.setProperty("GC_VisibleBand", visibleBand);
return new BandSelector2D(source, image, targetBands, bandIndices, hints);
代码示例来源:origin: bcdev/beam
paramBlk.add(warp).add(interpolation).add(background);
return JAI.getDefaultInstance().createNS(operation, paramBlk, targetHints);
代码示例来源:origin: senbox-org/s2tbx
paramBlk.add(warp).add(interpolation).add(background);
return JAI.getDefaultInstance().createNS(operation, paramBlk, targetHints);
代码示例来源:origin: org.geotools/gt2-coverage
if (!processor.equals(JAI.getDefaultInstance())) {
result = new SubsampleAveragedCoverage(processor.createNS(
"SubsampleAverage", pbjSubsampleAverage, targetHints),
sourceCoverage, actionTaken);
代码示例来源:origin: org.geotools/gt2-coverage
image = OperationJAI.getJAI(targetHints).createNS("Scale",
pbjScale, targetHints).getRendering();
else
image = OperationJAI.getJAI(targetHints).createNS("Scale",
pbjScale, targetHints);
else
代码示例来源:origin: org.geotools/gt2-coverage
result= new FilteredSubsampledGridCoverage2D(processor.createNS(
"FilteredSubsample", pbjFilteredSubsample, targetHints),
sourceCoverage, actionTaken);
代码示例来源:origin: org.geotools/gt-coverage
croppedImage = JAI.create(operatioName, pbj, targetHints);
} else {
croppedImage = processor.createNS(operatioName, pbj, targetHints);
代码示例来源:origin: org.geotools/gt2-coverage
final RenderedOp targetImage = processor.createNS(operation, paramBlk, targetHints);
final Locale locale = sourceCoverage.getLocale(); // For logging purpose.
代码示例来源:origin: org.geotools/gt-coverage
final RenderedOp targetImage = getJAI(hints).createNS(operation, paramBlk, targetHints);
final Locale locale = sourceCoverage.getLocale(); // For logging purpose.
内容来源于网络,如有侵权,请联系作者删除!