![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
measure of common statistics indicators in the image (mean, max, etc.) computed along the X axis More...
| IPSDKIPLGLOBALMEASURE_API ipsdk::imaproc::attr::DoublesPtr | ipsdk::imaproc::glbmsr::yProjection2d (const ipsdk::image::ImageConstPtr &pInSubImg, const ipsdk::imaproc::attr::eProjStatType &eInProjStatType) |
| wrapper function for measure of common statistics indicators in the image (mean, max, etc.) computed along the X direction More... | |
measure of common statistics indicators in the image (mean, max, etc.) computed along the X axis
The computed statistics for each line can be : minimum, maximum, sum, mean, variance, standard deviation or median (see ipsdk::imaproc::attr::eProjStatType).
The output is a vector whose size equals to the number of lines of the input image.
Here is an example of a 8-bits grey level image and all the Y projections operations which can be applied :
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InSubImg2d | [Input] grey level 2d sub image for operation | X |
| ipsdk::imaproc::attr::InProjStatType | [Input] Predefined types for a statistical projection algorithm | X |
| ipsdk::imaproc::attr::OutProjStat | [Output] Vector containing the measure of common statistics indicators in the image (mean, max, etc.) along a given direction | ipsdk::processor::allocate (_pOutProjStat) |
Global rule description for algorithm :
ipsdk::processor::none ()
| IPSDKIPLGLOBALMEASURE_API ipsdk::imaproc::attr::DoublesPtr ipsdk::imaproc::glbmsr::yProjection2d | ( | const ipsdk::image::ImageConstPtr & | pInSubImg, |
| const ipsdk::imaproc::attr::eProjStatType & | eInProjStatType | ||
| ) |
wrapper function for measure of common statistics indicators in the image (mean, max, etc.) computed along the X direction
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14