public class BlendingSimple extends CombinedPixelWeightener<BlendingSimple>
| Modifier | Constructor and Description |
|---|---|
protected |
BlendingSimple(ArrayList<ViewDataBeads> views) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the created images if applicable
|
static double |
computeWeight(double[] location,
int[] dimensions,
double[] border,
double[] dimensionScaling,
double percentScaling) |
static double |
computeWeight(int[] location,
int[] dimensions,
double[] border,
double[] dimensionScaling,
double percentScaling) |
double |
getWeight(int view)
Returns the weightening factor for one view
|
void |
setBlendingRange(double ratio) |
void |
setBorder(double numPixels) |
void |
setBorder(double[] numPixels) |
void |
setPercentScaling(double p) |
void |
updateWeights(double[][] locations,
boolean[] useView) |
void |
updateWeights(int[][] locations,
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 BlendingSimple(ArrayList<ViewDataBeads> views)
public void setPercentScaling(double p)
public void setBorder(double numPixels)
public void setBorder(double[] numPixels)
public void setBlendingRange(double ratio)
public void close()
CombinedPixelWeightenerclose in class CombinedPixelWeightener<BlendingSimple>public double getWeight(int view)
CombinedPixelWeightenergetWeight in class CombinedPixelWeightener<BlendingSimple>view - - which source imagepublic void updateWeights(int[][] locations,
boolean[] useView)
CombinedPixelWeightenerupdateWeights in class CombinedPixelWeightener<BlendingSimple>locations - - the locations of the source pixel in each source imageuseView - - if the particular view is hit or notpublic void updateWeights(double[][] locations,
boolean[] useView)
updateWeights in class CombinedPixelWeightener<BlendingSimple>public static final double computeWeight(int[] location,
int[] dimensions,
double[] border,
double[] dimensionScaling,
double percentScaling)
public static final double computeWeight(double[] location,
int[] dimensions,
double[] border,
double[] dimensionScaling,
double percentScaling)
Copyright © 2015–2021 Fiji. All rights reserved.