******************************************************** 
Description of .ccsigskl files. (Tao Ju, 2014)
********************************************************  


1. Purpose. 

The file is created by the cell complex thinning tool and encodes the resulting skeleton with significance measures. The skeleton is actually represented by the entire input cell complex with tags at each cell denoting its presence in the skeleton.

2. Format.

This is a binary file with the following data (all integers are 32 bits, floats are 32 bits, and chars are 8 bits, cell indexing starts from 0):

- 4 integers (number of cells in 0,1,2,3 dimensions)
- For each 0-dimensional cell
	- 3 floats (3D coordinates)
- For each dimension k (k=0-3)
	- If there are cells at this dimension
		- 2 integers (number of parent cells and child cells for a k-cell)
		- For each k-cell x
			- For each x's parent y
				- 1 integer (index of y)
			- For each x's child y
				- 1 integer (index of y)
			- 1 char (1 if the cell is in the skeleton)
			- 1 float (s2 measure)
			- 1 float (s1 measure)
			- 1 char (isolation iteration)

- 1 integer (maximum number of thinning iterations)


Note: 

s1 is calculated as (RemovalIteration - IsolationIteration)
s2 is calculated as ( s1 / RemovalIteration )


