Skip to content

Commit 7c7f794

Browse files
authored
Merge pull request #325 from tbirdso/fix-docs
BUG: Fixes for HTML documentation
2 parents f84312a + 0f025e3 commit 7c7f794

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CMake/DownloadDoxygenTAG.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
file( DOWNLOAD https://public.kitware.com/pub/itk/NightlyDoxygen/InsightDoxygenDocTag.gz
1+
file( DOWNLOAD https://itk.org/files/NightlyDoxygen/InsightDoxygenDocTag.gz
22
${ITKDoxygenTAG_TEMP_DIR}/InsightDoxygen.tag.gz SHOW_PROGRESS
33
)
44

src/Filtering/ImageGrid/CropImageBySpecifyingRegion2/Code.cxx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ CreateImage(ImageType::Pointer image)
107107
image->Allocate();
108108
image->FillBuffer(itk::NumericTraits<ImageType::PixelType>::ZeroValue());
109109

110+
PixelType rgbPixel;
111+
rgbPixel[0] = 200;
112+
rgbPixel[1] = 200;
113+
rgbPixel[2] = 200;
114+
110115
// Make a rectangle, centered at (100,150) with sides 160 & 240
111116
// This provides a 20 x 30 border around the square for the crop filter to remove
112117
for (unsigned int r = 20; r < 180; r++)
@@ -117,7 +122,7 @@ CreateImage(ImageType::Pointer image)
117122
pixelIndex[0] = r;
118123
pixelIndex[1] = c;
119124

120-
image->SetPixel(pixelIndex, 200);
125+
image->SetPixel(pixelIndex, rgbPixel);
121126
}
122127
}
123128
}

0 commit comments

Comments
 (0)