Skip to content

Commit df159ee

Browse files
committed
fixing spelling mistakes #4
1 parent 993c434 commit df159ee

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

episodes/itksnap.Rmd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -233,15 +233,15 @@ In some cases you may want to display an image as a colour overlay on top of ano
233233

234234
### Layer inspector tools
235235
* Load `CT-PET-VI-02/CT_for_PET` and `CT-PET-VI-02/PET` scan datasets, using hot semi-transparency (as shown above).
236-
* Go to `Tools->Layer Inspector`. This opens the Image Layer Inspector window. you will see the two images on the left, and five tabs along the top of the window.
236+
* Go to `Tools->Layer Inspector`. This opens the Image Layer Inspector window. You will see the two images on the left, and five tabs along the top of the window.
237237
* PET image appears in Cursor Inspector (called Galligas Lung) in italic and CT image as CT Lung in bold.
238238

239239
* **The General tab** displays the filename and the nickname for the selected image.
240240
* The Nickname can be edited. For the PET image the general tab also displays a slider to set the opacity, and the option to display it as a separate image or semi-transparent overlay.
241241

242242
![Figure. ITK-SNAP: Layer inspector with general tab](fig/itk-snap-layer-inspector-general-tab.png)
243243

244-
* **The Contrast tab** enables you to adjust how the image intensities are displayed for the different images. e.g. Select the lung image and set the maximum value to 1000 (push enter after typing the number) and this will make the structures in the lung easier to see.
244+
* **The Contrast tab** enables you to adjust how the image intensities are displayed for the different images, e.g. Select the lung image and set the maximum value to 1000 (push enter after typing the number) and this will make the structures in the lung easier to see.
245245

246246
![Figure. ITK-SNAP: Layer inspector with contrast tab](fig/itk-snap-layer-inspector-contrast-tab.png)
247247

@@ -447,7 +447,7 @@ print(nii3ct.header)
447447
```
448448
* `sform` transformation matrix
449449
You can see that the `sform` is stored in the `srow_x`, `srow_y`, and `srow_z` fields of the header.
450-
These specify the top three rows of a 4x4 matrix representing an affine transformation using homogenous coordinates.
450+
These specify the top three rows of a 4x4 matrix representing an affine transformation using homogeneous coordinates.
451451
The fourth row is not stored as it is always `[0 0 0 1]`.
452452
You will notice that the sform matrix matches the affine transform in the `Nifti1Image` object.
453453

@@ -457,7 +457,7 @@ There are 5 different sform/qform codes defined:
457457

458458
| Code | Label | Meaning |
459459
| --- | --- | --- |
460-
| 0 | unknown | sform not definted |
460+
| 0 | unknown | sform not defined |
461461
| 1 | scanner | RAS+ is scanner coordinates |
462462
| 2 | aligned | RAS+ aligned to some other scan |
463463
| 3 | talairach | RAS+ in Talairach atlas space |
@@ -504,7 +504,7 @@ and posterior of the image/patient, but the nifti format assumes a RAS world coo
504504
system (i.e. the values increase as you move to the right and anterior of the patient).
505505
Therefore, the world coordinates decrease as the voxel indices increase.
506506

507-
#### ITK-SNAP visualistaion coordinate system
507+
#### ITK-SNAP visualisation coordinate system
508508
TOADD
509509

510510
## Modifying `NifTi` images and headers with Nibabel
@@ -531,7 +531,7 @@ plt.imshow(image_data[:,:,140], cmap="gray"); plt.show()
531531
Casting image data to float64 prevents any integer-related errors and problems in downstream processing when using the data read by NiBabel.
532532
However, this does not change the type of the image stored on disk, which as we have seen is int16 for this image, and this could still lead to downstream errors or unexpected behaviour for any processing that works directly on the images stored on disk.
533533
We are going to convert the image saved on disk to a floating point image, using the `set_data_dtype` function to set the data type to float32.
534-
Esentially, we are going to use 32 bit rather than 64 bit floating point, as this is usually sufficiently accurate.
534+
Essentially, we are going to use 32 bit rather than 64 bit floating point, as this is usually sufficiently accurate.
535535

536536
```python
537537
print(nii3ct.get_data_dtype())

learners/setup.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@ Download the [data zip file](https://example.com/FIXME) and unzip it to your Des
2222

2323
### CT-vs-PET-Ventilation-Imaging
2424
CT Ventilation as a Functional Imaging Modality for Lung Cancer Radiotherapy from [TCIA](https://www.cancerimagingarchive.net/collection/ct-vs-pet-ventilation-imaging/).
25-
We recomend to focus on exhale/inhale breath hold CT (BHCT) Dicoms.
25+
We recommend to focus on exhale/inhale breath hold CT (BHCT) Dicoms.
2626
Bare in mind that:
2727
* The BHCT scans for CT-PET-VI-02 & CT-PET-VI-03 show very little motion between inhale and exhale
2828
* The BHCT scans for CT-PET-VI-05 have a different number of slices between the inhale and exhale
2929

3030
#### Extracting and renaming data paths
3131
Original data directory paths for this work were renamed for easy interpretability as follows:
32-
* `5.000000-Thorax Insp 2.0 B*` ranamed as `inhale_BH_CT`
32+
* `5.000000-Thorax Insp 2.0 B*` renamed as `inhale_BH_CT`
3333
* `7.000000-Thorax Exp 2.0 B*` renamed as `exhale_BH_CT`
34-
* `3.000000-CT Lung 3.0 B*` ranamed as `CT_for_PET`
34+
* `3.000000-CT Lung 3.0 B*` renamed as `CT_for_PET`
3535
* `4.000000-Galligas Lung-0*` renamed as `PET`
3636

37-
See how the original data paths and renamed look like
37+
See how the original data paths and renamed paths look like
3838
```bash
3939
#Original directory paths
4040
/CT-PET-VI-02$ tree -d
@@ -116,7 +116,7 @@ See how the original data paths and renamed look like
116116

117117
## Software Setup
118118

119-
### Installing Dependencies in Python Virtual environmnets
119+
### Installing Dependencies in Python Virtual environments
120120
Installing python virtual environment with dependencies (e.g., nibabel, etc).
121121
See further instructions [here](https://github.com/HealthBioscienceIDEAS/Medical-Image-Registration-Short-Course/tree/main/_dependencies).
122122

0 commit comments

Comments
 (0)