Extracting information from binary files


The segment information that is contained in the binary file that ends with 'yxx' can also be extracted in a form suitable for re-use in an input data file.


The compiled programs that do this are called read2bin.exe and read3bin.exe and are supplied with the package (the source files are also supplied). They read data from the file binary.yxx (so copy the binary data to this) and output the information to the file result.dat. If the segment information is required with no labels, use read2bi or read3bi.


Extracting information in this way can be useful if you want to save the segment data produced by iterative subdivision (adaptive segmentation) .


It can also be useful if you want to remove a few segments to create a hole in an electrode.


The programs also extract the unit charges (please refer to the information in the source files).