An Adaptive Coding Pass Scanning Algorithm for Optimal Rate Control in Biomedical Images. (15th October 2011)