A universal position coding method and system are provided for coding
uncompressed data. Data symbols are assigned to a bin portion and a raw
portion, and a data tree structure is utilized. A top down approach
involves initializing a data tree based on the bit depth of the data;
splitting a bin to form two separate bins based on a predetermined
splitting condition; and repeating the splitting step until a terminating
condition is achieved. A bottom up approach involves forming a data tree;
merging two existing bins to form a new bin based on a merging condition;
and repeating the merging step until a terminating condition is achieved.