First of all, Thank for your code. I am trying to run your code on my data and I follow your steps, but why it looks like this?
I think the input image is not aligned with the vertices produced by Octopus, but how to solve this problem? Thanks again~