Class BlendingPixelFusionIgnoreZero

java.lang.Object
mpicbg.stitching.fusion.BlendingPixelFusion
mpicbg.stitching.fusion.BlendingPixelFusionIgnoreZero
All Implemented Interfaces:
PixelFusion

public class BlendingPixelFusionIgnoreZero extends BlendingPixelFusion
  • Constructor Details

    • BlendingPixelFusionIgnoreZero

      public BlendingPixelFusionIgnoreZero(ArrayList<? extends ImageInterpolation<?>> images)
      Instantiates the per-pixel blending
      Parameters:
      images - - all input images (the position in the list has to be the same as Id provided by addValue!)
  • Method Details

    • addValue

      public void addValue(double value, int imageId, double[] localPosition)
      Description copied from interface: PixelFusion
      add a new value for the current output pixel
      Specified by:
      addValue in interface PixelFusion
      Overrides:
      addValue in class BlendingPixelFusion
      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
    • copy

      public PixelFusion copy()
      Description copied from interface: PixelFusion
      Convinience method for multi-threading
      Specified by:
      copy in interface PixelFusion
      Overrides:
      copy in class BlendingPixelFusion
      Returns:
      - a PixelFusion with the same properties