How to know about the pixel

hello
how to know about the total pixel in random forest image classification…when i apply the random forest algoritham it automatically show the 5000 number of training sample…and number of tress 10…how to know about the number of pixel for number of training sample.