Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RoboCT Schemas
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RoboCT (Public)
RoboCT Schemas
Commits
039c88ae
Commit
039c88ae
authored
5 months ago
by
Simon Wittl
Browse files
Options
Downloads
Patches
Plain Diff
fixed typos and reqs
parent
880d3e94
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+6
-15
6 additions, 15 deletions
README.md
examples/thd_json/test_thd.json
+3
-2
3 additions, 2 deletions
examples/thd_json/test_thd.json
thd_json/projection.json
+14
-8
14 additions, 8 deletions
thd_json/projection.json
with
23 additions
and
25 deletions
README.md
+
6
−
15
View file @
039c88ae
...
...
@@ -8,23 +8,14 @@
| 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 | Yes |
|
`detector_vertical_vector`
| array | Vertical orientation vector of the detector | 3 numbers | Yes |
|
`detector_center_orientation_quat`
| array | Quaternion representing the detector's center orientation | 4 numbers | Yes |
|
`pixel_pitch_mm`
| number | Pixel pitch in millimeters | - | 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 |
# Notes:
-
**Arrays**
:
-
`focal_spot_position_mm`
,
`detector_center_position_mm`
,
`detector_horizontal_vector`
,
`detector_vertical_vector`
: Arrays containing exactly
**3 numbers**
.
-
`detector_center_orientation_quat`
: Array containing exactly
**4 numbers**
.
-
`projection_matrix_cera`
: Optional 3x4 matrix (array of 3 arrays, each with 4 numbers).
-
**Integers**
:
-
`image_width_px`
and
`image_heigth_px`
have a minimum value constraint of 1.
-
**Additional Properties**
: No additional properties are allowed outside of those defined here.
This diff is collapsed.
Click to expand it.
examples/thd_json/test_thd.json
+
3
−
2
View file @
039c88ae
...
...
@@ -25,9 +25,10 @@
0.737277336810124
,
0.0
],
"pixel_pitch_mm"
:
0.07479989711934157
,
"pixel_pitch_width_mm"
:
0.07479989711934157
,
"pixel_pitch_height_mm"
:
0.07479989711934157
,
"image_width_px"
:
1944
,
"image_heig
t
h_px"
:
1536
,
"image_heigh
t
_px"
:
1536
,
"projection_matrix_cera"
:
[
[
-0.17494827015512399
,
...
...
This diff is collapsed.
Click to expand it.
thd_json/projection.json
+
14
−
8
View file @
039c88ae
{
"$schema"
:
"http://json-schema.org/draft-07/schema#"
,
"title"
:
"T
est THD
File Schema"
,
"title"
:
"T
HD Projection
File Schema"
,
"type"
:
"object"
,
"version"
:
0.1
,
"properties"
:
{
"focal_spot_position_mm"
:
{
"type"
:
"array"
,
...
...
@@ -48,16 +49,22 @@
"minItems"
:
4
,
"maxItems"
:
4
},
"pixel_pitch_mm"
:
{
"pixel_pitch_
width_
mm"
:
{
"type"
:
"number"
,
"description"
:
"Pixel pitch in millimeters."
"description"
:
"Pixel pitch in width dimension measured in millimeters."
,
"minimum"
:
0.001
},
"pixel_pitch_height_mm"
:
{
"type"
:
"number"
,
"description"
:
"Pixel pitch in heigth dimension measured in millimeters."
,
"minimum"
:
0.001
},
"image_width_px"
:
{
"type"
:
"integer"
,
"description"
:
"Width of the image in pixels."
,
"minimum"
:
1
},
"image_heig
t
h_px"
:
{
"image_heigh
t
_px"
:
{
"type"
:
"integer"
,
"description"
:
"Height of the image in pixels."
,
"minimum"
:
1
...
...
@@ -80,12 +87,11 @@
"required"
:
[
"focal_spot_position_mm"
,
"detector_center_position_mm"
,
"detector_horizontal_vector"
,
"detector_vertical_vector"
,
"detector_center_orientation_quat"
,
"pixel_pitch_mm"
,
"pixel_pitch_height_mm"
,
"pixel_pitch_width_mm"
,
"image_width_px"
,
"image_heig
t
h_px"
"image_heigh
t
_px"
],
"additionalProperties"
:
false
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment