Double resin casting micro-computed tomography, or DUCT, enables visualization, digitalization, and segmentation of two tubular systems simultaneously to facilitate 3D analysis of organ architecture. DUCT combines ex vivo injection of two radiopaque resins followed by micro-computed tomography scanning and segmentation of the tomographic data.