/** * An operation which does no processing. * * <p> * Creates a <code>ParameterBlockJAI</code> from all supplied arguments except <code>hints</code> and invokes * {@link JAI#createRenderable(String,ParameterBlock,RenderingHints)}. * * @see JAI * @see ParameterBlockJAI * @see RenderableOp * * @param source0 <code>RenderableImage</code> source 0. * @param hints The <code>RenderingHints</code> to use. May be <code>null</code>. * @return The <code>RenderableOp</code> destination. * @throws IllegalArgumentException if <code>source0</code> is <code>null</code>. */ public static RenderableOp createRenderable(RenderableImage source0, RenderingHints hints) { // Selection of the parameterBlock associated with the Null operation ParameterBlockJAI pb = new ParameterBlockJAI("Null", RenderableRegistryMode.MODE_NAME); // Setting of the source pb.setSource("source0", source0); // Creation of the RenderabledOp associated with the Null operation return JAI.createRenderable("Null", pb, hints); } }
/** * An operation which does no processing. * * <p> * Creates a <code>ParameterBlockJAI</code> from all supplied arguments except <code>hints</code> and invokes * {@link JAI#createRenderable(String,ParameterBlock,RenderingHints)}. * * @see JAI * @see ParameterBlockJAI * @see RenderableOp * * @param source0 <code>RenderableImage</code> source 0. * @param hints The <code>RenderingHints</code> to use. May be <code>null</code>. * @return The <code>RenderableOp</code> destination. * @throws IllegalArgumentException if <code>source0</code> is <code>null</code>. */ public static RenderableOp createRenderable(RenderableImage source0, RenderingHints hints) { // Selection of the parameterBlock associated with the Null operation ParameterBlockJAI pb = new ParameterBlockJAI("Null", RenderableRegistryMode.MODE_NAME); // Setting of the source pb.setSource("source0", source0); // Creation of the RenderabledOp associated with the Null operation return JAI.createRenderable("Null", pb, hints); } }
/** * Reformats an image. * * <p> * Creates a <code>ParameterBlockJAI</code> from all supplied arguments except <code>hints</code> and invokes * {@link JAI#createRenderable(String,ParameterBlock,RenderingHints)}. * * @see JAI * @see ParameterBlockJAI * @see RenderableOp * * @param source0 <code>RenderableImage</code> source 0. * @param dataType The output data type (from java.awt.image.DataBuffer). May be <code>null</code>. * @param hints The <code>RenderingHints</code> to use. May be <code>null</code>. * @return The <code>RenderableOp</code> destination. * @throws IllegalArgumentException if <code>source0</code> is <code>null</code>. */ public static RenderableOp createRenderable(RenderableImage source0, Integer dataType, RenderingHints hints) { ParameterBlockJAI pb = new ParameterBlockJAI("Format", RenderableRegistryMode.MODE_NAME); pb.setSource("source0", source0); pb.setParameter("dataType", dataType); return JAI.createRenderable("Format", pb, hints); } }
/** * Reformats an image. * * <p> * Creates a <code>ParameterBlockJAI</code> from all supplied arguments except <code>hints</code> and invokes * {@link JAI#createRenderable(String,ParameterBlock,RenderingHints)}. * * @see JAI * @see ParameterBlockJAI * @see RenderableOp * * @param source0 <code>RenderableImage</code> source 0. * @param dataType The output data type (from java.awt.image.DataBuffer). May be <code>null</code>. * @param hints The <code>RenderingHints</code> to use. May be <code>null</code>. * @return The <code>RenderableOp</code> destination. * @throws IllegalArgumentException if <code>source0</code> is <code>null</code>. */ public static RenderableOp createRenderable(RenderableImage source0, Integer dataType, RenderingHints hints) { ParameterBlockJAI pb = new ParameterBlockJAI("Format", RenderableRegistryMode.MODE_NAME); pb.setSource("source0", source0); pb.setParameter("dataType", dataType); return JAI.createRenderable("Format", pb, hints); } }
return JAI.createRenderable("BandSelect", pb, hints);
return JAI.createRenderable("BandSelect", pb, hints);
return JAI.createRenderable("BandMerge", pb, hints);
return JAI.createRenderable("BandMerge", pb, hints);
pb.setParameter("nodata", nodata); return JAI.createRenderable("Binarize", pb, hints);
pb.setParameter("destinationNoData", destinationNoData); return JAI.createRenderable("algebric", pb, hints);
pb.setParameter("nodata", nodata); return JAI.createRenderable("Binarize", pb, hints);
pb.setParameter("destinationNoData", destinationNoData); return JAI.createRenderable("operationConst", pb, hints);
pb.setParameter("destNoData", destinationNoData); return JAI.createRenderable("ColorConvert", pb, hints);
pb.setParameter("destNoData", destinationNoData); return JAI.createRenderable("ColorConvert", pb, hints);
pb.setParameter("outputMax", outputMax); return JAI.createRenderable("SquareRootStretch", pb, hints);
pb.setParameter("destNoData", destinationNoData); return JAI.createRenderable("BandCombine", pb, hints);
pb.setParameter("destNoData", destNoData); return JAI.createRenderable("Rescale", pb, hints);
pb.setParameter("destNoData", destNoData); return JAI.createRenderable("Rescale", pb, hints);
args.add(reader); return JAI.createRenderable(OPERATION_NAME, args, hints);
args.add(reader); return JAI.createRenderable(OPERATION_NAME, args, hints);