Ask Your Question

Revision history [back]

Count pixel for black and white using OpenCV for Unity

Hi, i'm developing a mobile app to capture images of seedling and calculate the plant growth (after 3 weeks) by calculating the differences of white pixels (after changing it to threshold) for each images. I already got how to change it to threshold but i don't know how to count black and white pixels numbers of the image. I'm using OpenCV for Unity plugin. Can anybody help me?

Count pixel for black and white using OpenCV for Unity

Hi, i'm developing a mobile app to capture images of seedling and calculate the plant growth (after 3 weeks) by calculating the differences of white pixels (after changing it to threshold) for each images. I already got how to change it to threshold but i don't know how to count black and white pixels numbers of the image. I'm using OpenCV for Unity plugin. Can anybody help me?