Is the function cv2.bitwise_or() use in dilation can be use in erosion ?
Can i use the function with argument for dilation in erosion ? I'm trying to do erosion without using cv2.erode()
.
Function use in Dilation :
cv2.bitwise_or(paddedIm[ h_i - border : (h_i + border)+1, w_i - border : (w_i + border)+1],element)