[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bwselect and bwfill image toolbox bug
From: |
Rosen Diankov |
Subject: |
bwselect and bwfill image toolbox bug |
Date: |
Tue, 24 Feb 2009 12:35:06 -0500 |
hi all,
bwselect calling conventions are:
[IMOUT, IDX] = bwselect(IM, COLS, ROWS, CONNECT)
and bwfill calling conventions are:
[BW2, IDX] = bwfill(BW1, R, C, N)
Notice how the columns and rows are flipped. This is a *big* problem
because bwselect happily calls bwfill with inputting its columns
before rows. This causes octave to crash with memory corruption.
Another problem is possible compatibility issues with matlab because
matlab's bwfill function is
[BW2, IDX] = bwfill(BW1, C, R, N)
this is tested with the newest release of the image toolbox 1.0.8
rosen,
- bwselect and bwfill image toolbox bug,
Rosen Diankov <=