Commit cb95e545 authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

ENH : add Superclass::GenerateOutputInformation

parent 03c18d99
......@@ -177,7 +177,9 @@ void
ExtractROIBase<TInputImage,TOutputImage>
::GenerateOutputInformation()
{
// Compute the area to extract
Superclass::GenerateOutputInformation();
// Compute the area to extract
// If SizeX/Y == 0, then set SizeX/Y to image size
typename Superclass::InputImageConstPointer inputPtr = this->GetInput();
......@@ -186,7 +188,6 @@ ExtractROIBase<TInputImage,TOutputImage>
{
return;
}
Superclass::GenerateOutputInformation();
// Get the input image
//const InputImageRegionType& inputRegion = inputPtr->GetRequestedRegion();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment