Merge Nearby Bounding Boxes

Hi, Astrid.
I would really appreciate the help. Is it the same as merging them after thresholding by using morphology close with a kernel size that would connect them?