A Modified Perception Algorithm for Computer-Assisted Diagnosis