Batch converting Neurolucida DAT file format to XML file format
The issue: I have been writing some scripts in Matlab that permit the direct import of the contour and marker data from the delineations users draw with Neurolucida 360 software. For that purpose, I have been using the option of saving the Neurolucida delineation files in the XML format. Neurolucida 360 permits the user to save their data in several different formats, among them the native binary format (DAT), a standard XML format and an ASC (ASCII type) format. I use XML format because of good documentation (links here and here) provided by MBF. However, Neurolucida 360 saves by default the tracing data in their native binary (DAT) format, so most users will (un)consciously primarily save their data in that format. MBF does not give the key for deciphering this format directly, but attempts were made to reverse engineer the key (link here and here). There is also code available for converting between different tracing formats (NLMorphologyConverter). Unfortunately, this software has not been updated since 2016, and MBF file format has changed since then, so when I tried to use this software, I could only get the marker positions converted, but not the contours.
Diagnose procedure: After a lot of searching in the MBF website, I found something interesting in their list of NL 360 updates. In 2019, there was included a data2xml batch converter in their program. If you scroll down to the section regarding the version 2019.1.2 updates, you will read about such a converter.
Solution: You can use this batch converter by following these steps.
1. Open NL 360. You will notice that on the upper right corner of the main interface menu there is an empty text box (marked by a red arrow in the figure under).This is what the MBF website calls a "quick launch box".
.






Kommentarer
Legg inn en kommentar