DensityProfile
Gets the density profile data
int DensityProfile(
const IMAGE *image,
const FIG_EADER *figure,
const int channel,
const int maxSize,
int *size,
BYTE *profile
)
Parameters
*image
|
Image data structure address
|
*figure
|
Figure data structure body address
|
channel
|
Image chanel number
|
maxSize
|
Number of maximum data storage
|
*size
|
Stored data size
|
*profile
|
Profile data storage area
|
Return Value
NORMAL(0): Successful completion
Otherwise: Unsuccessful completion
Description
Gets the profile data of the specified area.
Secure the memory area where the profile data is stored beforehand.
This library stores data up to the specified maximum size.
Only a straight line area and a rectangular area are effective.
Data is stored from top left for a rectangular area to the lower right.
Notes