<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I want to apply a certain transform to the my filter.<br>How do I set a particular transform with these values: <br>double T[4][4]={ {R11,R12,R13,X }, {R21,R22,R23,Y} , {R31,R32,R33,Z} , {0,0,0,1} };<br>It's a 4x4 transformation applied to a 3D image.<br><br><hr id="stopSpelling">Subject: Re: [Insight-users] extracting a subvolume from a larger volume<br>From: andreas.schuh.84@googlemail.com<br>Date: Tue, 8 Sep 2009 22:42:15 -0400<br>CC: insight-users@itk.org<br>To: babygirl_25@hotmail.com<br><br>
<base>Hi,<div><br></div><div>you don't have to resample the entire image, just the region you want to crop out. There is no way you can do this without resampling in the case that the region you want to crop out is not aligned with the coordinate axes of the image's coordinate system. The itk::ResampleImageFilter only resamples the volume within the region you specify.</div><div><br></div><div>Andreas</div><div><br><div><div>On Sep 8, 2009, at 9:36 PM, shoosh moosh wrote:</div><br class="EC_Apple-interchange-newline"><blockquote><span class="EC_Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div class="EC_hmmessage" style="font-size: 10pt; font-family: Verdana;">I don't want to resample the entire image. I want to crop out a certain subvolume from the whole image with this subvolume having a defined origin with respect to the original image, and defined dimensions that are actually smaller than the original image. The orientation of the smaller subvolume with respect to the original image is also a given.<br>Thanks<br> <br><br><hr id="EC_stopSpelling">Date: Tue, 8 Sep 2009 16:16:42 -0400<br>Subject: Re: [Insight-users] extracting a subvolume from a larger volume<br>From:<span class="EC_Apple-converted-space"> </span><a href="mailto:kishoreraom@gmail.com">kishoreraom@gmail.com</a><br>To:<span class="EC_Apple-converted-space"> </span><a href="mailto:babygirl_25@hotmail.com">babygirl_25@hotmail.com</a><br>CC:<span class="EC_Apple-converted-space"> </span><a href="mailto:andreas.schuh.84@googlemail.com">andreas.schuh.84@googlemail.com</a>;<span class="EC_Apple-converted-space"> </span><a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br><br>Hi,<br><br>Look at the ResampleImageFilter and remember to set the transform and interpolation method along with the output information such as size, spacing and origin.<br><br>Kishore<br><br>2009/9/8 shoosh moosh <<a href="mailto:babygirl_25@hotmail.com">babygirl_25@hotmail.com</a>><br>><br>> Hi,<br>> Is there an ITK class that can extract a subvolume from a larger volume (similar to itk::ExtractImageFilter) but where the subvolume isn't necessarily aligned with the bigger volume. Instead,the inputs would be the origin, the dimensions of the subvolume, and the subvolume orientation information.<br>> Thanks,<br>><br>> ________________________________<br>> From:<span class="EC_Apple-converted-space"> </span><a href="mailto:andreas.schuh.84@googlemail.com">andreas.schuh.84@googlemail.com</a><br>> To:<span class="EC_Apple-converted-space"> </span><a href="mailto:babygirl_25@hotmail.com">babygirl_25@hotmail.com</a><br>> Subject: Re: [Insight-users] extracting a subvolume from a larger volume<br>> Date: Fri, 10 Jul 2009 07:33:58 -0400<br>> CC:<span class="EC_Apple-converted-space"> </span><a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>><br>> Hi,<br>> have a look at itk::ExtractImageFilter. Instead of the center, you specify the starting index of the subvolume.<br>> --<br>> regards<br>> Andreas<br>><br>> On Jul 10, 2009, at 6:54 AM, shoosh moosh <<a href="mailto:babygirl_25@hotmail.com">babygirl_25@hotmail.com</a>> wrote:<br>><br>> Hi,<br>> Is there an ITK program where I can specify the x, y, z coordinates of the center of a subvolume and also the width, height, and depth of the subvolume to extract a subvolume from a bigger volume?<br>> Thanks<br>><br>> ________________________________<br>> Windows Live™: Keep your life in sync. Check it out!<br>><br>> _____________________________________<br>> Powered by<span class="EC_Apple-converted-space"> </span><a href="http://www.kitware.com/">www.kitware.com</a><br>><br>> Visit other Kitware open-source projects at<br>><span class="EC_Apple-converted-space"> </span><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>><br>> Please keep messages on-topic and check the ITK FAQ at:<span class="EC_Apple-converted-space"> </span><a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br>><br>> Follow this link to subscribe/unsubscribe:<br>><span class="EC_Apple-converted-space"> </span><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>><br>> ________________________________<br>> With Windows Live, you can organize, edit, and share your photos.<br>> _____________________________________<br>> Powered by<span class="EC_Apple-converted-space"> </span><a href="http://www.kitware.com/">www.kitware.com</a><br>><br>> Visit other Kitware open-source projects at<br>><span class="EC_Apple-converted-space"> </span><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>><br>> Please keep messages on-topic and check the ITK FAQ at:<span class="EC_Apple-converted-space"> </span><a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br>><br>> Follow this link to subscribe/unsubscribe:<br>><span class="EC_Apple-converted-space"> </span><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>><br><br><br><hr>What can you do with the new Windows Live?<span class="EC_Apple-converted-space"> </span><a href="http://www.microsoft.com/windows/windowslive/default.aspx">Find out</a></div></span></blockquote></div><br></div><br /><hr />check out the rest of the Windows Live™.
More than mail–Windows Live™ goes way beyond your inbox.
<a href='http://www.microsoft.com/windows/windowslive/' target='_new'>More than messages</a></body>
</html>