How do calculate volume and elevation of detections

Hello i have a fair true detections of my pits i was planning further to calculate its volume and elevation how can i do that how do i setup my task parameters .