You are here: Start » DLInvoke.DL_ClassifyObject

DLInvoke.DL_ClassifyObject

Executes a Classify Object model on a single input image.

Namespace:Fil
Assembly:FilNet.DL.Cpu.dll

Syntax

C++
C#
 
public static void DL_ClassifyObject
(
	Fil.Image inImage,
	Optional<Fil.Rectangle2D> inRoi,
	Optional<Fil.CoordinateSystem2D> inRoiAlignment,
	Fil.ClassifyObjectModelId inModelId,
	bool inCreateHeatmap,
	List<Fil.ClassConfidence> outConfidences,
	out string outClassName,
	out int outClassIndex,
	out float outScore,
	Fil.Heatmap outRelevanceHeatmap,
	Optional<Fil.Rectangle2D> outAlignedRoi
)

Parameters

Name Type Range Default Description
inImageFil.ImageInput image.
inRoiFtl.Optional<Fil.Rectangle2D>Limits the area where a classified object is located. Default value: ftl::NIL.
inRoiAlignmentFtl.Optional<Fil.CoordinateSystem2D>
inModelIdFil.ClassifyObjectModelIdIdentifier of a Classify Object model.
inCreateHeatmapboolEnables creating a relevance heatmap at the expense of extended execution time. Default value: False.
outConfidencesSystem.Collections.Generic.List<Fil.ClassConfidence>Returns confidences for all classes.
outClassNamestringReturns the name of the class with the highest confidence.
outClassIndexintReturns the index of the class with the highest confidence.
outScorefloatReturns the value of the highest confidence.
outRelevanceHeatmapFil.HeatmapReturns the heatmap indicating how strong specific parts of image influenced the classification result.
outAlignedRoiFtl.Optional<Fil.Rectangle2D>Input roi after the transformation.

See also