For function "createLineSegmentMask," line 54:
mask(y1, x1) = 1
Why did you alter the x and y in the mask? Is it to make it aligned with the data? Or is it a typo?
I looked into it and I think you're describing an outdated version of the function. (It uses Bresenham's line algorithm) but that is not the latest version I made.
I'll update to the new version
For function "createLineSegmentMask," line 54: mask(y1, x1) = 1 Why did you alter the x and y in the mask? Is it to make it aligned with the data? Or is it a typo?