visual3d:documentation:pipeline:report_commands:add_an_image_to_a_report
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| visual3d:documentation:pipeline:report_commands:add_an_image_to_a_report [2024/07/12 13:31] – removed sgranger | visual3d:documentation:pipeline:report_commands:add_an_image_to_a_report [2024/07/17 15:46] (current) – created sgranger | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Add an Image to a Report ====== | ||
| + | |||
| + | \\ | ||
| + | **To complete this tutorial, please download the sample files [[https:// | ||
| + | |||
| + | CreatingReport_Tutorial_Image_blank.cmo will be used in this tutorial | ||
| + | CreatingReport_Tutorial_Image.cmo contains the completed cmo file | ||
| + | \\ | ||
| + | **All the steps in this tutorial may also be scripted in a pipeline. To see an example please view the [[Visual3D: | ||
| + | \\ | ||
| + | More advanced pipelines can be made to add an image to a report, an example is shown [[Visual3D: | ||
| + | **\\ | ||
| + | |||
| + | |||
| + | ===== Outline ===== | ||
| + | |||
| + | Adding an image to a report can be completely automated using a pipeline script, or images can be manually created.\\ | ||
| + | \\ | ||
| + | **To add an image to a report:**\\ | ||
| + | 1) The image must be exported from the **Signals and Events tab** by:\\ | ||
| + | |||
| + | |||
| + | a. Setting the 3D View Options\\ | ||
| + | |||
| + | b. Setting the camera perspective\\ | ||
| + | |||
| + | c. Exporting the image by going to File -> Export Animation Frame to Image\\ | ||
| + | |||
| + | 2) The image can then be added to the report by selecting **" | ||
| + | \\ | ||
| + | \\ | ||
| + | **NOTE:** Images are specific to the subject and are saved within the cmo file, not the report template.\\ | ||
| + | \\ | ||
| + | |||
| + | |||
| + | ===== Export Animation Frame to Image ===== | ||
| + | |||
| + | \\ | ||
| + | |||
| + | |||
| + | ==== Prepare the image for export ==== | ||
| + | |||
| + | \\ | ||
| + | Export the first image of the sagittal view of the subject.\\ | ||
| + | |||
| + | |||
| + | |1. **Set the current frame** to 239\\ | ||
| + | |||
| + | |2. Modify **3D Animation View Options**\\ \\ \\ a. Set the **Background** to White\\ \\ b. **Turn off:**\\ \\ Lab/Floor\\ \\ Lab Axes\\ \\ Landmarks\\ \\ Targets\\ \\ Segment Coordinate System Axes\\ \\ c. Close the 3D Animation View Options dialog box | {{: | ||
| + | |||
| + | |3. Set the **camera perspective** to the sagittal view of the subject\\ \\ \\ **NOTE:** The perspective seen in the 3D viewer will the exported perspective. | ||
| + | |||
| + | ==== Export the image ==== | ||
| + | |||
| + | \\ | ||
| + | |||
| + | |||
| + | |After setting the 3D viewer options, export the image by going to:\\ 1. The **File** drop down menu\\ 2. Selecting **Export Animation Frame to Image**\\ \\ \\ a.**Browse** to the location to export the image | {{: | ||
| + | |||
| + | \\ | ||
| + | |||
| + | |||
| + | ==== Export Image 2 - A/P View ==== | ||
| + | |||
| + | Follow the same instructions as for the first image, but change the camera export perspective to the A/P view of the subject and export the image using a different name. | ||
| + | |||
| + | ===== Add the image to the report ===== | ||
| + | |||
| + | |1. Go to the **Reports** Tab\\ | ||
| + | |||
| + | |2. Add the **Sagittal view** image by setting **Image** as the "Item to add" and clicking **Add**. | ||
| + | |||
| + | |Set the parameters to the following: | ||
| + | |||
| + | \\ | ||
| + | |||
| + | |||
| + | |3. Add the **A/P view** image by setting **Image** as the "Item to add" and clicking **Add**. Set the parameters to the following: | ||
| + | |||
| + | \\ | ||
| + | |||
| + | |||
| + | |4. The images will be loaded into the report. | ||
| + | |||
| + | |||
visual3d/documentation/pipeline/report_commands/add_an_image_to_a_report.1720791063.txt.gz · Last modified: by sgranger
