Interface PixelTransform<T>

All Known Implementing Classes:
CameraToEquirectangular_F32, CameraToEquirectangular_F64, CylinderToEquirectangular_F32, CylinderToEquirectangular_F64, DoNothingPixelTransform_F32, DoNothingPixelTransform_F64, EquirectangularDistortBase_F32, EquirectangularDistortBase_F64, EquirectangularRotate_F32, EquirectangularRotate_F64, PixelTransformAffine_F32, PixelTransformAffine_F64, PixelTransformCached_F32, PixelTransformHomography_F32, PixelTransformPinholeNorm_F32, PixelTransformPinholeNorm_F64, PointToPixelTransform_F32, PointToPixelTransform_F64

public interface PixelTransform<T>
Computes a transform in pixel coordinates
  • Method Summary

    Modifier and Type Method Description
    void compute​(int x, int y, T output)
    applies a transform to a pixel coordinate
    PixelTransform<T> copyConcurrent()
    Creates a copy of this transform for use in concurrent application.
  • Method Details

    • compute

      void compute​(int x, int y, T output)
      applies a transform to a pixel coordinate
      Parameters:
      x - Pixel x-coordinate
      y - Pixel y-coordinate
      output - The transformed pixel
    • copyConcurrent

      PixelTransform<T> copyConcurrent()
      Creates a copy of this transform for use in concurrent application. What that means is that any variable which might be modified by a concurrent call to compute(int, int, T) is not passed to the 'copied' output. Expensive to compute models might be passed in as a reference.