![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
finds the local extrema in an image More...
| IPSDKIPLFEATUREDETECTION_API ipsdk::imaproc::attr::Pixels2dPtr | ipsdk::imaproc::fd::extractLocalExtrema2d (const image::ImageConstPtr &pInImg, const ipsdk::ipUInt32 inFeaturesDistX, const ipsdk::ipUInt32 inFeaturesDistY) |
| wrapper function for extraction of local extrema (minima, maxima, or both of them) in an image This wrapper must be used with mono slice (sizeZ=sizeC=sizeT=1) input images More... | |
| IPSDKIPLFEATUREDETECTION_API ipsdk::imaproc::attr::Pixels2dPtr | ipsdk::imaproc::fd::extractLocalExtrema2d (const image::ImageConstPtr &pInImg, const ipsdk::ipUInt32 inFeaturesDistX, const ipsdk::ipUInt32 inFeaturesDistY, const ipsdk::imaproc::attr::LocalExtremaConfigConstPtr &localExtremaConfig) |
| wrapper function for extraction of local extrema (minima, maxima, or both of them) in an image This wrapper must be used with mono slice (sizeZ=sizeC=sizeT=1) input images More... | |
| IPSDKIPLFEATUREDETECTION_API ipsdk::imaproc::attr::PlanIndexedPixels2dPtr | ipsdk::imaproc::fd::multiSlice_extractLocalExtrema2d (const image::ImageConstPtr &pInImg, const ipsdk::ipUInt32 inFeaturesDistX, const ipsdk::ipUInt32 inFeaturesDistY) |
| multi slices version of wrapper function for extraction of local extrema (minima, maxima, or both of them) in an image This wrapper can be used with multi slice input images More... | |
| IPSDKIPLFEATUREDETECTION_API ipsdk::imaproc::attr::PlanIndexedPixels2dPtr | ipsdk::imaproc::fd::multiSlice_extractLocalExtrema2d (const image::ImageConstPtr &pInImg, const ipsdk::ipUInt32 inFeaturesDistX, const ipsdk::ipUInt32 inFeaturesDistY, const ipsdk::imaproc::attr::LocalExtremaConfigConstPtr &localExtremaConfig) |
| multi slices version of wrapper function for extraction of local extrema (minima, maxima, or both of them) in an image This wrapper can be used with multi slice input images More... | |
finds the local extrema in an image
Given an input 2d gray level image, and depending on the parameters
, set by the user, the algorithm returns:
value equals to
, the collection of local maxima of the input image that are greater than the
attribute value. A local maximum is a pixel whose value is greater or equal than the values of all its neighbours defined by the half kernel sizes along the x and y directions
and
. In the case of plateaus, only the first pixel found is selected except for a special case illustrated in the figure below.
value equals to
, the collection of strict local maxima of the input image that are greater than the
attribute value. A strict local maximum is a pixel whose value is strictly greater than the values of all its neighbours defined by the half kernel sizes along the x and y directions
and
.
value equals to
, the collection of local minima of the input image that are lower than the
attribute value. A local minimum is a pixel whose value is lower or equal than the values of all its neighbours defined by the half kernel sizes along the x and y directions
and
. In the case of plateaus, only the first pixel found is selected except for a special case illustrated in the figure below.
value equals to
, the collection of strict local minima of the input image that are lower than the
attribute value. A strict local minimum is a pixel whose value is strictly lower than the values of all its neighbours defined by the half kernel sizes along the x and y directions
and
.For non strict local extrema calculation, an extremum can belong to a plateau. In this case, the algorithm generally selects the first pixel of the first line of the plateau. However, several local extrema can be found in the same plateau. The following figure illustrates an example of plateau where more than one local extremum is found. The plateau is represented by black pixels and the extrema selected are colored in red in the right figure.
Two wrappers can be called : the extractLocalExtrema2d wrapper is only used to compute the extrema extraction on a grey level 2d images, whereas the multiSlice_extractLocalExtrema2d wrapper must be used for more complex data (volume, sequence and/or color).
The user may handle this behaviour correctly to analyze the obtained results.
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InImg | [Input] image for processing operation | X |
| ipsdk::imaproc::attr::InFeaturesDistX | [Input] distance between detected features along x axis (tchebychev distance) | X |
| ipsdk::imaproc::attr::InFeaturesDistY | [Input] distance between detected features along y axis (tchebychev distance) | X |
| ipsdk::imaproc::attr::InOptLocalExtremaConfig | [Input Optional] Attribute for local extrema calculation configuration | X |
| ipsdk::imaproc::attr::OutPIPixels2d | [Output] plan indexed collection of positions and intensities of 2d pixels | ipsdk::imaproc::fromImage (_pOutPIPixels2d, _pInImg) |
Global rule description for algorithm :
ipsdk::imaproc::matchImagePlans (_pOutPIPixels2d,_pInImg,eImagePlansMatchPolicy::eIPMP_ZCT)
| IPSDKIPLFEATUREDETECTION_API ipsdk::imaproc::attr::Pixels2dPtr ipsdk::imaproc::fd::extractLocalExtrema2d | ( | const image::ImageConstPtr & | pInImg, |
| const ipsdk::ipUInt32 | inFeaturesDistX, | ||
| const ipsdk::ipUInt32 | inFeaturesDistY | ||
| ) |
wrapper function for extraction of local extrema (minima, maxima, or both of them) in an image This wrapper must be used with mono slice (sizeZ=sizeC=sizeT=1) input images
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLFEATUREDETECTION_API ipsdk::imaproc::attr::PlanIndexedPixels2dPtr ipsdk::imaproc::fd::multiSlice_extractLocalExtrema2d | ( | const image::ImageConstPtr & | pInImg, |
| const ipsdk::ipUInt32 | inFeaturesDistX, | ||
| const ipsdk::ipUInt32 | inFeaturesDistY | ||
| ) |
multi slices version of wrapper function for extraction of local extrema (minima, maxima, or both of them) in an image This wrapper can be used with multi slice input images
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLFEATUREDETECTION_API ipsdk::imaproc::attr::Pixels2dPtr ipsdk::imaproc::fd::extractLocalExtrema2d | ( | const image::ImageConstPtr & | pInImg, |
| const ipsdk::ipUInt32 | inFeaturesDistX, | ||
| const ipsdk::ipUInt32 | inFeaturesDistY, | ||
| const ipsdk::imaproc::attr::LocalExtremaConfigConstPtr & | localExtremaConfig | ||
| ) |
wrapper function for extraction of local extrema (minima, maxima, or both of them) in an image This wrapper must be used with mono slice (sizeZ=sizeC=sizeT=1) input images
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLFEATUREDETECTION_API ipsdk::imaproc::attr::PlanIndexedPixels2dPtr ipsdk::imaproc::fd::multiSlice_extractLocalExtrema2d | ( | const image::ImageConstPtr & | pInImg, |
| const ipsdk::ipUInt32 | inFeaturesDistX, | ||
| const ipsdk::ipUInt32 | inFeaturesDistY, | ||
| const ipsdk::imaproc::attr::LocalExtremaConfigConstPtr & | localExtremaConfig | ||
| ) |
multi slices version of wrapper function for extraction of local extrema (minima, maxima, or both of them) in an image This wrapper can be used with multi slice input images
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14