Skip to content

Commit ce0d372

Browse files
authored
Merge pull request #438 from csiro-internal/feature/cvd-image-scaling-tool
Plumb handbag's CVD scaling as a post processing option and cleans up unimplemented items from GUI Updated merged submodules and changelog. Rod approved over slack.
2 parents 4639fa3 + 7619105 commit ce0d372

3 files changed

Lines changed: 47 additions & 5 deletions

File tree

docs/user/PostProcessing.md

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Contents:
44

55
- [Offline global SLAM](#offline-global-slam)
66
- [Summarise FA data](#summarise-fa-data)
7-
- [Summarise mission](#summarise-mission)
7+
- [Scale CVD Images](#scale-cvd-images)
88

99
See:
1010

@@ -135,6 +135,41 @@ The yaml files will have the following messages within:
135135

136136
If the align feedback is valid and the camera_firmware run data is provided, the png will be generated with annotations of the expected position, align feedback and bounds.
137137

138-
## <a href="#summarise-mission" id="summarise-mission" name="summarise-mission">Summarise mission</a>
138+
## <a href="#scale-cvd-images" id="scale-cvd-images" name="scale-cvd-images">Scale CVD Images</a>
139139

140-
Not implemented.
140+
Inputs:
141+
142+
- Recording of Optical Payload data.
143+
144+
Outputs:
145+
146+
- CVD images scaled to 12-bit, written to new folder but in same Optical Payload parent directory, e.g. if this is the provided directory, `/ssd/20251205_1/run002/` it will output the scaled images to `/ssd/20251205_1/run002-12bit`
147+
148+
Procedure:
149+
150+
1. Record Optical Payload data.
151+
1. Navigate to `Right pane` > `Data` > `Recording` > `Optical Payload`.
152+
2. Click `Start`.
153+
3. Use RCVD (go to FA, ROI, etc.).
154+
4. Navigate to `Right pane` > `Data` > `Recording` > `Optical Payload`.
155+
5. Click `Stop`.
156+
6. Navigate to `Right pane` > `Data` > `Data sets` > `Optical Payload`.
157+
7. Find the name of the Optical Payload data that was just recorded. It should be at the top of the list. Let `${RECORD_OPTICAL_PAYLOAD}` be the name of the Optical Payload data.
158+
2. Run post-processing task.
159+
1. Navigate to `Right pane` > `Data` > `Post-Processing`.
160+
2. Set `Task` to `Scale CVD images to 12-bit`.
161+
3. Set `Optical Payload data` to `${RECORD_OPTICAL_PAYLOAD}`.
162+
4. Click `Start`.
163+
5. Watch `Status`, wait for it to become `Complete.` or any other value that implies the task has terminated.
164+
3. Copy outputs from RCVD.
165+
166+
```bash
167+
rsync \
168+
--progress \
169+
--recursive \
170+
--times \
171+
rcvd@rcvdorin2:/ssd/record_camerafirmware/${RECORD_OPTICAL_PAYLOAD}/ \
172+
/mnt/ssd/record_camerafirmware/${RECORD_OPTICAL_PAYLOAD/
173+
```
174+
175+
4. Open outputs the same as you would with the original camera_firmware data

src/CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,17 @@ This file is to document the high level changes to the RCVD project from release
1111
- Added `docs/dev/Images.md`.
1212
- Added `mask_radius` and `fuel_size` to `iaea-xcvd-camerafirmware` parameters. `fuel_size` is calculated from CV params `fa_size` and `pixel_size`.
1313
- Added `roi_centre_pixel_x`, `roi_centre_pixel_y`, `roi_rotation_microrads` and `fuel_mark` to CSV outputs from Handbag's Summarise FA Data
14+
- Added `Scale CVD Images to 12-bit` as a post-processing option through the GUI. See `PostProcessing.md` for details.
15+
16+
### Removed
17+
18+
- Removed unimplemented Missions from data pane.
19+
- Removed unimplemented CV data for Pond Maps from sessions pane.
20+
- Removed unimplemented Warnings in settings pane.
1421

1522
### Changed
1623

17-
- Updated `session.py` to forward `fa_size` and `pixel_size` to two topics, CV (original) and camerafirmware (new)
24+
- Updated `session.py` to forward `fa_size` and `pixel_size` to two topics, CV (original) and camerafirmware (new).
1825

1926
### Fixed
2027

src/rcvd_ui

0 commit comments

Comments
 (0)