-
Notifications
You must be signed in to change notification settings - Fork 0
DiGi.GIS.Emgu.CV.Classes
Represents a comparison of orthophoto data, containing the date of comparison and associated image comparison groups.
public class OrtoDataComparison : DiGi.Core.Classes.SerializableObject, DiGi.GIS.Interfaces.IGISObject, DiGi.Core.Interfaces.IObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → OrtoDataComparison
Implements DiGi.GIS.Interfaces.IGISObject, DiGi.Core.Interfaces.IObject
Initializes a new instance of the OrtoDataComparison class by copying another OrtoDataComparison instance.
public OrtoDataComparison(DiGi.GIS.Emgu.CV.Classes.OrtoDataComparison ortoDataComparison);ortoDataComparison OrtoDataComparison
The source comparison object to copy from.
Initializes a new instance of the OrtoDataComparison class.
public OrtoDataComparison(System.DateTime dateTime, System.Collections.Generic.IEnumerable<DiGi.GIS.Emgu.CV.Classes.OrtoImageComparisonGroup> ortoImageComparisonGroups);dateTime System.DateTime
The date and time when the comparison was performed.
ortoImageComparisonGroups System.Collections.Generic.IEnumerable<OrtoImageComparisonGroup>
A collection of orthophoto image comparison groups.
Initializes a new instance of the OrtoDataComparison class from a System.Text.Json.Nodes.JsonObject.
public OrtoDataComparison(System.Text.Json.Nodes.JsonObject jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing the comparison data.
Gets the date and time when the orthophoto data comparison was performed.
public System.DateTime DateTime { get; }Gets or sets the collection of orthophoto image comparison groups associated with this data comparison.
public System.Collections.Generic.IEnumerable<DiGi.GIS.Emgu.CV.Classes.OrtoImageComparisonGroup>? OrtoImageComparisonGroups { get; private set; }System.Collections.Generic.IEnumerable<OrtoImageComparisonGroup>
Represents a collection of orthodata comparisons associated with a specific reference, providing functionality to manage and retrieve comparison data based on dates.
public class OrtoDatasComparison : DiGi.Core.Classes.GuidObject, DiGi.GIS.Interfaces.IGISObject, DiGi.Core.Interfaces.IObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → DiGi.Core.Classes.UniqueObject → DiGi.Core.Classes.GuidObject → OrtoDatasComparison
Implements DiGi.GIS.Interfaces.IGISObject, DiGi.Core.Interfaces.IObject
Initializes a new instance of the OrtoDatasComparison class by copying an existing instance.
public OrtoDatasComparison(DiGi.GIS.Emgu.CV.Classes.OrtoDatasComparison? ortoDatasComparison);ortoDatasComparison OrtoDatasComparison
The source OrtoDatasComparison instance to copy from.
Initializes a new instance of the OrtoDatasComparison class.
public OrtoDatasComparison(string? reference, System.Collections.Generic.IEnumerable<DiGi.GIS.Emgu.CV.Classes.OrtoDataComparison>? ortoDataComparisons);reference System.String
The reference identifier for the comparison data.
ortoDataComparisons System.Collections.Generic.IEnumerable<OrtoDataComparison>
A collection of orthodata comparisons to be included in this set.
Initializes a new instance of the OrtoDatasComparison class from a JSON object.
public OrtoDatasComparison(System.Text.Json.Nodes.JsonObject? jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing the data to initialize the instance.
Gets or sets the collection of orthodata comparisons. The data is internally stored in a sorted dictionary to maintain chronological order.
public System.Collections.Generic.IEnumerable<DiGi.GIS.Emgu.CV.Classes.OrtoDataComparison>? OrtoDataComparisons { get; private set; }System.Collections.Generic.IEnumerable<OrtoDataComparison>
Gets the reference identifier associated with these orthodata comparisons.
public string? Reference { get; }Retrieves the orthodata comparison corresponding to the specified date, or the closest preceding value if an exact match is not found.
public DiGi.GIS.Emgu.CV.Classes.OrtoDataComparison? GetOrtoDataComparison(System.DateTime dateTime);dateTime System.DateTime
The date used to search for a comparison.
OrtoDataComparison
The matching OrtoDataComparison instance, or null if no suitable record exists.
Extracts the unique years from all available orthodata comparisons and returns them as a range.
public DiGi.Core.Classes.Range<int>? GetYears();DiGi.Core.Classes.Range<System.Int32>
A DiGi.Core.Classes.Range<> of integers representing the years, or null if the internal data store is null.
Represents a storage file for orthophoto data comparison information, providing functionality to persist and retrieve OrtoDatasComparison objects.
public class OrtoDatasComparisonFile : DiGi.Core.IO.File.Classes.StorageFile<DiGi.GIS.Emgu.CV.Classes.OrtoDatasComparison>, DiGi.GIS.Interfaces.IGISObject, DiGi.Core.Interfaces.IObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → DiGi.Core.IO.File.Classes.File → DiGi.Core.IO.File.Classes.StorageFile<OrtoDatasComparison> → OrtoDatasComparisonFile
Implements DiGi.GIS.Interfaces.IGISObject, DiGi.Core.Interfaces.IObject
Initializes a new instance of the OrtoDatasComparisonFile class by copying an existing instance.
public OrtoDatasComparisonFile(DiGi.GIS.Emgu.CV.Classes.OrtoDatasComparisonFile? ortoDatasComparisonFile);ortoDatasComparisonFile OrtoDatasComparisonFile
The source storage file to copy from.
Initializes a new instance of the OrtoDatasComparisonFile class from the specified file path.
public OrtoDatasComparisonFile(string? path);path System.String
The path to the storage file.
Initializes a new instance of the OrtoDatasComparisonFile class from a JSON object.
public OrtoDatasComparisonFile(System.Text.Json.Nodes.JsonObject? jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing the storage file data.
Generates a unique reference for the specified orthophoto data comparison object.
public override DiGi.Core.Classes.UniqueReference? GetUniqueReference(DiGi.GIS.Emgu.CV.Classes.OrtoDatasComparison? ortoDatasComparison);ortoDatasComparison OrtoDatasComparison
The orthophoto data comparison object to generate a reference for.
DiGi.Core.Classes.UniqueReference
A DiGi.Core.Classes.UniqueReference associated with the provided object, or null if the object is null.
Generates a unique reference based on the provided string identifier for orthophoto data.
public static DiGi.Core.Classes.UniqueReference? GetUniqueReference(string? reference);reference System.String
The string reference identifier.
DiGi.Core.Classes.UniqueReference
A DiGi.Core.Classes.UniqueReference if the reference is not null; otherwise, null.
Provides options for comparing orthodata, extending the base directory name specifications.
public class OrtoDatasComparisonOptions : DiGi.GIS.Classes.DirectoryNamesOptionsInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → DiGi.Core.Classes.SerializableOptions → DiGi.GIS.Classes.DirectoryNamesOptions → OrtoDatasComparisonOptions
Initializes a new instance of the OrtoDatasComparisonOptions class.
public OrtoDatasComparisonOptions();Initializes a new instance of the OrtoDatasComparisonOptions class based on an existing OrtoDatasComparisonOptions instance.
public OrtoDatasComparisonOptions(DiGi.GIS.Emgu.CV.Classes.OrtoDatasComparisonOptions ortoDatasComparisonOptions);ortoDatasComparisonOptions OrtoDatasComparisonOptions
The source options to copy from.
Initializes a new instance of the OrtoDatasComparisonOptions class from a JSON object.
public OrtoDatasComparisonOptions(System.Text.Json.Nodes.JsonObject jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing the options data.
Gets or sets a value indicating whether existing values should be overridden.
public bool OverrideExisting { get; set; }Gets or sets the range of years to be considered during the orthodata comparison process.
public DiGi.Core.Classes.Range<int> Years { get; set; }DiGi.Core.Classes.Range<System.Int32>
Represents the results of a comparison between two ortho-images, containing various computer vision metrics such as color similarity, histogram correlation, and structural indices.
public class OrtoImageComparison : DiGi.Core.Classes.SerializableObject, DiGi.GIS.Interfaces.IGISObject, DiGi.Core.Interfaces.IObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → OrtoImageComparison
Implements DiGi.GIS.Interfaces.IGISObject, DiGi.Core.Interfaces.IObject
Initializes a new instance of the OrtoImageComparison class by copying an existing instance.
public OrtoImageComparison(DiGi.GIS.Emgu.CV.Classes.OrtoImageComparison ortoImageComparison);ortoImageComparison OrtoImageComparison
The source OrtoImageComparison instance to copy from.
OrtoImageComparison(DateTime, int, float, float, float, float, float, float, float, float, float, float, float) Constructor
Initializes a new instance of the OrtoImageComparison class with specified comparison metrics.
public OrtoImageComparison(System.DateTime dateTime, int hammingDistace, float colorDistributionShift, float grayHistogramFactor, float averageColorSimilarity, float histogramCorrelation, float shapeComparisonFactor, float structuralSimilarityIndex_AbsoluteDifference, float structuralSimilarityIndex_MatchTemplate, float meanLaplacianFactor, float standardDeviationLaplacianFactor, float opticalFlowAverageMagnitude, float oRBFeatureMatchingFactor);dateTime System.DateTime
The date and time when the comparison was performed.
hammingDistace System.Int32
The Hamming distance between matrices based on their average gray masks.
colorDistributionShift System.Single
The Euclidean distance between the mean colors of the two images.
grayHistogramFactor System.Single
The correlation factor between the grayscale histograms of the two image matrices.
averageColorSimilarity System.Single
The Euclidean distance between the average colors of the two images.
histogramCorrelation System.Single
The correlation value between the hue histograms of the two images.
shapeComparisonFactor System.Single
The sum of absolute differences between the Hu Moments of the primary contours.
structuralSimilarityIndex_AbsoluteDifference System.Single
The similarity index based on the absolute difference of grayscale representations.
structuralSimilarityIndex_MatchTemplate System.Single
The similarity index using template matching with normalized cross-correlation.
meanLaplacianFactor System.Single
The calculated mean factor of the Laplacian.
standardDeviationLaplacianFactor System.Single
The calculated standard deviation factor of the Laplacian.
opticalFlowAverageMagnitude System.Single
The average magnitude of optical flow vectors between two images.
oRBFeatureMatchingFactor System.Single
The average distance of the ORB feature matches; a lower value indicates a better match.
Initializes a new instance of the OrtoImageComparison class from a System.Text.Json.Nodes.JsonObject.
public OrtoImageComparison(System.Text.Json.Nodes.JsonObject jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing the comparison data.
Gets the Euclidean distance between the average colors of the two images.
public float AverageColorSimilarity { get; }Gets the Euclidean distance between the mean colors of the two images.
public float ColorDistributionShift { get; }Gets the date and time when the image comparison was performed.
public System.DateTime DateTime { get; }Gets the correlation factor between the grayscale histograms of the two images.
public float GrayHistogramFactor { get; }Gets the Hamming distance between matrices based on their average gray masks.
public int HammingDistance { get; }Gets the correlation value between the hue histograms of the two images.
public float HistogramCorrelation { get; }Gets the calculated mean factor of the Laplacian.
public float MeanLaplacianFactor { get; }Gets the average magnitude of optical flow vectors between two images.
public float OpticalFlowAverageMagnitude { get; }Gets the average distance of the ORB feature matches; a lower value indicates a better match.
public float ORBFeatureMatchingFactor { get; }Gets the sum of absolute differences between the Hu Moments of the primary contours.
public float ShapeComparisonFactor { get; }Gets the calculated standard deviation factor of the Laplacian.
public float StandardDeviationLaplacianFactor { get; }Gets the similarity index based on the absolute difference of grayscale representations.
public float StructuralSimilarityIndex_AbsoluteDifference { get; }Gets the similarity index using template matching with normalized cross-correlation.
public float StructuralSimilarityIndex_MatchTemplate { get; }Represents a group of orthophoto image comparisons, typically organized by date and time.
public class OrtoImageComparisonGroup : DiGi.Core.Classes.SerializableObject, DiGi.GIS.Interfaces.IGISObject, DiGi.Core.Interfaces.IObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → OrtoImageComparisonGroup
Implements DiGi.GIS.Interfaces.IGISObject, DiGi.Core.Interfaces.IObject
Initializes a new instance of the OrtoImageComparisonGroup class by copying an existing group.
public OrtoImageComparisonGroup(DiGi.GIS.Emgu.CV.Classes.OrtoImageComparisonGroup? ortoImageComparisonGroup);ortoImageComparisonGroup OrtoImageComparisonGroup
The source OrtoImageComparisonGroup to copy from.
Initializes a new instance of the OrtoImageComparisonGroup class.
public OrtoImageComparisonGroup(string? name, System.Collections.Generic.IEnumerable<DiGi.GIS.Emgu.CV.Classes.OrtoImageComparison>? ortoImageComparisons);name System.String
The descriptive name of the comparison group.
ortoImageComparisons System.Collections.Generic.IEnumerable<OrtoImageComparison>
A collection of orthophoto image comparisons to be added to the group.
Initializes a new instance of the OrtoImageComparisonGroup class from a JSON object.
public OrtoImageComparisonGroup(System.Text.Json.Nodes.JsonObject? jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The System.Text.Json.Nodes.JsonObject containing the serialized data for the group.
Gets the name of the orthophoto image comparison group.
public string? Name { get; }Gets or sets the collection of orthophoto image comparisons associated with this group. The internal storage ensures that these are sorted by their date and time.
public System.Collections.Generic.IEnumerable<DiGi.GIS.Emgu.CV.Classes.OrtoImageComparison>? OrtoImageComparisons { get; private set; }System.Collections.Generic.IEnumerable<OrtoImageComparison>
Retrieves the orthophoto image comparison for the specified date and time, or the closest preceding entry if an exact match is not found.
public DiGi.GIS.Emgu.CV.Classes.OrtoImageComparison? GetOrtoImageComparison(System.DateTime dateTime);dateTime System.DateTime
The target date and time to search for.
OrtoImageComparison
The matching OrtoImageComparison, or null if no suitable comparison exists.