gzr2017 / ImageProcessing100Wen

「画像処理100本ノック」中文版本!为图像处理初学者设计的 100 个问题。
https://github.com/yoyoyo-yo/Gasyori100knock
MIT License
3.59k stars 1.06k forks source link

Answer_50 has a problem #10

Open Kwongy opened 4 years ago

Kwongy commented 4 years ago

In the description, the morphological operation is dilating before eroding. But in your code, you erode before you dilate. And we have the same problem with open operation. File: ImageProcessing100Wen/Question_41_50/answers_py/answer_49.py, answer_50.py

gzr2017 commented 4 years ago

我刚刚看了一下,好像确实是写反了。yoyoyo-yo那里也写反了。你可以去yoyoyo-yo/Gasyori100knock那里提一下。因为原作者是他。