else if (dlg->getImagesSelected().size() > 1)
{
OutputImagesITKType outVect;
- std::vector<TImage::Pointer> tempImgs= dlg->getTemplatedImagesSelected<TImage>();
- std::vector<TImage::Pointer>::iterator it = tempImgs.begin();
+
+ typename std::vector<typename TImage::Pointer> tempImgs= dlg->getTemplatedImagesSelected<TImage>();
+ typename std::vector<typename TImage::Pointer>::iterator it = tempImgs.begin();
for(;it != tempImgs.end(); ++it)
{
outVect.push_back( (*it).GetPointer() );
// BBTK can support only a vector with same dimensions image.
if (dlg->getDims().front() < 4)
{
- std::vector<TImage::Pointer> tempImgs= dlg->getTemplatedImagesSelected<TImage>();
- std::vector<TImage::Pointer>::iterator it = tempImgs.begin();
+ typename std::vector<typename TImage::Pointer> tempImgs= dlg->getTemplatedImagesSelected<TImage>();
+ typename std::vector<typename TImage::Pointer>::iterator it = tempImgs.begin();
for(;it != tempImgs.end(); ++it)
{
dlg->split3Din3Dvtk<TImage>( (*it) );