adjusted costss
seam carving implemented but bloody slow
It's workingopen woopdedoop.jpg! There must be a bug where zero-weight sides don't work properly. Also, it's strange that setting all weights apart from east to over 255 still yields a line that moves up and down. I guess by adding 10 per pixel, you do eventually get to 10000... but main thing is the 0 weight bug
Figured it out! I was checking that each weight was greater than 0, rather than greater or equal to 0
reduced to 3 directions, can now compute in less than 3 seconds
a-star did not improve times