<div>It appears it is as simple as the following:</div>
<div> </div>
<div>displacement = deformationField->GetPixel(index);</div>
<div> </div>
<div>GexPixel returns TPixel type which I guess can be a vector type as well, since the displacement vector looks correct to me.</div>
<div> </div>
<div>Ming</div>
<div><br><br> </div>
<div><span class="gmail_quote">On 12/13/06, <b class="gmail_sendername">Ming Chao</b> <<a href="mailto:mingchao2005@gmail.com">mingchao2005@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hi,</div>
<div>Is there a simple way to retrieve the displacement vector from a deformation field at a point where the index is known?</div>
<div>Thanks,</div><span class="sg">
<div>Ming</div>
<div> </div></span></blockquote></div><br>