apj0007 / PrawnView

End of career project where a number of prawns that arrive by a tape previously separated by vibration is visualized, positioned and counted.
GNU General Public License v3.0
0 stars 0 forks source link

Calibrar parámetros closing-erosion-dilatacion-opening #44

Closed apj0007 closed 6 years ago

apj0007 commented 6 years ago

`def op_morfologicas(binary): from skimage.morphology import closing, opening, erosion, dilation from skimage.morphology import square binary = dilation(binary, square(7)) binary = opening(binary, square(25))
binary = erosion(binary, square(8))

return binary`