IPindex.gif Previous-2.gif Next-3.gif

IPhistogram


Synopsis

construct the histogram of an image

Input Ports

src

ip_Image_in

roi

ip_Roi_in

 

Parameters

nbins

int

number of individual bins to count over

low

float

lower limit of data range

high

float

upper limit of data range

 

Output Ports

nbins

int

bins

int

 

Description

IPhistogram constructs the histogram of an image and outputs an array of size nbins whose values are the counts of the occurrences of each value. It has lower and upper limits and a region-of-interest control.

Input Ports

src
A reference to an ip_Image.
roi
A reference to an optional ip_Roi. The data must be of type byte.

Parameters

nbins
The number of bins to count over.
low
The lower limit of the data range to be counted.
high
The upper limit of the data range to be counted.

Output Ports

nbins
The input parameter exported as an output port for convenience in linking with downstream modules such as the uniform scalar field Field Mapper.
bins
An array of integers, nbins long, whose values are the histogram counts. The uniform_scalar field mapper can convert this output into a field for subsequent downstream processing.

Example

Libraries.Examples.Image_Processing.IPhistogram

The following figure illustrates IPhistogram in a network.

 

FILE://D:/Help_dev/R982RefPages/RefpageWorking/IP/htmlconversion/ip-1.gif

File

v/ip.v

See also

Not applicable.

 



IPindex.gif Previous-2.gif Next-3.gif