Class BiomImageSegmentType
A data type for a portion of an image
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class BiomImageSegmentType : IEquatable<BiomImageSegmentType>
Properties
Context
biomImageSegmentType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public BiomImageSegmentType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<BiomImageSegmentType.ContextEnum> | biomImageSegmentType JSON-LD context |
ImageSegmentId
An index identifier for a particular set of segmentation coordinates (e.g., a polygon) which encloses the relevant part of a source image or associated data image. NIEM reference is biom:ImageSegmentID
Declaration
[DataMember(Name = "imageSegmentId")]
public List<BiomInteger1to99Type> ImageSegmentId { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<BiomInteger1to99Type> | An index identifier for a particular set of segmentation coordinates (e.g., a polygon) which encloses the relevant part of a source image or associated data image. NIEM reference is biom:ImageSegmentID |
InternalFileLocation
A description of the internal file location if the representation has multiple locations where a sample may be located, i.e., the reference to the particular instance, such as page, video frame, or slide number used to derive the image transmitted i NIEM reference is biom:ImageSegmentInternalFileLocationText
Declaration
[DataMember(Name = "internalFileLocation")]
public List<NcTextType> InternalFileLocation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of the internal file location if the representation has multiple locations where a sample may be located, i.e., the reference to the particular instance, such as page, video frame, or slide number used to derive the image transmitted i NIEM reference is biom:ImageSegmentInternalFileLocationText |
PositionPolygonVertex
A vertex in a position polygon NIEM reference is biom:PositionPolygonVertex
Declaration
[DataMember(Name = "positionPolygonVertex")]
public List<BiomVertexType> PositionPolygonVertex { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<BiomVertexType> | A vertex in a position polygon NIEM reference is biom:PositionPolygonVertex |
PositionPolygonVertexQuantity
A number of vertices in a position polygon NIEM reference is biom:PositionPolygonVertexQuantity
Declaration
[DataMember(Name = "positionPolygonVertexQuantity")]
public List<BiomImageFeatureVertexQuantityType> PositionPolygonVertexQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<BiomImageFeatureVertexQuantityType> | A number of vertices in a position polygon NIEM reference is biom:PositionPolygonVertexQuantity |
Methods
Equals(BiomImageSegmentType)
Returns true if BiomImageSegmentType instances are equal
Declaration
public bool Equals(BiomImageSegmentType other)
Parameters
Type | Name | Description |
---|---|---|
BiomImageSegmentType | other | Instance of BiomImageSegmentType to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Operators
Equality(BiomImageSegmentType, BiomImageSegmentType)
Declaration
public static bool operator ==(BiomImageSegmentType left, BiomImageSegmentType right)
Parameters
Type | Name | Description |
---|---|---|
BiomImageSegmentType | left | |
BiomImageSegmentType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(BiomImageSegmentType, BiomImageSegmentType)
Declaration
public static bool operator !=(BiomImageSegmentType left, BiomImageSegmentType right)
Parameters
Type | Name | Description |
---|---|---|
BiomImageSegmentType | left | |
BiomImageSegmentType | right |
Returns
Type | Description |
---|---|
System.Boolean |