Skip to content

Commit

Permalink
Merge pull request #4630 from blowekamp/DeprecateLabelGeometry
Browse files Browse the repository at this point in the history
BUG: Mark LabelGeometryImageFilter as deprecated
  • Loading branch information
thewtex authored May 2, 2024
2 parents 2bbb92f + eb8230c commit adb1b5c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Modules/Nonunit/Review/include/itkLabelGeometryImageFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ namespace itk
* by Padfield D., Miller J
* https://www.insight-journal.org/browse/publication/301
*
* This class contains computational inefficiencies and bugs such as some attributes are not computed with respect to
* image geometry, consider using these supported alternatives:
* \sa LabelStatisticsImageFilter
* \sa LabelImageToShapeLabelMapFilter
*
Expand All @@ -76,7 +78,9 @@ namespace itk
* \endsphinx
*/
template <typename TLabelImage, typename TIntensityImage = TLabelImage>
class ITK_TEMPLATE_EXPORT LabelGeometryImageFilter : public ImageToImageFilter<TLabelImage, TIntensityImage>
class ITK_TEMPLATE_EXPORT
[[deprecated("This class contains known computational bugs. See class documentation for details.")]]
LabelGeometryImageFilter : public ImageToImageFilter<TLabelImage, TIntensityImage>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(LabelGeometryImageFilter);
Expand Down

0 comments on commit adb1b5c

Please sign in to comment.