To facilitate the automation accuracy of rock joint mapping, a new method based on color space was proposed for the semi-automatic identification and orientation calculation of rock joints. The developed method in this study comprises four-step: (1) the point color space and point curvature were calculated based on the point normal and xyz-coordinates respectively; (2) the rock joint sets were identified from point clouds based on the difference in point color space and point curvature; (3) each single rock joint was extracted from the aforementioned joint sets using a density-based spatial clustering of applications with noise (DBSCAN); and (4) the orientation was determined according to the point normals of the fitting planes of the points on each detected rock joint. A dodecahedron was used to demonstrate the procedures of rock joint detection and orientation calculation, and two outcrop cases were selected to further verify the effectiveness of the proposed method. The results of all cases indicate that the orientation difference between manual measurement and the proposed method was less than 2°. The codes that support the findings of this study are publicly shared on GitHub (
https://github.com/DisDet/DisDetCIELAB
).