public class ConvertImage
extends java.lang.Object
Functions for converting between different image types. Pixel values are converted by typecasting. When converting between signed and unsigned types, care should be taken to avoid numerical overflow.
DO NOT MODIFY: This class was automatically generated by boofcv.core.image.GenerateConvertImage
| Constructor and Description |
|---|
ConvertImage() |
public static ImageSInt8 convert(ImageUInt8 input, ImageSInt8 output)
Converts an ImageUInt8 into a ImageSInt8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS8 convert(InterleavedU8 input, InterleavedS8 output)
Converts an InterleavedU8 into a InterleavedS8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageUInt16 convert(ImageUInt8 input, ImageUInt16 output)
Converts an ImageUInt8 into a ImageUInt16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedU16 convert(InterleavedU8 input, InterleavedU16 output)
Converts an InterleavedU8 into a InterleavedU16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt16 convert(ImageUInt8 input, ImageSInt16 output)
Converts an ImageUInt8 into a ImageSInt16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS16 convert(InterleavedU8 input, InterleavedS16 output)
Converts an InterleavedU8 into a InterleavedS16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt32 convert(ImageUInt8 input, ImageSInt32 output)
Converts an ImageUInt8 into a ImageSInt32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS32 convert(InterleavedU8 input, InterleavedS32 output)
Converts an InterleavedU8 into a InterleavedS32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt64 convert(ImageUInt8 input, ImageSInt64 output)
Converts an ImageUInt8 into a ImageSInt64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS64 convert(InterleavedU8 input, InterleavedS64 output)
Converts an InterleavedU8 into a InterleavedS64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageFloat32 convert(ImageUInt8 input, ImageFloat32 output)
Converts an ImageUInt8 into a ImageFloat32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedF32 convert(InterleavedU8 input, InterleavedF32 output)
Converts an InterleavedU8 into a InterleavedF32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageFloat64 convert(ImageUInt8 input, ImageFloat64 output)
Converts an ImageUInt8 into a ImageFloat64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedF64 convert(InterleavedU8 input, InterleavedF64 output)
Converts an InterleavedU8 into a InterleavedF64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageUInt8 average(MultiSpectral<ImageUInt8> input, ImageUInt8 output)
MultiSpectral into a ImageSingleBand by computing the average value of each pixel
across all the bands.input - Input MultiSpectral image that is being converted. Not modified.output - (Optional) The single band output image. If null a new image is created. Modified.public static ImageUInt8 average(InterleavedU8 input, ImageUInt8 output)
InterleavedU8 into a ImageUInt8 by computing the average value of each pixel
across all the bands.input - (Input) The ImageInterleaved that is being converted. Not modified.output - (Optional) The single band output image. If null a new image is created. Modified.public static ImageUInt8 convert(ImageSInt8 input, ImageUInt8 output)
Converts an ImageSInt8 into a ImageUInt8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedU8 convert(InterleavedS8 input, InterleavedU8 output)
Converts an InterleavedS8 into a InterleavedU8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageUInt16 convert(ImageSInt8 input, ImageUInt16 output)
Converts an ImageSInt8 into a ImageUInt16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedU16 convert(InterleavedS8 input, InterleavedU16 output)
Converts an InterleavedS8 into a InterleavedU16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt16 convert(ImageSInt8 input, ImageSInt16 output)
Converts an ImageSInt8 into a ImageSInt16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS16 convert(InterleavedS8 input, InterleavedS16 output)
Converts an InterleavedS8 into a InterleavedS16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt32 convert(ImageSInt8 input, ImageSInt32 output)
Converts an ImageSInt8 into a ImageSInt32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS32 convert(InterleavedS8 input, InterleavedS32 output)
Converts an InterleavedS8 into a InterleavedS32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt64 convert(ImageSInt8 input, ImageSInt64 output)
Converts an ImageSInt8 into a ImageSInt64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS64 convert(InterleavedS8 input, InterleavedS64 output)
Converts an InterleavedS8 into a InterleavedS64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageFloat32 convert(ImageSInt8 input, ImageFloat32 output)
Converts an ImageSInt8 into a ImageFloat32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedF32 convert(InterleavedS8 input, InterleavedF32 output)
Converts an InterleavedS8 into a InterleavedF32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageFloat64 convert(ImageSInt8 input, ImageFloat64 output)
Converts an ImageSInt8 into a ImageFloat64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedF64 convert(InterleavedS8 input, InterleavedF64 output)
Converts an InterleavedS8 into a InterleavedF64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt8 average(MultiSpectral<ImageSInt8> input, ImageSInt8 output)
MultiSpectral into a ImageSingleBand by computing the average value of each pixel
across all the bands.input - Input MultiSpectral image that is being converted. Not modified.output - (Optional) The single band output image. If null a new image is created. Modified.public static ImageSInt8 average(InterleavedS8 input, ImageSInt8 output)
InterleavedS8 into a ImageSInt8 by computing the average value of each pixel
across all the bands.input - (Input) The ImageInterleaved that is being converted. Not modified.output - (Optional) The single band output image. If null a new image is created. Modified.public static ImageUInt8 convert(ImageUInt16 input, ImageUInt8 output)
Converts an ImageUInt16 into a ImageUInt8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedU8 convert(InterleavedU16 input, InterleavedU8 output)
Converts an InterleavedU16 into a InterleavedU8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt8 convert(ImageUInt16 input, ImageSInt8 output)
Converts an ImageUInt16 into a ImageSInt8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS8 convert(InterleavedU16 input, InterleavedS8 output)
Converts an InterleavedU16 into a InterleavedS8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt16 convert(ImageUInt16 input, ImageSInt16 output)
Converts an ImageUInt16 into a ImageSInt16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS16 convert(InterleavedU16 input, InterleavedS16 output)
Converts an InterleavedU16 into a InterleavedS16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt32 convert(ImageUInt16 input, ImageSInt32 output)
Converts an ImageUInt16 into a ImageSInt32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS32 convert(InterleavedU16 input, InterleavedS32 output)
Converts an InterleavedU16 into a InterleavedS32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt64 convert(ImageUInt16 input, ImageSInt64 output)
Converts an ImageUInt16 into a ImageSInt64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS64 convert(InterleavedU16 input, InterleavedS64 output)
Converts an InterleavedU16 into a InterleavedS64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageFloat32 convert(ImageUInt16 input, ImageFloat32 output)
Converts an ImageUInt16 into a ImageFloat32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedF32 convert(InterleavedU16 input, InterleavedF32 output)
Converts an InterleavedU16 into a InterleavedF32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageFloat64 convert(ImageUInt16 input, ImageFloat64 output)
Converts an ImageUInt16 into a ImageFloat64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedF64 convert(InterleavedU16 input, InterleavedF64 output)
Converts an InterleavedU16 into a InterleavedF64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageUInt16 average(MultiSpectral<ImageUInt16> input, ImageUInt16 output)
MultiSpectral into a ImageSingleBand by computing the average value of each pixel
across all the bands.input - Input MultiSpectral image that is being converted. Not modified.output - (Optional) The single band output image. If null a new image is created. Modified.public static ImageUInt16 average(InterleavedU16 input, ImageUInt16 output)
InterleavedU16 into a ImageUInt16 by computing the average value of each pixel
across all the bands.input - (Input) The ImageInterleaved that is being converted. Not modified.output - (Optional) The single band output image. If null a new image is created. Modified.public static ImageUInt8 convert(ImageSInt16 input, ImageUInt8 output)
Converts an ImageSInt16 into a ImageUInt8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedU8 convert(InterleavedS16 input, InterleavedU8 output)
Converts an InterleavedS16 into a InterleavedU8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt8 convert(ImageSInt16 input, ImageSInt8 output)
Converts an ImageSInt16 into a ImageSInt8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS8 convert(InterleavedS16 input, InterleavedS8 output)
Converts an InterleavedS16 into a InterleavedS8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageUInt16 convert(ImageSInt16 input, ImageUInt16 output)
Converts an ImageSInt16 into a ImageUInt16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedU16 convert(InterleavedS16 input, InterleavedU16 output)
Converts an InterleavedS16 into a InterleavedU16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt32 convert(ImageSInt16 input, ImageSInt32 output)
Converts an ImageSInt16 into a ImageSInt32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS32 convert(InterleavedS16 input, InterleavedS32 output)
Converts an InterleavedS16 into a InterleavedS32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt64 convert(ImageSInt16 input, ImageSInt64 output)
Converts an ImageSInt16 into a ImageSInt64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS64 convert(InterleavedS16 input, InterleavedS64 output)
Converts an InterleavedS16 into a InterleavedS64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageFloat32 convert(ImageSInt16 input, ImageFloat32 output)
Converts an ImageSInt16 into a ImageFloat32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedF32 convert(InterleavedS16 input, InterleavedF32 output)
Converts an InterleavedS16 into a InterleavedF32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageFloat64 convert(ImageSInt16 input, ImageFloat64 output)
Converts an ImageSInt16 into a ImageFloat64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedF64 convert(InterleavedS16 input, InterleavedF64 output)
Converts an InterleavedS16 into a InterleavedF64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt16 average(MultiSpectral<ImageSInt16> input, ImageSInt16 output)
MultiSpectral into a ImageSingleBand by computing the average value of each pixel
across all the bands.input - Input MultiSpectral image that is being converted. Not modified.output - (Optional) The single band output image. If null a new image is created. Modified.public static ImageSInt16 average(InterleavedS16 input, ImageSInt16 output)
InterleavedS16 into a ImageSInt16 by computing the average value of each pixel
across all the bands.input - (Input) The ImageInterleaved that is being converted. Not modified.output - (Optional) The single band output image. If null a new image is created. Modified.public static ImageUInt8 convert(ImageSInt32 input, ImageUInt8 output)
Converts an ImageSInt32 into a ImageUInt8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedU8 convert(InterleavedS32 input, InterleavedU8 output)
Converts an InterleavedS32 into a InterleavedU8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt8 convert(ImageSInt32 input, ImageSInt8 output)
Converts an ImageSInt32 into a ImageSInt8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS8 convert(InterleavedS32 input, InterleavedS8 output)
Converts an InterleavedS32 into a InterleavedS8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageUInt16 convert(ImageSInt32 input, ImageUInt16 output)
Converts an ImageSInt32 into a ImageUInt16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedU16 convert(InterleavedS32 input, InterleavedU16 output)
Converts an InterleavedS32 into a InterleavedU16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt16 convert(ImageSInt32 input, ImageSInt16 output)
Converts an ImageSInt32 into a ImageSInt16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS16 convert(InterleavedS32 input, InterleavedS16 output)
Converts an InterleavedS32 into a InterleavedS16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt64 convert(ImageSInt32 input, ImageSInt64 output)
Converts an ImageSInt32 into a ImageSInt64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS64 convert(InterleavedS32 input, InterleavedS64 output)
Converts an InterleavedS32 into a InterleavedS64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageFloat32 convert(ImageSInt32 input, ImageFloat32 output)
Converts an ImageSInt32 into a ImageFloat32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedF32 convert(InterleavedS32 input, InterleavedF32 output)
Converts an InterleavedS32 into a InterleavedF32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageFloat64 convert(ImageSInt32 input, ImageFloat64 output)
Converts an ImageSInt32 into a ImageFloat64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedF64 convert(InterleavedS32 input, InterleavedF64 output)
Converts an InterleavedS32 into a InterleavedF64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt32 average(MultiSpectral<ImageSInt32> input, ImageSInt32 output)
MultiSpectral into a ImageSingleBand by computing the average value of each pixel
across all the bands.input - Input MultiSpectral image that is being converted. Not modified.output - (Optional) The single band output image. If null a new image is created. Modified.public static ImageSInt32 average(InterleavedS32 input, ImageSInt32 output)
InterleavedS32 into a ImageSInt32 by computing the average value of each pixel
across all the bands.input - (Input) The ImageInterleaved that is being converted. Not modified.output - (Optional) The single band output image. If null a new image is created. Modified.public static ImageUInt8 convert(ImageSInt64 input, ImageUInt8 output)
Converts an ImageSInt64 into a ImageUInt8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedU8 convert(InterleavedS64 input, InterleavedU8 output)
Converts an InterleavedS64 into a InterleavedU8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt8 convert(ImageSInt64 input, ImageSInt8 output)
Converts an ImageSInt64 into a ImageSInt8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS8 convert(InterleavedS64 input, InterleavedS8 output)
Converts an InterleavedS64 into a InterleavedS8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageUInt16 convert(ImageSInt64 input, ImageUInt16 output)
Converts an ImageSInt64 into a ImageUInt16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedU16 convert(InterleavedS64 input, InterleavedU16 output)
Converts an InterleavedS64 into a InterleavedU16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt16 convert(ImageSInt64 input, ImageSInt16 output)
Converts an ImageSInt64 into a ImageSInt16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS16 convert(InterleavedS64 input, InterleavedS16 output)
Converts an InterleavedS64 into a InterleavedS16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt32 convert(ImageSInt64 input, ImageSInt32 output)
Converts an ImageSInt64 into a ImageSInt32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS32 convert(InterleavedS64 input, InterleavedS32 output)
Converts an InterleavedS64 into a InterleavedS32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageFloat32 convert(ImageSInt64 input, ImageFloat32 output)
Converts an ImageSInt64 into a ImageFloat32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedF32 convert(InterleavedS64 input, InterleavedF32 output)
Converts an InterleavedS64 into a InterleavedF32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageFloat64 convert(ImageSInt64 input, ImageFloat64 output)
Converts an ImageSInt64 into a ImageFloat64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedF64 convert(InterleavedS64 input, InterleavedF64 output)
Converts an InterleavedS64 into a InterleavedF64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt64 average(MultiSpectral<ImageSInt64> input, ImageSInt64 output)
MultiSpectral into a ImageSingleBand by computing the average value of each pixel
across all the bands.input - Input MultiSpectral image that is being converted. Not modified.output - (Optional) The single band output image. If null a new image is created. Modified.public static ImageSInt64 average(InterleavedS64 input, ImageSInt64 output)
InterleavedS64 into a ImageSInt64 by computing the average value of each pixel
across all the bands.input - (Input) The ImageInterleaved that is being converted. Not modified.output - (Optional) The single band output image. If null a new image is created. Modified.public static ImageUInt8 convert(ImageFloat32 input, ImageUInt8 output)
Converts an ImageFloat32 into a ImageUInt8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedU8 convert(InterleavedF32 input, InterleavedU8 output)
Converts an InterleavedF32 into a InterleavedU8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt8 convert(ImageFloat32 input, ImageSInt8 output)
Converts an ImageFloat32 into a ImageSInt8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS8 convert(InterleavedF32 input, InterleavedS8 output)
Converts an InterleavedF32 into a InterleavedS8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageUInt16 convert(ImageFloat32 input, ImageUInt16 output)
Converts an ImageFloat32 into a ImageUInt16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedU16 convert(InterleavedF32 input, InterleavedU16 output)
Converts an InterleavedF32 into a InterleavedU16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt16 convert(ImageFloat32 input, ImageSInt16 output)
Converts an ImageFloat32 into a ImageSInt16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS16 convert(InterleavedF32 input, InterleavedS16 output)
Converts an InterleavedF32 into a InterleavedS16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt32 convert(ImageFloat32 input, ImageSInt32 output)
Converts an ImageFloat32 into a ImageSInt32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS32 convert(InterleavedF32 input, InterleavedS32 output)
Converts an InterleavedF32 into a InterleavedS32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt64 convert(ImageFloat32 input, ImageSInt64 output)
Converts an ImageFloat32 into a ImageSInt64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS64 convert(InterleavedF32 input, InterleavedS64 output)
Converts an InterleavedF32 into a InterleavedS64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageFloat64 convert(ImageFloat32 input, ImageFloat64 output)
Converts an ImageFloat32 into a ImageFloat64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedF64 convert(InterleavedF32 input, InterleavedF64 output)
Converts an InterleavedF32 into a InterleavedF64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageFloat32 average(MultiSpectral<ImageFloat32> input, ImageFloat32 output)
MultiSpectral into a ImageSingleBand by computing the average value of each pixel
across all the bands.input - Input MultiSpectral image that is being converted. Not modified.output - (Optional) The single band output image. If null a new image is created. Modified.public static ImageFloat32 average(InterleavedF32 input, ImageFloat32 output)
InterleavedF32 into a ImageFloat32 by computing the average value of each pixel
across all the bands.input - (Input) The ImageInterleaved that is being converted. Not modified.output - (Optional) The single band output image. If null a new image is created. Modified.public static ImageUInt8 convert(ImageFloat64 input, ImageUInt8 output)
Converts an ImageFloat64 into a ImageUInt8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedU8 convert(InterleavedF64 input, InterleavedU8 output)
Converts an InterleavedF64 into a InterleavedU8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt8 convert(ImageFloat64 input, ImageSInt8 output)
Converts an ImageFloat64 into a ImageSInt8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS8 convert(InterleavedF64 input, InterleavedS8 output)
Converts an InterleavedF64 into a InterleavedS8.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageUInt16 convert(ImageFloat64 input, ImageUInt16 output)
Converts an ImageFloat64 into a ImageUInt16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedU16 convert(InterleavedF64 input, InterleavedU16 output)
Converts an InterleavedF64 into a InterleavedU16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt16 convert(ImageFloat64 input, ImageSInt16 output)
Converts an ImageFloat64 into a ImageSInt16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS16 convert(InterleavedF64 input, InterleavedS16 output)
Converts an InterleavedF64 into a InterleavedS16.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt32 convert(ImageFloat64 input, ImageSInt32 output)
Converts an ImageFloat64 into a ImageSInt32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS32 convert(InterleavedF64 input, InterleavedS32 output)
Converts an InterleavedF64 into a InterleavedS32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageSInt64 convert(ImageFloat64 input, ImageSInt64 output)
Converts an ImageFloat64 into a ImageSInt64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedS64 convert(InterleavedF64 input, InterleavedS64 output)
Converts an InterleavedF64 into a InterleavedS64.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageFloat32 convert(ImageFloat64 input, ImageFloat32 output)
Converts an ImageFloat64 into a ImageFloat32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static InterleavedF32 convert(InterleavedF64 input, InterleavedF32 output)
Converts an InterleavedF64 into a InterleavedF32.
input - Input image which is being converted. Not modified.output - (Optional) The output image. If null a new image is created. Modified.public static ImageFloat64 average(MultiSpectral<ImageFloat64> input, ImageFloat64 output)
MultiSpectral into a ImageSingleBand by computing the average value of each pixel
across all the bands.input - Input MultiSpectral image that is being converted. Not modified.output - (Optional) The single band output image. If null a new image is created. Modified.public static ImageFloat64 average(InterleavedF64 input, ImageFloat64 output)
InterleavedF64 into a ImageFloat64 by computing the average value of each pixel
across all the bands.input - (Input) The ImageInterleaved that is being converted. Not modified.output - (Optional) The single band output image. If null a new image is created. Modified.