I want to count only the pixels I wanted like black . What is best method in opencv to count it in REAL TIME.