User`s guide

7 Analysis and Enhancement
7 UsetheBusCreatorblocktocombinetheR,G,andB,signalsintoone
signal so you can process it with one 2-D Histogram block. Set the Number
of inputs param eter to
3.
8 Use the 2-D Histogram block to calculate the histogram of the R , G, and B
values in the image. Accept the default parameters.
The R, G, and B values input to the 2-D Histogram block are
double-precision floating point a nd range between 0 and 1. The block
creates 256 bins between the maximum and minimum input v alues and
counts the number of R, G, and B values in each bin.
9 Use the
Bus Selector block to expand the input signal into three separate
R, G, a
nd B, signals. You must set the block parameters of this block after
you co
nnect a signal to i ts input p ort. You configure this block later in
this p
rocedure.
7-62