You need to classify the ground first, and the rest depends on your environment.
If your survey area only contains trees, then after ground classification, the rest will be trees (You will probably need to take care of vehicles or people on the ground).
Otherwise, I don't think there is function to deal with trees specifically in PhotoScan. You can use the other software to do the classification though.