Usage
segmentImage(filename="",image=NA,maxShape=NA,minShape=NA,failureRegion=NA,threshold="otsu",numWindows=2, colorCorrection=FALSE, classifyStructures=FALSE,pixelClassifier=NULL,greyscaleImage=0,penClassifier=NULL,referenceHist=NULL)
Arguments
filename
A path to an image
image
An 'image' object, if no filename is specified.
maxShape
Maximum size of cell nuclei
minShape
Minimum size of cell nuclei
failureRegion
minimum size of failure regions
threshold
Thresholding method, "otsu" or "phansalkar"
numWindows
Number of windows to use for thresholding.
colorCorrection
deprecated
classifyStructures
Segment structures in the image, if yes a pixel classifier has to be defined
pixelClassifier
A SVM which classifies RGB color values in foreground and background.
greyscaleImage
Channel of the RGB image, to use for thresholding, if 0 use a joined greyscale image.
penClassifier
Classifier to exclude low quality images(will be part of next release)
referenceHist
Color histogram of a reference image, that can be used to estimate the quality of the recent image (will be part of next release)