Package mpicbg.stitching.fusion
Class BlendingPixelFusionIgnoreZero
java.lang.Object
mpicbg.stitching.fusion.BlendingPixelFusion
mpicbg.stitching.fusion.BlendingPixelFusionIgnoreZero
- All Implemented Interfaces:
PixelFusion
-
Field Summary
Fields inherited from class mpicbg.stitching.fusion.BlendingPixelFusion
fractionBlended -
Constructor Summary
ConstructorsConstructorDescriptionBlendingPixelFusionIgnoreZero(ArrayList<? extends ImageInterpolation<?>> images) Instantiates the per-pixel blending -
Method Summary
Methods inherited from class mpicbg.stitching.fusion.BlendingPixelFusion
clear, computeWeight, getValue
-
Constructor Details
-
BlendingPixelFusionIgnoreZero
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:PixelFusionadd a new value for the current output pixel- Specified by:
addValuein interfacePixelFusion- Overrides:
addValuein classBlendingPixelFusion- 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
-
copy
Description copied from interface:PixelFusionConvinience method for multi-threading- Specified by:
copyin interfacePixelFusion- Overrides:
copyin classBlendingPixelFusion- Returns:
- - a
PixelFusionwith the same properties
-