Closed liandaoacc closed 7 years ago
Thanks very much, and it's now fixed. The commit here introduced this problem a year ago, and it slipped by me in review among the endless casting changes. I've gone over the submission again and believe no other bugs were introduced.
There was a problem before my commit: Unary minus of an unsigned int gives an unsigned int which probably not what you want here. I have the correct fix in my repository. Please pull. https://github.com/gonsolo/GraphicsGems/commit/5eff48b8d9f66c3ec0d23e4690a746ca63798679
Thanks, and fixed (no idea how to make a pull request from your branch; I thought you'd submit a PR for me to accept).
In gemsiv/clahe.c, lin 226,
pImage = &pImagePointer[uiSizeX];
should bepImage = &pImagePointer[-uiSizeX];
. At the original version, it ispImage = &pImagePointer[-uiSizeX];
.