Package mpicbg.stitching.fusion
Class MaxPixelFusion
java.lang.Object
mpicbg.stitching.fusion.MaxPixelFusion
- All Implemented Interfaces:
PixelFusion
- Direct Known Subclasses:
MaxPixelFusionIgnoreZero
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MaxPixelFusion
public MaxPixelFusion()
-
-
Method Details
-
clear
public void clear()Description copied from interface:PixelFusionreset for the next output pixel- Specified by:
clearin interfacePixelFusion
-
addValue
public void addValue(double value, int imageId, double[] localPosition) Description copied from interface:PixelFusionadd a new value for the current output pixel- Specified by:
addValuein interfacePixelFusion- Parameters:
value- - the image intensityimageId- - from which input image as defined by the idlocalPosition- - the position inside the input image in local coordinates of the input image
-
getValue
public double getValue()Description copied from interface:PixelFusionreturn the result for the current pixel- Specified by:
getValuein interfacePixelFusion- Returns:
- - the value for the output image
-
copy
Description copied from interface:PixelFusionConvinience method for multi-threading- Specified by:
copyin interfacePixelFusion- Returns:
- - a
PixelFusionwith the same properties
-