public class BlendingPixelFusion extends Object implements PixelFusion
| Modifier and Type | Field and Description |
|---|---|
static double |
fractionBlended |
| Constructor and Description |
|---|
BlendingPixelFusion(ArrayList<? extends ImageInterpolation<?>> images)
Instantiates the per-pixel blending
|
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(double value,
int imageId,
double[] localPosition)
add a new value for the current output pixel
|
void |
clear()
reset for the next output pixel
|
static double |
computeWeight(double[] location,
long[] dimensions,
double[] border,
double percentScaling)
From SPIM Registration
|
PixelFusion |
copy()
Convinience method for multi-threading
|
double |
getValue()
return the result for the current pixel
|
public BlendingPixelFusion(ArrayList<? extends ImageInterpolation<?>> images)
images - - all input images (the position in the list has to be the same as Id provided by addValue!)public void clear()
PixelFusionclear in interface PixelFusionpublic void addValue(double value,
int imageId,
double[] localPosition)
PixelFusionaddValue in interface PixelFusionvalue - - the image intensityimageId - - from which input image as defined by the idlocalPosition - - the position inside the input image in local coordinates of the input imagepublic double getValue()
PixelFusiongetValue in interface PixelFusionpublic PixelFusion copy()
PixelFusioncopy in interface PixelFusionPixelFusion with the same propertiespublic static final double computeWeight(double[] location,
long[] dimensions,
double[] border,
double percentScaling)
location - dimensions - border - percentScaling - Copyright © 2015–2021 Fiji. All rights reserved.