Json Datadefinition
This repository contains data structure definitions for the RoboCT group at Deggendorf. It includes custom data structure schemas, example data files, and validation scripts.
- Example Files: Stored in the
example
folder, these files demonstrate data structure usage. - Validation Scripts: Located in the
scripts
folder, these scripts validatethd_json
data structure definitions against their schemas.
THD JSON
This data structure use always a human-readable .json
for storing header information.
Projection
This schema defines the properties for projection data in THD JSON format.
Property | Type | Description | Constraints | Required |
---|---|---|---|---|
focal_spot_position_mm |
array | Position of the focal spot in millimeters | 3 numbers | Yes |
focal_spot_orientation_quat |
array | Quaternion representing the focal spots orientation | 4 numbers | No |
detector_center_position_mm |
array | Center position of the detector in millimeters | 3 numbers | Yes |
detector_horizontal_vector |
array | Horizontal orientation vector of the detector | 3 numbers | No |
detector_vertical_vector |
array | Vertical orientation vector of the detector | 3 numbers | No |
detector_center_orientation_quat |
array | Quaternion representing the detector's center orientation | 4 numbers | Yes |
pixel_pitch_width_mm |
number | Pixel pitch in millimeters (width) | Minimum 0.001 | Yes |
pixel_pitch_heigth_mm |
number | Pixel pitch in millimeters (heigth) | Minimum 0.001 | Yes |
image_width_px |
integer | Width of the image in pixels | Minimum 1 | Yes |
image_heigth_px |
integer | Height of the image in pixels | Minimum 1 | Yes |
projection_matrix_cera |
array | Projection matrix for CERA, representing transformations | 3 arrays of 4 numbers | No |