![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
computes the Pearson correlation coefficient in the image More...
| IPSDKIPLGLOBALMEASURE_API ipReal64 | ipsdk::imaproc::glbmsr::pearsonCorrelationCoefficient2d (const image::ImageConstPtr &pInImg1, const image::ImageConstPtr &pInImg2) |
| wrapper function for computes the Pearson correlation coefficient in the image More... | |
| IPSDKIPLGLOBALMEASURE_API ipsdk::imaproc::attr::PlanIndexedPearsonCCResultPtr | ipsdk::imaproc::glbmsr::multiSlice_pearsonCorrelationCoefficient2d (const image::ImageConstPtr &pInImg1, const image::ImageConstPtr &pInImg2) |
| wrapper function for computes the Pearson correlation coefficient in the image More... | |
computes the Pearson correlation coefficient in the image
The Pearson correlation coefficient, also known as Pearson colocalization, is a linear correlation measure between the two input images InImg1 and InImg2. This coefficient is calculated with the following formula :
Where
is the image domain,
is the mean intensity of
and
is its standard deviation.
Two wrappers can be called : the pearsonCorrelationCoefficient2d wrapper is only used to compute the Pearson coefficient on a grey level 2d image, whereas the multiSlice_pearsonCorrelationCoefficient2d wrapper must be used for more complex data (volume, sequence and/or color). In the second case, a coefficient is calculated for each 2d plan forming the input images.
This algorithm is equivalent to compute the sum on each 2d plan of the resulting image of Pearson colocalization mapping 2d.
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InImg1 | [Input] First image for processing operation | X |
| ipsdk::imaproc::attr::InImg2 | [Input] Second image for processing operation | X |
| ipsdk::imaproc::attr::OutPIPearsonCCResult | [Output] Plan indexed collection of results for Pearson correlation coefficient | ipsdk::imaproc::fromImage (_pOutPIPearsonCCResult, _pInImg1) |
Global rule description for algorithm :
ipsdk::imaproc::matchSize (_pInImg1,_pInImg2) &&
ipsdk::imaproc::matchImagePlans (_pOutPIPearsonCCResult,_pInImg1,eImagePlansMatchPolicy::eIPMP_ZCT)
| IPSDKIPLGLOBALMEASURE_API ipReal64 ipsdk::imaproc::glbmsr::pearsonCorrelationCoefficient2d | ( | const image::ImageConstPtr & | pInImg1, |
| const image::ImageConstPtr & | pInImg2 | ||
| ) |
wrapper function for computes the Pearson correlation coefficient in the image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLGLOBALMEASURE_API ipsdk::imaproc::attr::PlanIndexedPearsonCCResultPtr ipsdk::imaproc::glbmsr::multiSlice_pearsonCorrelationCoefficient2d | ( | const image::ImageConstPtr & | pInImg1, |
| const image::ImageConstPtr & | pInImg2 | ||
| ) |
wrapper function for computes the Pearson correlation coefficient in the image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14