Skip to content

Commit 15efc40

Browse files
StephanieLarocquenotoraptor
authored andcommitted
data augmentation fixed
1 parent 70c213a commit 15efc40

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

doc/cnn_1D_segm.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The `BigBrain <https://bigbrain.loris.ca/main.php>`__ dataset is a 3D ultra-high
2828
We are interested in the outer part of the brain, the cortex.
2929
More precisely, we are interested in segmenting the 6 different layers of the cortex in 3D.
3030
Creating an expertly labelled training dataset with each 2D section (shown in figure 1) is unfeasible. Instead of giving as input a 2D image of one section of the brain, we give as input 1D vectors with information from across the cortex, extracted from smaller portions of manually labelled cortex
31-
as shown in Figure 2. The actual dataset can be found `here TODO: link the dataset`.
31+
as shown in Figure 2. The actual dataset can be found `here TODO: link the dataset <>`_ .
3232

3333
.. figure:: images/big_brain_section.png
3434
:align: center
@@ -46,15 +46,15 @@ We will call *rays* the vectors of size 200 going from outside the brain and
4646
through the cortex. As the images were stained for cell bodies, the intensity of each pixel of these rays represents the cell densities
4747
and sizes contained in the cortical layer to which the pixel belongs. Since the 6 cortical layers
4848
have different properties (cell density and size), the intensity profile can be used to
49-
detect boundaries of the cortical layers.
49+
detect boundaries of the cortical layers.
5050

5151
Each ray has 2 input channels, one representing the smoothed intensity and the other,
5252
the raw version, as shown in Figure 3. The next figure, Figure 4, shows the
5353
ground truth segmentation map, where each different color represent
5454
a different label. The purple color indicate that these pixels are
5555
outside the cortex, while the 6 other colors represent the 6 cortical layers.
5656
For example, the first layer of the cortex is between pixels ~ 35-55. The cortex
57-
for this sample starts at pixel ~35 and ends at pixel ~170.
57+
for this sample starts at pixel ~35 and ends at pixel ~170.
5858

5959

6060
.. figure:: images/raw_smooth.png

doc/fcn_2D_segm.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ There is a total of 912 images taken from 36 patients.
5656

5757
Each pixel is labelled between 2 classes : polype or background.
5858
The size of the images vary. We use data augmentation for training, as specified
59-
in the defaults arguments for data augmentation in the code given below. Note that
59+
in the defaults arguments in the code given below. Note that
6060
the data augmentation is necessary for training with batch size greater than 1
6161
in order to have same image size with a random cropping. If no random cropping,
6262
the batch size for the training set must be set to 1, like for validation and test

doc/unet.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Data
2121

2222
The data is from ISBI challenge and can be found `here <http://brainiac2.mit.edu/isbi_challenge/home>`_.
2323
We use data augmentation for training, as specified
24-
in the defaults arguments for data augmentation in the code given below.
24+
in the defaults arguments in the code given below.
2525

2626
Model
2727
+++++

0 commit comments

Comments
 (0)