|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdenoise.Denoising
public class Denoising
Constructor Summary | |
---|---|
Denoising(ImageWare input,
double[] Alpha,
double[] Delta,
double[] Sigma,
boolean FRAMEWISE,
int CYCLESPIN,
int MULTIFRAME)
Constructor of the class Denoising. |
Method Summary | |
---|---|
boolean |
estimateNoiseParameters()
Method for automatic (either global or framewise) noise parameters estimation. |
double[] |
getAlpha()
Method to get the value of the detector gain for each frame/slice. |
double[] |
getDelta()
Method to get the value of the detector offset for each frame/slice. |
int |
getMaxThread()
Method to get the maximum number of parallel threads launched. |
ImageWare |
getOutput()
Method to get the output of the denoising task. |
double |
getProgress()
Method to get the level of progression during the denoising process. |
double[] |
getSigma()
Method to get the standard deviation of the additive-white-Gaussian-noise (AWGN) for each frame/slice. |
boolean |
getStop()
Method to detect whether the denoising process has been stopped by the user. |
void |
perform()
Method for parallel denoising of multidimensional images. |
void |
setAlpha(double[] alpha)
Method to set the value of the detector gain for each frame/slice. |
void |
setCycleSpins(int cyclespin)
Method to set the number of cycle-spin(s) for reducing potential blocking artifacts. |
void |
setDelta(double[] delta)
Method to set the value of the detector offset for each frame/slice. |
void |
setFramewise(boolean framewise)
Method to set the type of noise parmeters estimation (global or framewise). |
void |
setLog(boolean log)
Method to display some messages related to the current denoising task. |
void |
setMultiFrame(int multiframe)
Method to set the number of adjacent frames/slices for multi-frame/slices denoising. |
void |
setSigma(double[] sigma)
Method to set the standard deviation of the additive-white-Gaussian-noise (AWGN) for each frame/slice. |
void |
setStop(boolean stop)
Method to interrupt the current denoising task. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Denoising(ImageWare input, double[] Alpha, double[] Delta, double[] Sigma, boolean FRAMEWISE, int CYCLESPIN, int MULTIFRAME)
input
- input data to be denoised (3D ImageWare object)Alpha
- double array containing the estimated detector gain
for each frame/slice.Delta
- double array containing the estimated detector of-
fset for each frame/slice.Sigma
- double array containing the estimated AWGN standard
deviation for each frame/slice.FRAMEWISE
- true->Framewise noise parameters estimation
false->Global noise parameters estimation.CYCLESPIN
- number of cycle-spins (CS>0). A high value of CS
yields a high-quality denoising result, but the
computation time linearly increases with CS.MULTIFRAME
- number of adjacent frames/slices to be considered
for multi-frame/slices denoising. MF>0 must be odd.Method Detail |
---|
public final boolean estimateNoiseParameters()
public final void perform()
public final void setFramewise(boolean framewise)
framewise
- type of noise parmeters estimation:
true->Framewise.
false->Global.public final void setCycleSpins(int cyclespin)
cyclespin
- number of cycle-spins (cyclespin>0).public final void setStop(boolean stop)
stop
- true->Stop the current denoising task.public final void setLog(boolean log)
log
- true->Enable display.
false->Disable display.public final void setMultiFrame(int multiframe)
multiframe
- number of adjacent frames/slices for multi-frame/slices
denoising.public final void setAlpha(double[] alpha)
alpha
- array containing the value of the detector gain for each frame/slice.public final void setDelta(double[] delta)
delta
- array containing the value of the detector offset for each frame/slice.public final void setSigma(double[] sigma)
sigma
- array containing the standard deviation of the AWGN for each
frame/slice.public final double[] getAlpha()
public final double[] getDelta()
public final double[] getSigma()
public final ImageWare getOutput()
public final int getMaxThread()
public final double getProgress()
public final boolean getStop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |