public int NumberOfPoints { get; } @property (nonatomic, assign, readonly) NSUInteger numberOfPoints; public int getNumberOfPoints(); public:property int NumberOfPoints {int get();}
NumberOfPoints # get (CorrelationListCommand)
Value that indicates the number of areas in the image actually found to be correlated to one or more of the listed images.
using Leadtools;using Leadtools.Codecs;using Leadtools.ImageProcessing;using Leadtools.ImageProcessing.Core;public void CorrelationListConstructorExample(){// Load an imageRasterCodecs codecs = new RasterCodecs();codecs.ThrowExceptionsOnInvalidImages = true;RasterImage image = codecs.Load(Path.Combine(LEAD_VARS.ImagesDir, "clean.tif"));CopyRectangleCommand copyRectangle = new CopyRectangleCommand();LeadRect rc_cor = new LeadRect(327, 378, 22, 28);copyRectangle.Rectangle = rc_cor;copyRectangle.Run(image);RasterImage correlationImage = copyRectangle.DestinationImage.Clone();rc_cor = new LeadRect(283, 378, 22, 28);copyRectangle.Rectangle = rc_cor;copyRectangle.Run(image);correlationImage.AddPage(copyRectangle.DestinationImage.Clone());LeadPoint[] points = new LeadPoint[30];int[] listIndex = new int[30];CorrelationListCommand command = new CorrelationListCommand(correlationImage, points, listIndex, 1, 1, 90);command.Run(image);Assert.IsTrue(command.NumberOfPoints == points.Length);}static class LEAD_VARS{public const string ImagesDir = @"C:\LEADTOOLS22\Resources\Images";}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
