|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.yccheok.numrecognition.FeatureParameter
public class FeatureParameter
The parameter of image feature.
Field Summary | |
---|---|
static FeatureParameter |
DEFAULT_FEATURE_PARAMETER
The default setting of feature parameter. |
boolean |
dilateEnable
Whether dilate should be performed during image pre-processing. |
int |
idealImageSize
Images will be scaled to this size during training and recognition. |
boolean |
roiToLargestBlob
Setting this to true will draw a ROI around the largest object in the image. |
Constructor Summary | |
---|---|
FeatureParameter(int idealImageSize,
boolean dilateEnable,
boolean roiToLargestBlob)
Construct a feature parameter with specified ideal image size, dilate enable and roi to largest blob enable. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final FeatureParameter DEFAULT_FEATURE_PARAMETER
public final int idealImageSize
public final boolean dilateEnable
public final boolean roiToLargestBlob
Constructor Detail |
---|
public FeatureParameter(int idealImageSize, boolean dilateEnable, boolean roiToLargestBlob)
idealImageSize
- The size which the number image will be scaled to during pre processing.dilateEnable
- Whether dilate will be performed during pre processing.roiToLargestBlob
- Whether largest blob will be extracted out from the image.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |