break;
}
+ ope->Modified();
ope->Update();
vtkImageData* salida = ope->GetOutput();
_extract->SetInput( bbGetInputIn() );
_extract->SetVOI(voi);
_extract->UpdateWholeExtent();
+ _extract->Modified();
_extract->Update();
bbSetOutputOut(_extract->GetOutput());
}
vtkImageData* img = bbGetInputIn();
cast->SetInput(img);
cast->SetOutputScalarTypeToUnsignedShort();
+ cast->Modified();
cast->Update();
bbSetOutputOut(cast->GetOutput() );
}
bbGetVtkObject()->SetKernelSize(bbGetInputKernelSizeX(),
bbGetInputKernelSizeY(),
bbGetInputKernelSizeZ());
+bbGetVtkObject()->Modified();
bbGetVtkObject()->Update();
</PRE>
</process>
bbGetVtkObject()->SetKernelSize(bbGetInputKernelSizeX(),
bbGetInputKernelSizeY(),
bbGetInputKernelSizeZ());
+bbGetVtkObject()->Modified();
bbGetVtkObject()->Update();
</PRE>
</process>
bbGetVtkObject()->SetKernelSize(bbGetInputKernelSizeX(),
bbGetInputKernelSizeY(),
bbGetInputKernelSizeZ());
+bbGetVtkObject()->Modified();
bbGetVtkObject()->Update();
</PRE>
</process>
<process>
<PRE>
- printf("EED ImageGaussianSmooth::Process start \n");
+ printf("EED ImageGaussianSmooth::Process start a\n");
bbGetVtkObject()->SetStandardDeviation(bbGetInputStdDevX(),
bbGetInputStdDevY(),
bbGetInputStdDevZ());
+ bbGetVtkObject()->Modified();
bbGetVtkObject()->Update();
printf("EED ImageGaussianSmooth::Process end \n");
</PRE>
thresh2->ThresholdBetween(3000, 3001);
thresh2->SetInput(imagedata);
thresh2->ThresholdBetween(bbGetInputThresholdMinMax()[0], bbGetInputThresholdMinMax()[1]);
+ thresh2->Modified();
thresh2->Update();
+ cast2->Modified();
cast2->Update();
connect2->RemoveAllSeeds ();
if ( z>=maxz ) { printf("Warnnig bbtk::vtk::SegmentationConnectivity::DoProcess limites of the image out of range z: %d -> %d \n",y, maxz-1 ); z=maxz-1; }
connect2->AddSeed( x,y,z );
+ connect2->Modified();
connect2->Update();
cast4->Update();
bbSetOutputOut(cast4->GetOutput() );
break;
}
+ ope->Modified();
ope->Update();
vtkImageData* salida = ope->GetOutput();
vtkimagegaussiansmooth = vtkImageGaussianSmooth::New();
vtkimagegaussiansmooth->SetInput( bbGetInputIn()[i] );
vtkimagegaussiansmooth->SetStandardDeviation( stdvX,stdvY, stdvZ );
+ vtkimagegaussiansmooth->Modified();
vtkimagegaussiansmooth->Update();
VecResult.push_back( vtkimagegaussiansmooth->GetOutput() );
VecVtkimagegaussiansmooth.push_back(vtkimagegaussiansmooth);