Hi Matt, I think you could work directly on the input segmentation image without creating any output. This way you avoid the allocation of an unnecessary second image.
Best Peter On -10.01.-28163 20:59, Clarkson, Matt wrote: > Hi there, > > I have a reference (greyscale) and segmentation (binary) image, created, and > stored in the DataStorage, and I want to run an ITK filter, and the output of > the ITK filter should update the segmentation image that is already present > in the DataStorage. Is this the right way to do it. > > I want to avoid repeatedly allocating/deallocating memory. > > In the example: QmitkRegionGrowingView I can see how to run the ITK filter, > but I already have created my output volume, so I want to avoid creating > another one. > > Whats the right approach please? > > Thanks > > Matt > > > ------------------------------------------------------------------------------ > Got Input? Slashdot Needs You. > Take our quick survey online. Come on, we don't ask for help often. > Plus, you'll get a chance to win $100 to spend on ThinkGeek. > http://p.sf.net/sfu/slashdot-survey > _______________________________________________ > mitk-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mitk-users -- Dipl.-Inform. Peter Neher German Cancer Research Centre (DKFZ, Deutsches Krebsforschungszentrum in der Helmholtz-Gemeinschaft, Stiftung des öffentlichen Rechts) Division of Medical and Biological Informatics Im Neuenheimer Feld 280, D-69120 Heidelberg Phone: 49-(0)6221-42-3552, Fax: 49-(0)6221-42-2345 E-Mail: [email protected], Web: www.dkfz.de The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
