Our iterators have oldRawData() and rawData() available for access. Only the latter seems to be useful.<div><br></div><div>The Unsharp Mask filter is broken, it generates 1x64 lines instead of 1x1 pixels as a result of the operation. I found that changing the iterator from const to non-const, and using rawData() instead of oldRawData() in every situation, makes it behave as expected.</div>
<div>This is not the first time I've seen oldRawData() giving off useless information, instead of the expected Old Raw Data of a pixel.</div><div><br></div><div>I think whatever mechanism fills oldRawData's information is broken somewhere. Is there a Unit Test to keep this behavior in check?.</div>
<div><br></div><div>I don't want to submit the patch fixing the Unsharp Mask filter since using rawData() instead of oldRawData() is just a duct-tape solution, the problem is that oldRawData() isn't giving the right data back.</div>
<div><br></div><div><br></div><div><br></div><div>Any thought?.</div>