luispedro / mahotas

Computer Vision in Python
https://mahotas.rtfd.io
Other
839 stars 147 forks source link

cwatershed of version 1.2.1 does not give the same results with numpy 1.8 and 1.9 #54

Closed TristanAgaesse closed 9 years ago

TristanAgaesse commented 9 years ago

The function cwatershed works well with mahotas.1.2.1 and numpy 1.8. When I'm using a mahotas 1.2.1 or 1.2.3 with numpy 1.9 I've got many unexpected horizontal watershed lines.

luispedro commented 9 years ago

I cannot reproduce this using the lena image. I get exactly the same results with numpy 1.8 & 1.9

Can you post a small test case?

TristanAgaesse commented 9 years ago

I cannot reproduce this bug. I think I was trying to use mahotas or numpy on red hat 5 cluster but had installed them on red hat 6. Everything went back in order when I reinstalled numpy 1.8. Thanks for your reply. Mahotas rocks.