I found in open_by_reconstr_line.m ,the size of se1 is set to 1.
In that case, the loop is meaningless. It will only be iterated once when the function is called.
I am afraid this is not the same as my understanding of morphological Opening By Reconstruction operations.
Should the reconstruction se1 be set a larger size to get image reconstructed?
Thanks for your finding and comment. Here we have to set this parameter to a larger size so that the iteration can go on. I have changed the code. Thanks.
I found in open_by_reconstr_line.m ,the size of se1 is set to 1. In that case, the loop is meaningless. It will only be iterated once when the function is called.
I am afraid this is not the same as my understanding of morphological Opening By Reconstruction operations.
Should the reconstruction se1 be set a larger size to get image reconstructed?