Markov Chain Based Edge Detection Algorithm for Evaluation of Capillary Microscopic Images