Abstract
A pathological diagnosis is essential to treatment of cancer. Using a microscopy, a pathologist can decide the presence of cancer based on the altered morphologic appearance of tissue. The number of pathologists, however, does not match the number of patients. The fact that a few pathologists perform many diagnostics makes this process error prone. The development of pathological diagnosis assisted by computer is an urgent issue. In this paper, an algorithm based on the topological invariant is introduced and several results are shown. We have tried to test the colon tissue, the results are consistent with diagnosis by a pathologist.