This paper reports on the development of an open-source image analysis software 'pipeline' dedicated to petrographic microscopy. Using conventional rock thin sections and images from a standard polarising microscope, the pipeline can classify minerals and subgrains into objects and obtain information about optic-axis orientation. Five metamorphic rocks were chosen to test and illustrate the method. Thin sections were imaged using reflected and cross- and plane-polarised transmitted light. Images were taken at different angles of the polariser and analyser (360° with 10° steps), both with and without the full-lambda plate. The resulting image stacks were analysed with a modular pipeline for optic-axis mapping (POAM). POAM consists of external and internal software packages that register, segment, classify, and interpret the visible light spectra using object-based image analysis (OBIAS). The mapped fields-of-view and grain orientation stereonets of interest are presented in the context of whole-slide images. Two innovations are reported. First, we used hierarchical tree region merging on blended multimodal images to classify individual grains of rock-forming minerals into objects. Second, we assembled a new optical mineralogy algorithm chain that identifies the mineral slow axis orientation. The c-axis orientation results were verified with scanning electron microscopy electron backscattered diffraction (SEM-EBSD) data. For quartz (uniaxial) in a granite mylonite the test yielded excellent correspondence of c-axis azimuth and good agreement for inclination. For orthorhombic orthopyroxene in a deformed garnet harzburgite, POAM produced acceptable results for slow axis azimuth. In addition, the method identified slight anisotropy in garnet that would not be appreciated by traditional microscopy. We propose that our method is ideally suited for two commonly performed tasks in mineralogy. First, for mineral grain classification of entire thin sections scans on blended images to provide automated modal abundance estimates and grain size distribution. Second, for prospective fields of view of interest, POAM can rapidly generate slow axis crystal orientation maps from multiangle image stacks on conventionally prepared thin sections for targeting detailed SEM-EBSD studies.