Class SegmentedObject
Segmentation 또는 Anomaly Detection을 통해 검출된 영역의 정보가 담긴 구조체입니다.
Inheritance
object
SegmentedObject
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SaigeVision.Net.V2.Models
Assembly: SaigeVision.Net.V2.dll
Syntax
public class SegmentedObject
Constructors
View SourceSegmentedObject(RotatedBox, RotatedBox, Ellipse, uint, ClassInfo, double, Contour)
생성자입니다
Declaration
public SegmentedObject(RotatedBox boundingBox, RotatedBox boundingRotBox, Ellipse fittedEllipse, uint area, ClassInfo classInfo, double score, Contour contour)
Parameters
| Type | Name | Description |
|---|---|---|
| RotatedBox | boundingBox | 검출된 영역을 포함하면서 면적이 가장 작은 직사각형입니다. |
| RotatedBox | boundingRotBox | 검출된 영역을 포함하면서 면적이 가장 작은 직사각형입니다. |
| Ellipse | fittedEllipse | 검출된 영역에 가장 잘 맞는 타원입니다. |
| uint | area | 검출된 영역의 면적입니다. |
| ClassInfo | classInfo | 검출된 영역이 속한 ClassInfo의 정보입니다 |
| double | score | 검출된 영역을 대표하는 score 값입니다. |
| Contour | contour | 검출된 영역을 표현하는 Contour의 정보입니다. |
Properties
View SourceArea
검출된 영역의 면적입니다.
Declaration
public uint Area { get; }
Property Value
| Type | Description |
|---|---|
| uint |
BoundingBox
검출된 영역을 포함하면서 면적이 가장 작은 직사각형입니다.
회전각은 항상 0도입니다.
Declaration
public RotatedBox BoundingBox { get; }
Property Value
| Type | Description |
|---|---|
| RotatedBox |
BoundingRotBox
검출된 영역을 포함하면서 면적이 가장 작은 직사각형입니다.
회전각이 0도가 아닐 수 있습니다.
Declaration
public RotatedBox BoundingRotBox { get; }
Property Value
| Type | Description |
|---|---|
| RotatedBox |
ClassInfo
검출된 영역이 속한 클래스의 인덱스입니다.
검출된 segmented object는 OK 클래스(0번 인덱스)에 속할 수 없습니다.
따라서 classIndex는 반드시 1 이상의 값을 가집니다.
Declaration
public ClassInfo ClassInfo { get; }
Property Value
| Type | Description |
|---|---|
| ClassInfo |
Contour
검출된 영역을 표현하는 contour의 정보입니다.
Declaration
public Contour Contour { get; }
Property Value
| Type | Description |
|---|---|
| Contour |
FittedEllipse
검출된 영역에 가장 잘 맞는 타원입니다.
Declaration
public Ellipse FittedEllipse { get; }
Property Value
| Type | Description |
|---|---|
| Ellipse |
Score
검출된 영역을 대표하는 score 값입니다.
Declaration
public double Score { get; }
Property Value
| Type | Description |
|---|---|
| double |