Hi
I made a plugin for the mitk GUI which takes some 3D images and merges them to
one single 3D + Time image, therefore i used this code:
mitk::Image::Pointer oVideoImage = mitk::Image::New();
for(unsigned int nFrame = 0; nFrame < 10; nFrame++)
{
mitk::Image* poImage =
dynamic_cast<mitk::Image*>(oMyVectorOfImageNodes.at(nFrame)->GetData());
if(nFrame==0)
{
oVideoImage->Initialize(poImage);
}
oVideoImage->SetVolume(poImage->GetVolumeData()->GetData(),nFrame);
}
mitk::DataNode::Pointer oNode = mitk::DataNode::New();
oNode->SetData(oVideoImage);
mitk::CoreObjectFactory::GetInstance()->SetDefaultProperties(oNode);
oNode->SetName("Video");
this->GetDataStorage()->Add(oNode);
The code works and the Video object appears in the data manager. But i cannot
move the time slider in the image navigator window, why?
Gerald Lodron
Human-Centered Image Processing
Machine Vision Applications
DIGITAL - Institute of Information and Communication Technologies
JOANNEUM RESEARCH Forschungsgesellschaft mbH
Steyrergasse 17, 8010 Graz, AUSTRIA
phone: +43-316-876-1751 fax: +43-316-876-1751
web: http://www.joanneum.at/digital
e-mail: [email protected]<mailto:[email protected]>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users