question about finding neighborhood pixels
https://github.com/ands/seamoptimizer/blob/master/seamoptimizer.h#L480
I think it should be floor rather than round here, or ax may be negative leading to strange weights.
BTW, what's the license for seamoptimizer? I'm porting this to Unity as a side project on github, so just wanna have a check
Thanks for your great work 👍
Hey qiankanglai,
looks like you found a bug there! :) I'll run a few tests and see if everything's still okay and commit a fix then.
Thank you!
PS: "Licensing" information is at the top of the file (it's public domain, so have fun doing whatever you want with it :) ).
Great, I skipped the information before. I'll refer to your original repo later.