getHistogramPoint Method

Summary

Returns 2 indexes on the histogram that represents the lower and higher edges where all the values outside them are less than the

threshold**.

Syntax
TypeScript
JavaScript
getHistogramPoint = function( 
   imageData, 
   threshold 
) 
static getHistogramPoint( 
   imageData: ImageData, 
   threshold: number 
): LeadPointD; 

Parameters

imageData

The image data where the histogram is retrieved.

threshold

The threshold that specifies where to put the points on the lower and higher edges.

Return Value

LeadPointD that contains the lower and higher edges where all the values outside them are less than the threshold.

Remarks

These values are used to indicates that all the values in the histogram that exceed the upper edge (y), and that are less than the lower edge (x) are below the threshold, and therefore insignificant. This method is used internally be the Stretch the histogram to identify area's that are insignificant and therefore stretch the rest of the histogram over them.

Requirements

Target Platforms

Help Version 22.0.2023.2.14
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.