“…The algorithm iterates between solving for the sample orientation at each pixel and solving for the global set of tensor elements most consistent with the collective polarization-dependent SHG response. In the first step, the unique collagen tensor elements (c ð2Þ xxz , c ð2Þ zxx , and c ð2Þ zzz ) can be assumed explicitly, based on reported literature values (20,21,32,33), and a nonlinear least-squares fit to sample orientation is performed at each individual pixel. Initial guess values for f were determined by image analysis using the OrientationJ plug-in for ImageJ (34), and initial guess values for q were chosen arbitrarily to be 40 .…”