Determination of the orientation distribution function from arbitrary pole figure regions