To estimate rock porosity in 2D and 3D, we used image technique to analyze rock fractures. We set up some models to
characterize the rock fractures, based on the models, we used Best fit Ferret method to auto-determine fracture zone,
then, analyze rock fracture porosities in 2-D and 3-D. In this study, rock sample is cut off into a number of slices of a
certain thickness (18mm), then the fracture images are taken slice by slice both by using ultraviolet and visible lights,
subsequently the fracture images are auto-thresholded into binary images, and fracture zones are determined by
minimum circumscribed rectangles, finally the porosities are calculated in 2-D dimensional, and 3-D porosities are estimated based on 2-D porosity information.