public class Kuwahara_LinearStructure_Filter_v3 extends Object implements ij.plugin.filter.PlugInFilter
Modifier and Type | Field and Description |
---|---|
protected int |
criterionMethod |
protected int |
imH |
protected int |
imW |
protected int |
kH |
protected int |
kW |
protected int |
nAngles |
protected boolean |
showKernels |
protected int |
size |
CONVERT_TO_FLOAT, DOES_16, DOES_32, DOES_8C, DOES_8G, DOES_ALL, DOES_RGB, DOES_STACKS, DONE, FINAL_PROCESSING, KEEP_THRESHOLD, NO_CHANGES, NO_IMAGE_REQUIRED, NO_UNDO, NO_UNDO_RESET, PARALLELIZE_IMAGES, PARALLELIZE_STACKS, ROI_REQUIRED, SNAPSHOT, STACK_REQUIRED, SUPPORTS_MASKING
Constructor and Description |
---|
Kuwahara_LinearStructure_Filter_v3() |
Modifier and Type | Method and Description |
---|---|
void |
calculateCriterionVariance(int[][] imSum,
int[][] imSumOfSquares,
int kernelSum,
float[][] value,
float[][] criterion) |
void |
calculateCriterionVarianceDivMean(int[][] imSum,
int[][] imSumOfSquares,
int kernelSum,
float[][] value,
float[][] criterion) |
void |
calculateCriterionVarianceDivMean2(int[][] imSum,
int[][] imSumOfSquares,
int kernelSum,
float[][] value,
float[][] criterion) |
void |
filter(ij.process.ImageProcessor ipData,
ij.ImageStack imsKernels) |
void |
run(ij.process.ImageProcessor ipData) |
int |
setup(String arg,
ij.ImagePlus imp) |
protected int imW
protected int imH
protected int kW
protected int kH
protected int nAngles
protected int size
protected int criterionMethod
protected boolean showKernels
public int setup(String arg, ij.ImagePlus imp)
setup
in interface ij.plugin.filter.PlugInFilter
public void run(ij.process.ImageProcessor ipData)
run
in interface ij.plugin.filter.PlugInFilter
public void filter(ij.process.ImageProcessor ipData, ij.ImageStack imsKernels)
public final void calculateCriterionVariance(int[][] imSum, int[][] imSumOfSquares, int kernelSum, float[][] value, float[][] criterion)
public final void calculateCriterionVarianceDivMean(int[][] imSum, int[][] imSumOfSquares, int kernelSum, float[][] value, float[][] criterion)
public final void calculateCriterionVarianceDivMean2(int[][] imSum, int[][] imSumOfSquares, int kernelSum, float[][] value, float[][] criterion)
Copyright © 2015–2021 Fiji. All rights reserved.