You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in statistics/FeatureStatustucs.cpp/EulerNumber(), the code to set the pixel
value when inverting the image to find the holes is:
cp->pixel(x,y,z).intensity=1;
This does not set the pixel value to anything, so the image is not inverted to
find the holes.
Its too bad that the pixel() return type is a valid lvalue, and that the
compiler didn't warn that the statement has no effect (or maybe it did but
there were too many other warnings that were being ignored).
The code should be:
cp->set(x,y,z,1);
This should be changed in C-chrm trunk and pychrm trunk.
This affects the test results, which requires updating all .sig and .fit test
files.
Original issue reported on code.google.com by [email protected] on 15 Dec 2012 at 3:22
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 15 Dec 2012 at 3:22The text was updated successfully, but these errors were encountered: