public class Blending extends CombinedPixelWeightener<Blending>
Modifier | Constructor and Description |
---|---|
protected |
Blending(ArrayList<ViewDataBeads> views) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the created images if applicable
|
double |
getWeight(int view)
Returns the weightening factor for one view
|
void |
updateWeights(double[][] loc,
boolean[] useView) |
void |
updateWeights(int[][] loc,
boolean[] useView)
Updates the weights for all images, knowing where to grab all pixels from in each source image
and which of the images are hit
|
protected Blending(ArrayList<ViewDataBeads> views)
public void updateWeights(double[][] loc, boolean[] useView)
updateWeights
in class CombinedPixelWeightener<Blending>
public void updateWeights(int[][] loc, boolean[] useView)
CombinedPixelWeightener
updateWeights
in class CombinedPixelWeightener<Blending>
loc
- - the locations of the source pixel in each source imageuseView
- - if the particular view is hit or notpublic double getWeight(int view)
CombinedPixelWeightener
getWeight
in class CombinedPixelWeightener<Blending>
view
- - which source imagepublic void close()
CombinedPixelWeightener
close
in class CombinedPixelWeightener<Blending>
Copyright © 2015–2021 Fiji. All rights reserved.