Sampling-based frame and bundle measurement of pulpwood