|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpreprocessing.PreProcessingImageToolkit
public class PreProcessingImageToolkit
This class contains the functionality of the preprocessing section
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_IMAGE
|
Fields inherited from interface preprocessing.PreProcessingConstants |
---|
EDGEMODE_CANNYDERICHEFILTER, EDGEMODE_LAPLACEFILTER, EDGEMODE_NO, EDGEMODE_SOBELOPERATOR, GREYSCALEMODE_B, GREYSCALEMODE_G, GREYSCALEMODE_MEAN, GREYSCALEMODE_R, STEP_EDGEDETECTION, STEP_GREYSCALE, STEP_ORIGINAL, STEP_THRESHOLD |
Constructor Summary | |
---|---|
PreProcessingImageToolkit()
standard constructor |
|
PreProcessingImageToolkit(java.net.URL url)
standard constructor |
Method Summary | |
---|---|
ij.process.ImageProcessor |
edgeDetection(ij.process.ImageProcessor ip,
int mode)
Finds edges using Sobel operator, Canny-Deriche Filter or Harris Corner Detector. |
ij.ImagePlus |
getImagePlus()
|
ij.ImagePlus |
getImagePlus(int preProcessingStep)
Returns the ImagePlus for the given PreprocessingStep. |
PreProcessingSettings |
getSettings()
|
void |
initialize()
initialize the preProcessingImage |
void |
initialize(java.net.URL url)
initialize the preProcessingImage |
ij.process.ImageProcessor |
makeGreyScale(ij.process.ImageProcessor ip,
int channel)
Makes a grey scaled image of given channel or mean. |
void |
setSettings(PreProcessingSettings settings)
|
void |
setWorkingPath(java.lang.String workingPath)
|
void |
threshold(ij.process.ImageProcessor ip,
int level)
Makes threshold with a given level or makes autoThreshold. |
void |
updateToolkit()
Updates ImageProcessors of all Preprocessing-Steps. |
void |
updateToolkit(int preProcessingStep)
Updates ImageProcessor of the given Preprocessing-Step. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_IMAGE
Constructor Detail |
---|
public PreProcessingImageToolkit()
public PreProcessingImageToolkit(java.net.URL url) throws java.io.FileNotFoundException
url
-
java.io.FileNotFoundException
Method Detail |
---|
public void initialize(java.net.URL url) throws java.io.FileNotFoundException
url
-
java.io.FileNotFoundException
public void initialize()
public ij.process.ImageProcessor makeGreyScale(ij.process.ImageProcessor ip, int channel)
channel
- if GREYSCALEMODE_R, GREYSCALEMODE_G or GREYSCALEMODE_B then
makes grey scaled of this channel.public ij.process.ImageProcessor edgeDetection(ij.process.ImageProcessor ip, int mode)
ip
- mode
- : EDGEMODE_SOBELOPERATOR, EDGEMODE_CANNYDERICHEFILTER (with
alpha=0.5 recommendation) or EDGEMODE_HARRISCORNERDETECTOR.
public void threshold(ij.process.ImageProcessor ip, int level)
level
- : if between 0 and 255 then makes threshold with this level,public ij.ImagePlus getImagePlus()
public ij.ImagePlus getImagePlus(int preProcessingStep)
preProcessingStep
-
public void updateToolkit()
public void updateToolkit(int preProcessingStep)
preProcessingStep
- public PreProcessingSettings getSettings()
public void setSettings(PreProcessingSettings settings)
public void setWorkingPath(java.lang.String workingPath)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |