<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<br><br>I am having a hard time understanding the way meta data like the image origin is updated after a pipeline execution.<br><br>My situation is the following: <br><br>* an image is read <br>* next passed as input to a filter (in this case MirrorPadImageFilter, but I have seen it for others as well)<br>* the filter is updated (-&gt;Update());<br>* the output retrieved using -&gt;GetOutput() <br><br>The initial input had origin (0,0,0). The output however should have an origin different from zero (with the parameters I used for the MirrorPadImageFilter). When the output is interrogated for its origin (-&gt;GetOrigin() ), it (wrongly) shows all zeros. When writing the image afterwards, it was written with the correct origin ( offset field of the .mhd image format). <br><br>It would seem my output image is not yet updated at the time I performed the -&gt;GetOrigin(). The last filter was however explicitly updated just before and even an "-&gt;Update()" on the output image itself doesn't modify this behaviour. <br><br>I would like to retrieve the origin for further processing but seem to end up with the uninitialized (0,0,0).&nbsp; I would appreciate any suggestions on how to assure the meta information is fully updated.<br><br>Regards,<br>Jef<br><br><br><br /><hr />Hotmail: Powerful Free email with security by Microsoft. <a href='http://clk.atdmt.com/GBL/go/171222986/direct/01/' target='_new'>Get it now.</a></body>
</html>