BiQiWHU / morphological-building-index-and-postprocessing

using MBI(morphological building index)to extract building areas in HRRSI,matlab
17 stars 2 forks source link

Some questions about OpeningByReconstructionLine #1

Open HXia-XXL opened 5 years ago

HXia-XXL commented 5 years ago

I found in open_by_reconstr_line.m ,the size of se1 is set to 1. 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?

BiQiWHU commented 5 years ago

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.