Interface PixelFusion

All Known Implementing Classes:
AveragePixelFusion, AveragePixelFusionIgnoreZero, BlendingPixelFusion, BlendingPixelFusionIgnoreZero, MaxPixelFusion, MaxPixelFusionIgnoreZero, MedianPixelFusion, MedianPixelFusionIgnoreZero, MinPixelFusion, MinPixelFusionIgnoreZero, OverlapFusion

public interface PixelFusion
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addValue(double value, int imageId, double[] localPosition)
    add a new value for the current output pixel
    void
    reset for the next output pixel
    Convinience method for multi-threading
    double
    return the result for the current pixel
  • Method Details

    • clear

      void clear()
      reset for the next output pixel
    • addValue

      void addValue(double value, int imageId, double[] localPosition)
      add a new value for the current output pixel
      Parameters:
      value - - the image intensity
      imageId - - from which input image as defined by the id
      localPosition - - the position inside the input image in local coordinates of the input image
    • getValue

      double getValue()
      return the result for the current pixel
      Returns:
      - the value for the output image
    • copy

      PixelFusion copy()
      Convinience method for multi-threading
      Returns:
      - a PixelFusion with the same properties