This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Author: Niels Dekker, LKEB, Leiden University Medical Center, The Netherlands | |
// Large parts of this code are from ITK, which has the following license: | |
/*========================================================================= | |
* | |
* Copyright Insight Software Consortium | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Author: Niels Dekker, LKEB, Leiden University Medical Center, The Netherlands | |
// | |
// Example code from https://discourse.itk.org/t/hough-transform-2d-circles-image-filter-getcircles-patch/350/63 | |
#include <itkHoughTransform2DCirclesImageFilter.h> | |
#include <itkImage.h> | |
#include <iostream> | |
int main() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Script to move ITK_DISALLOW_COPY_AND_ASSIGN calls to the public section | |
// of the classes. | |
// | |
// Niels Dekker, LKEB, Leiden University Medical center, 2018 | |
#include <cassert> | |
#include <cctype> | |
#include <deque> | |
#include <experimental/filesystem> | |
#include <fstream> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*========================================================================= | |
* | |
* Copyright Insight Software Consortium | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0.txt | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*========================================================================= | |
* | |
* Copyright Niels Dekker, LKEB, Leiden University Medical Center | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0.txt | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ | |
/* Script to replace leading stars ('*') by spaces in Doxygen code blocks | |
* Used for patch http://review.source.kitware.com/#/c/23782/ | |
* | |
* Initial version by Niels Dekker, LKEB, Leiden University Medical Center, 2018 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ | |
/* Script to remove underscores in test names and convert them to CamelCase. | |
* Used for patch "BUG: Removed underscores from GTest test names", | |
* http://review.source.kitware.com/#/c/23788/1 | |
* | |
* Initial version by Niels Dekker, LKEB, Leiden University Medical Center, 2018 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Compares performance of "old-school" neighborhood iteration, using | |
itk::ConstantBoundaryCondition, and range-based neighborhood iteration, | |
using the patch "WIP: Added policy for constant NeighborhoodRange values | |
outside image", http://review.source.kitware.com/#/c/23795/7. | |
Niels Dekker, LKEB, Leiden University Medical Center, 2018 | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Measures performance of "old-school" itk::ConstNeighborhoodIterator. | |
Related to the patch "PERF: Made ConstNeighborhoodIterator::GetPixel(i) much faster", | |
http://review.source.kitware.com/#/c/23813/. | |
Niels Dekker, LKEB, Leiden University Medical Center, 2018 | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Measures performance of "old-school" ConstNeighborhoodIterator::GetPixel(i, isInBounds) | |
Related to the patch "PERF: Improve ConstNeighborhoodIterator::GetPixel(i, isInBounds )", | |
http://review.source.kitware.com/#/c/23826/ by Bradley Lowekamp | |
Niels Dekker, LKEB, Leiden University Medical Center, 2018 | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
OlderNewer