getHistogramPoint Method (ImageProcessing)

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

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

Parameters

imageData

The image data where the histogram is retrieved.

threshold*.

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls.Medical Assembly
Click or drag to resize