BRAINSTools icon indicating copy to clipboard operation
BRAINSTools copied to clipboard

BCD --inputLandmarksEMSP file format

Open reginakim opened this issue 7 years ago • 1 comments

@hjmjohnson @aghayoor The inputLandmarksEMSP file provides convenient work around when BCD failed for eye detection. While it provides a good and quick way to fix eye using 3DSlicer, the format can be improved further.

Currently, the BCD fails if '--inputLandmarksEMSP' looks as: # Markups fiducial file version = 4.3
# CoordinateSystem = 0 # columns = id,x,y,z,ow,ox,oy,oz,vis,sel,lock,label,desc,associatedNodeID vtkMRMLMarkupsFiducialNode_0,31.7664,71.4745,0.5,0,0,0,1,1,1,0,LE,, vtkMRMLMarkupsFiducialNode_1,-26.1606,74.2774,0.5,0,0,0,1,1,1,0,RE,,

but works with following (if the line starts with the landmark name): # Markups fiducial file version = 4.3
# CoordinateSystem = 0 # columns = id,x,y,z,ow,ox,oy,oz,vis,sel,lock,label,desc,associatedNodeID LE,31.7664,71.4745,0.5,0,0,0,1,1,1,0,LE,, RE,-26.1606,74.2774,0.5,0,0,0,1,1,1,0,RE,, ~
we may want to lookup both 'id' and 'associatedNodeID', since 3D Slicer saves fcsv like the first one.

Just opinion. Just let me know.

reginakim avatar Nov 02 '16 10:11 reginakim

Slicer has changed their format so many times in the past few years. It is hard to keep up. It would be WONDERFUL to have this represented properly again.

hjmjohnson avatar Nov 03 '16 15:11 hjmjohnson

We are probably not going to fix this.

hjmjohnson avatar Sep 05 '22 13:09 hjmjohnson