UCL / STIR

Software for Tomographic Image Reconstruction
http://stir.sourceforge.net/
Other
109 stars 91 forks source link

remove obsolete functions in ProjDataInfoCylindrical and ProjDataInfoCylindricalNoArcCorr #105

Open KrisThielemans opened 7 years ago

KrisThielemans commented 7 years ago

There's overlap between old and new (safer) functions. We should get rid of the old ones. Let's try to document here what needs to be done.

Functions that handle only rings or only tang_pos/view (these should become either private or protected)

Functions that use 4 coordinates (these should be removed)

Of course, many of these are also used in test_proj_data_info.cxx

ashgillman commented 3 years ago

find_bin_given_cartesian_coordinates_of_detection (replace with get_bin(LOR&)). Used in

618 Renames to get_bin_for_gantry_coordinate_pair. Should this still be replaced?

find_scanner_coordinates_given_cartesian_coordinates (replace with get_LOR or get_LOR_as_2_points). Used in

618 Renames to get_det_pair_for_gantry_coordinate_pair. Should this still be replaced?

find_cartesian_coordinates_of_detection (replace with get_LOR or get_LOR_as_2_points). Used in

618 renames to get_bin_detector_locations_in_gantry_coordinates. Should this still be replaced?

find_cartesian_coordinates_given_scanner_coordinates (replace with get_LOR or get_LOR_as_2_points). Used in

618 renames to get_det_pair_locations_in_gantry_coordinates. Should this still be replaced?