A system comprising: a controller having at least one processor and at least one non-transitory, tangible memory on which instructions are recorded for executing a method for obtaining a profile of a lens capsule of an eye; wherein the profile is represented by respective central surfaces and respective equatorial surfaces separated by respective transition points; wherein execution of the instructions by the processor causes the controller to: obtain imaging data for a portion of the lens capsule visible through a pupil of the eye, the imaging data including posterior datapoints and anterior datapoints; transform the imaging data to an adjusted frame of reference having a first axis and a second axis; fit the imaging data to the respective central surfaces in a predefined central region in the adjusted frame of reference; obtain a transition coordinate as a coordinate value of the respective transition points in a positive X-domain; determine a set of fitting parameters for the respective central surfaces and the respective equatorial surfaces based on the transition coordinate and a plurality of constraints; obtain the profile based on the set of fitting parameters for the respective central surfaces and the respective equatorial surfaces; characterized in that transforming the imaging data to the adjusted frame of reference includes: fitting the posterior datapoints and the anterior datapoints to a first circle and a second circle, respectively, and determining intersection points of the first circle and the second circle; and transforming the posterior datapoints and the anterior datapoints such that they are centered about a respective center of the intersection points and rotated such that a tilt angle of rotation is zero. a controller having at least one processor and at least one non-transitory, tangible memory on which instructions are recorded for executing a method for obtaining a profile of a lens capsule of an eye; wherein the profile is represented by respective central surfaces and respective equatorial surfaces separated by respective transition points; wherein execution of the instructions by the processor causes the controller to: obtain imaging data for a portion of the lens capsule visible through a pupil of the eye, the imaging data including posterior datapoints and anterior datapoints; transform the imaging data to an adjusted frame of reference having a first axis and a second axis; fit the imaging data to the respective central surfaces in a predefined central region in the adjusted frame of reference; obtain a transition coordinate as a coordinate value of the respective transition points in a positive X-domain; determine a set of fitting parameters for the respective central surfaces and the respective equatorial surfaces based on the transition coordinate and a plurality of constraints; obtain the profile based on the set of fitting parameters for the respective central surfaces and the respective equatorial surfaces; characterized in that transforming the imaging data to the adjusted frame of reference includes: fitting the posterior datapoints and the anterior datapoints to a first circle and a second circle, respectively, and determining intersection points of the first circle and the second circle; and transforming the posterior datapoints and the anterior datapoints such that they are centered about a respective center of the intersection points and rotated such that a tilt angle of rotation is zero. obtain imaging data for a portion of the lens capsule visible through a pupil of the eye, the imaging data including posterior datapoints and anterior datapoints; transform the imaging data to an adjusted frame of reference having a first axis and a second axis; fit the imaging data to the respective central surfaces in a predefined central region in the adjusted frame of reference; obtain a transition coordinate as a coordinate value of the respective transition points in a positive X-domain; determine a set of fitting parameters for the respective central surfaces and the respective equatorial surfaces based on the transition coordinate and a plurality of constraints; obtain the profile based on the set of fitting parameters for the respective central surfaces and the respective equatorial surfaces; characterized in that transforming the imaging data to the adjusted frame of reference includes: fitting the posterior datapoints and the anterior datapoints to a first circle and a second circle, respectively, and determining intersection points of the first circle and the second circle; and transforming the posterior datapoints and the anterior datapoints such that they are centered about a respective center of the intersection points and rotated such that a tilt angle of rotation is zero. fitting the posterior datapoints and the anterior datapoints to a first circle and a second circle, respectively, and determining intersection points of the first circle and the second circle; and transforming the posterior datapoints and the anterior datapoints such that they are centered about a respective center of the intersection points and rotated such that a tilt angle of rotation is zero.