It's just plain simple copy paste from this
here is my notebook
Hope someone can get right directions why output goes wrong after watershed was applied
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this community
growRect
in the linefinalRectangles = growRect /@ rooms[[All, 2]];
before it is defined? At least it seems to work fine for me when I definegrowRect
first... $\endgroup$