使用CLAHE算法

时间:2015-03-10 21:54:39

标签: c++ image-processing itk

我正在尝试将here提供的源代码用于CLAHE算法。 当我在我的代码中包含“ClaheImageFilter.h”并编译它时,它会给我以下错误:

> In file included from /myDir/myCode.cxx:25:              
> /myDir/ClaheImageFilter.h: In member function ‘void
ClaheImageFilter<T_ItkImage>::_execute(typename T_ItkImage::Pointer)’:
> /myDir/ClaheImageFilter.h:1270: error: expected initializer
before ‘&’ token
> /myDir/ClaheImageFilter.h:1271: error:
‘roLargestSize’ was not declared in this scope
> /myDir/ClaheImageFilter.h: In member function ‘void
ClaheImageFilter<T_ItkImage>::_fromFlatArrayToItk(typename
T_ItkImage::PixelType*, const typename T_ItkImage::SizeType&, unsigned
int)’: 
> /myDir/ClaheImageFilter.h:1498: error: expected ‘;’
before ‘start’ /myDir/ClaheImageFilter.h:1499: error: ‘start’
was not declared in this scope

有谁知道导致问题的原因是什么?

  • myCode.cxx中的第25行只是#include "ClaheImageFilter.h"

0 个答案:

没有答案