IMSY-DKFZ / simpa

The Simulation and Image Processing for Photonics and Acoustics (SIMPA) toolkit.
https://simpa.readthedocs.io/en/main/
Other
73 stars 17 forks source link

Include a field of view definition into the PADevice definition #11

Closed jgroehl closed 3 years ago

jgroehl commented 3 years ago

The field of view should be defined as a cuboid the following way:

self.fov _mm = [xmin, xmax, ymin, ymax, zmin, zmax]

This field of view is in mm coordinates relative to the volume sizes that start at 0, 0, 0 and go to xdim, ydim, zdim.

Constraints: The (xyz)min values must be >= 0 and the (xyz)max values must be <= (xyz)dim.

This fov definition should then be used in the "extract_field_of_view" method as well as the reconstruction algorithms.

jgroehl commented 3 years ago

Issue is related to #5

jgroehl commented 3 years ago

Is implemented in the latest commit for #24. Waiting for #24 to finish.