nclack / whisk

Fully automated tracking of single rows of whiskers in high-speed video.
https://openwiki.janelia.org/wiki/display/MyersLab/Whisker+Tracking
Other
9 stars 13 forks source link

Files saved by SaveMeasurements.m not readable. #6

Closed nclack closed 12 years ago

nclack commented 12 years ago

Reported

nclack commented 12 years ago

Status

Noticed other issues, perhaps related

nclack commented 12 years ago

Regarding label change on save:

The problem was that the mex function required certain types for each field. Saying:

measurements(1).label = -1

sets the label as a double when it should be int32. Fixed by forcing SaveMeasurements.m to cast before sending the matlab struct to the mex function.

nclack commented 12 years ago

I think the user was using a past version that didn't know about the "measv2" format, which was introduced in the v1.0.2 release.

Opening a new issue for the face axis issue on matlab.