Coal bed methane is one of the clean energy sources in the world. Methane molecules are confined inside the pores of coals and when the gas drainage wells are drilled into the coal seams, due to the resulted pressure difference. Coal cleats are spread all over the coal seam as face and butt cleats and play an essential role in the methane gas drainage operation from coal mines. Calculating the coal cleats spacing makes great help in modeling the amount of emitted gas followed by calculating the spacing of gas suction wells. Furthermore, the time required for gas drainage will be determined. Computer-based image processing technique has been utilized to identify the cleats spacing. In this study, three-dimensional computed tomography scan images were prepared for coal samples from Tabas Coal Mine in Iran. Computer-based image processing technology was conducted to determine the coal cleats. Their spacing was then calculated. Based on the results obtained using image processing with computer, the average distance between face cleats was 20 to 30 mm and the distance between butt cleats was 15 to 25 mm. The results of this study are used to modeling the amount of methane gas in the coal cleats. Based on this modeling, the amount of released gas and the distance between the wells can be designed.