Diagnosing malarial parasite in peripheral smear