[Insight-users] Is it a bug?

周翼翼 zhou512031123 at gmail.com
Fri Aug 19 07:03:31 EDT 2011


RegionType region;
  region =* m_MovingImage*->GetLargestPossibleRegion();
  if ( tkRegionUseUserRegion->value() == 1
        && tkFixedImageViewer->IsRegionOfInterestAvailable() )
    {
    std::cout << "Registration using user roi." << std::endl;
    region = tkFixedImageViewer->GetRegionOfInterest();
    }
  else if ( tkRegionUseLandmarkRegion->value() == 1
            && tkMovingImageViewer->GetNumberOfLandmarks() == 4
            && tkFixedImageViewer->GetNumberOfLandmarks() == 4)
    {
    std::cout << "Registration using landmark roi." << std::endl;
    region = tkMovingImageViewer->ComputeLandmarkRegion(
                                  tkRegionScale->value());
    }
  m_ImageRegistrationApp->*SetFixedImageRegion(region)*;

InsightApplications-3.20.0/LandmarkInitializedMutualInformationRegistration/guiMainImplementation.cxx

line 1312-1329
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110819/06a33ff3/attachment.htm>


More information about the Insight-users mailing list