google-code-export / segtools

Automatically exported from code.google.com/p/segtools
1 stars 1 forks source link

segtools-signal-distribution reporting statistics for wrong labels #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In segtools version 1.1.9, the segment labels are being shuffled in 
segtools-signal distribution, both in the tab file and the resulting plots. 
This occurs with or without the use of a mnemonics file.

It appears that the labels are assigned based on which appear first in the 
segmentation file, i.e. the first segment label in the segmentation is 
relabelled either 0 (if no mnemonics) or to the label 0 is mapped to in the 
mnemonic file.

The issue appears to arise in signal_distribution.py, line 69, labels = 
segmentation.labels.

Original issue reported on code.google.com by stevenpwilder@gmail.com on 19 Jan 2012 at 11:43

GoogleCodeExporter commented 9 years ago
Segtools was not translating from its internal numbering system back to the 
provided labeling. This issue has been fixed and should be present in the next 
release.

Original comment by epa...@uw.edu on 18 Oct 2012 at 11:52