On 64bit system the bwlabel works weird

Bug #1273239 reported by Tomio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ImageP
Fix Released
High
Tomio

Bug Description

On 64bit Ubuntu the program installs, but the bwlabel returns weird results: a half image with a high number of 1 pixel hits. The python source works fine.

Tags: 64bit gcc
Revision history for this message
Tomio (tomio2009) wrote :

The problem is in the Csources.py: gcc uses 4 byte ints even on 64 bit platforms, where the nu.int and python ints are 64 bit long. This makes a missmatch between how numpy and the c code accesses the arrays.

Quick fix: redefine nu.int to nu.intc.

The 0.295a release have this fixed.

Revision history for this message
Tomio (tomio2009) wrote :

The fix is in the 0.295a release.

Changed in imagep:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.