Union of closings calculated for several linear structuring element orientations on 3d images.
More...
| IPSDKIPLBASICMORPHOLOGY_API image::ImagePtr | ipsdk::imaproc::morpho::unionLinearClosing3dImg (const image::ImageConstPtr &pInImg, const ipsdk::ipReal64 radius) |
| | wrapper function for Union of closings calculated for several linear structuring element orientations on 3d images More...
|
| |
| IPSDKIPLBASICMORPHOLOGY_API image::ImagePtr | ipsdk::imaproc::morpho::unionLinearClosing3dImg (const image::ImageConstPtr &pInImg, const ipsdk::ipReal64 radius, const ipsdk::ipUInt32 nbAngles) |
| | wrapper function for Union of closings calculated for several linear structuring element orientations on 3d images More...
|
| |
| IPSDKIPLBASICMORPHOLOGY_API image::ImagePtr | ipsdk::imaproc::morpho::unionLinearClosing3dImg (const image::ImageConstPtr &pInImg, const ipsdk::ipReal64 radius, const attr::eBorderExtensionPolicy &inOptBorderExtensionPolicy) |
| | wrapper function for Union of closings calculated for several linear structuring element orientations on 3d images More...
|
| |
| IPSDKIPLBASICMORPHOLOGY_API image::ImagePtr | ipsdk::imaproc::morpho::unionLinearClosing3dImg (const image::ImageConstPtr &pInImg, const ipsdk::ipReal64 radius, const ipsdk::ipUInt32 nbAngles, const attr::eBorderExtensionPolicy &inOptBorderExtensionPolicy) |
| | wrapper function for Union of closings calculated for several linear structuring element orientations on 3d images More...
|
| |
| IPSDKIPLBASICMORPHOLOGY_API void | ipsdk::imaproc::morpho::unionLinearClosing3dImg (const image::ImageConstPtr &pInImg, const ipsdk::ipReal64 radius, const image::ImagePtr &pOutImg) |
| | wrapper function for Union of closings calculated for several linear structuring element orientations on 3d images More...
|
| |
| IPSDKIPLBASICMORPHOLOGY_API void | ipsdk::imaproc::morpho::unionLinearClosing3dImg (const image::ImageConstPtr &pInImg, const ipsdk::ipReal64 radius, const ipsdk::ipUInt32 nbAngles, const image::ImagePtr &pOutImg) |
| | wrapper function for Union of closings calculated for several linear structuring element orientations on 3d images More...
|
| |
| IPSDKIPLBASICMORPHOLOGY_API void | ipsdk::imaproc::morpho::unionLinearClosing3dImg (const image::ImageConstPtr &pInImg, const ipsdk::ipReal64 radius, const attr::eBorderExtensionPolicy &inOptBorderExtensionPolicy, const image::ImagePtr &pOutImg) |
| | wrapper function for Union of closings calculated for several linear structuring element orientations on 3d images More...
|
| |
| IPSDKIPLBASICMORPHOLOGY_API void | ipsdk::imaproc::morpho::unionLinearClosing3dImg (const image::ImageConstPtr &pInImg, const ipsdk::ipReal64 radius, const ipsdk::ipUInt32 nbAngles, const attr::eBorderExtensionPolicy &inOptBorderExtensionPolicy, const image::ImagePtr &pOutImg) |
| | wrapper function for Union of closings calculated for several linear structuring element orientations on 3d images More...
|
| |
Union of closings calculated for several linear structuring element orientations on 3d images.
The 3d union linear closing algorithm computes closings in several directions with linear structuring elements and combines them to keep the maximum pixel intensity. The structuring element orientations vary in order to describe a regular grid on a 3d sphere (see the IPSDKCore documentation, section IPSDK concepts > Notations and conventions). This algorithm is usefull to fill circular dark holes inside light objects while preserving thin dark structures.
Just like Union linear closing 2d, the algorithm can handle holes to avoid contact with the image border. See the Closing 2d description for more details.
By default, the algorithm uses 6 different regularly distributed angles with the math::computeUniformlyDistOrientations3d(nbAngles) function.
See Union linear closing 2d for an illustration of the union linear closing in two dimensions.
Attributes description
Attribute description for algorithm :
Global Rule description
Global rule description for algorithm :
(ipsdk::imaproc::matchSizeAndType (_pInImg3d,_pOutImg)) &&
(ipsdk::imaproc::customImageProperty (_pOutWk1Img,
matchBorderExtension1 (_pInImg3d,_pInRadius,eSEXYZSubType::eSEXYZ_Linear,_pInOptBorderExtensionPolicy))) &&
(ipsdk::imaproc::customImageProperty (_pOutWk2Img,
matchBorderExtension1 (_pInImg3d,_pInRadius,eSEXYZSubType::eSEXYZ_Linear,_pInOptBorderExtensionPolicy))) &&
(ipsdk::processor::ifIsSet (_pOutOptWk1Img,
ipsdk::imaproc::customImageProperty (_pOutOptWk1Img,
matchBorderExtension1 (_pInImg3d,_pInRadius,eSEXYZSubType::eSEXYZ_Linear,_pInOptBorderExtensionPolicy)))) &&
(ipsdk::processor::ifIsSet (_pOutOptWk2Img,
ipsdk::imaproc::customImageProperty (_pOutOptWk2Img,
matchBorderExtension1 (_pInImg3d,_pInRadius,eSEXYZSubType::eSEXYZ_Linear,_pInOptBorderExtensionPolicy))))
Example of Python code :
Example imports
import PyIPSDK
import PyIPSDK.IPSDKIPLBasicMorphology as morpho
Code Example
inImg = PyIPSDK.loadTiffImageFile(inputImgPath)
radius = 4
nbAngles = 6
outImg = morpho.unionLinearClosing3dImg(inImg, radius, nbAngles)
Example of C++ code :
Example informations
Associated library
IPSDKIPLBasicMorphology
Header file
Code Example
- See also
- UnionLinearClosing3dImgLvl1
◆ unionLinearClosing3dImg() [1/8]
wrapper function for Union of closings calculated for several linear structuring element orientations on 3d images
- Exceptions
-
◆ unionLinearClosing3dImg() [2/8]
wrapper function for Union of closings calculated for several linear structuring element orientations on 3d images
- Exceptions
-
◆ unionLinearClosing3dImg() [3/8]
wrapper function for Union of closings calculated for several linear structuring element orientations on 3d images
- Exceptions
-
◆ unionLinearClosing3dImg() [4/8]
wrapper function for Union of closings calculated for several linear structuring element orientations on 3d images
- Exceptions
-
◆ unionLinearClosing3dImg() [5/8]
wrapper function for Union of closings calculated for several linear structuring element orientations on 3d images
- Exceptions
-
◆ unionLinearClosing3dImg() [6/8]
wrapper function for Union of closings calculated for several linear structuring element orientations on 3d images
- Exceptions
-
◆ unionLinearClosing3dImg() [7/8]
wrapper function for Union of closings calculated for several linear structuring element orientations on 3d images
- Exceptions
-
◆ unionLinearClosing3dImg() [8/8]
wrapper function for Union of closings calculated for several linear structuring element orientations on 3d images
- Exceptions
-