public static final class SEEngine.SELearning
extends com.neurotec.lang.NAbstractObjectPart
| Modifier and Type | Field and Description |
|---|---|
static int |
PARAMETER_ENHANCE_MASK
Specifies whether to extend image mask during object learning or not.
|
static int |
PARAMETER_FEATURE_TYPE
Select between blob type features which are more appropriate for texture
rich objects and shape like features which are more appropriate for
textureless but having distinguish shapes (like cup of coffee) for learning.
|
static int |
PARAMETER_GENERALIZATION_TRESHOLD
Specifies generalization threshold.
|
static int |
PARAMETER_IMAGE_RESCALE_FACTOR
Identifier specifying how to rescale input image before processing.
The image can be downsampled or increased. |
static int |
PARAMETER_MODE
Specifies learning mode.
|
static int |
PARAMETER_SHAPE_SCALING_LEVEL
Identifier specifying how many times to reduce image size to capture
difference appearance of the shape duo to visual differences on smaller
scales.
|
static int |
PARAMETER_USE_COLOR_INFORMATION |
| Modifier and Type | Method and Description |
|---|---|
SEEngine.AddResult |
addToModel(SEModel model,
com.neurotec.images.NImage image)
Adds a single image to the SEModel object.
This is the main object learning function. |
SEEngine.AddResult[] |
addToModel(SEModel model,
com.neurotec.images.NImage image,
com.neurotec.images.NImage[] masks,
SEShape[] shapes)
Adds specified images to the SEModel object.
If image has different horizontal and vertical resolution, the lowest side will be increased (image should have equal horizontal and vertical resolution). |
SEStatus |
generalizeModel(SEModel model)
Generalizes information kept in SEModel object.
Object learning method addToModel acquires information about the object. |
boolean |
getEnhanceMask()
Enables and disables usage of extend image mask during object learning.
|
SEFeatureType |
getFeatureType()
Gets features type for objects and shapes learning process.
|
double |
getGeneralizationThreshold()
Gets generalization threshold value.
|
double |
getImageRescaleFactor()
Gets image rescale factor (identifier specifying how to rescale input
image before processing).
|
SELrnMode |
getMode()
Gets the learning mode of SentiSight model.
|
int |
getShapeScalingLevel()
Gets shape scaling level (identifier specifying how many times to
reduce image size to capture difference appearance of the shape duo to
visual differences on smaller scales).
|
boolean |
getUseColorInformation() |
void |
removeFromModel(SEModel model,
int refId)
Removes an image from model.
|
void |
setEnhanceMask(boolean value)
Enables and disables usage of extend image mask during object learning.
|
void |
setFeatureType(SEFeatureType featureType)
Sets features type for objects and shapes learning process.
|
void |
setGeneralizationThreshold(double value)
Sets generalization threshold value.
|
void |
setImageRescaleFactor(double imageRescaleFactor)
Sets image rescale factor (identifier specifying how to rescale input
image before processing).
|
void |
setMode(SELrnMode mode)
Sets the learning mode of SentiSight model.
|
void |
setShapeScalingLevel(int shapeScalingLevel)
Sets shape scaling level (identifier specifying how many times to
reduce image size to capture difference appearance of the shape duo to
visual differences on smaller scales).
|
void |
setUseColorInformation(boolean value) |
public static final int PARAMETER_ENHANCE_MASK
public static final int PARAMETER_MODE
public static final int PARAMETER_GENERALIZATION_TRESHOLD
public static final int PARAMETER_FEATURE_TYPE
public static final int PARAMETER_SHAPE_SCALING_LEVEL
public static final int PARAMETER_IMAGE_RESCALE_FACTOR
public static final int PARAMETER_USE_COLOR_INFORMATION
public SEEngine.AddResult addToModel(SEModel model, com.neurotec.images.NImage image)
model - A reference to SEModel where image will be added.image - An image of the object. It must be 3 channel RGB colour image.public SEEngine.AddResult[] addToModel(SEModel model, com.neurotec.images.NImage image, com.neurotec.images.NImage[] masks, SEShape[] shapes)
model - A reference to SEModel where image will be added.image - An image of the object. It must be 3 channel RGB colour image.masks - Array of masks to be added to specified model.shapes - Array of shapes to be added to specified model.public void removeFromModel(SEModel model, int refId)
model - A reference to model from which an image should be removed.refId - Id of the image that should be removed.public SEStatus generalizeModel(SEModel model)
model - Model to be generalized.public boolean getEnhanceMask()
public void setEnhanceMask(boolean value)
Parameter - value.public SELrnMode getMode()
public void setMode(SELrnMode mode)
The - learning mode of SentiSight model.public double getGeneralizationThreshold()
public void setGeneralizationThreshold(double value)
Generalization - threshold.public SEFeatureType getFeatureType()
public void setFeatureType(SEFeatureType featureType)
One - of SEFeatureType values.public int getShapeScalingLevel()
public void setShapeScalingLevel(int shapeScalingLevel)
Shape - scaling level.public double getImageRescaleFactor()
public void setImageRescaleFactor(double imageRescaleFactor)
Image - rescale value.public boolean getUseColorInformation()
public void setUseColorInformation(boolean value)
Copyright © 2016 Neurotechnology. All rights reserved.