<< cv_bilateralfilter ComputerVision cv_blur >>

ComputerVision >> ComputerVision > cv_blackhat

cv_blackhat

Provides BlackHat operation on images

Calling Sequence

img_ret=cv_blackhat(image,kernel_type,kernel_size)

Arguments

image

Input Image on which the operation of BlackHat is to be performed

kernel_type

It accepts Integer/Float as Input 1->MORPH_RECT 2-> MORPH_ELLIPSE 3-> MORPH_CROSS

kernel_size

It accepts a list as input specifying the size of Kernel needed example [5,5]

img_ret

Returned Image after blackhat operation

Description

Performs Blackhat Operation

Blackhat gives the difference between the closing of the input image and input image. For more information on kernel type see structuring element section of http://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_imgproc/py_morphological_ops/py_morphological_ops.html

Examples

img_ret=cv_blackhat(input_image,1,[5,5])

See Also


Report an issue
<< cv_bilateralfilter ComputerVision cv_blur >>