<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr">
<div>
<div>Hi Shrabani,</div>
I think you already asked this exact same question in a post in discourse [0] some time ago!<br>
<br>
</div>
<div>As mentioned there, you can use a CropImageFilter or a ExtractImageFilter providing a 3D region.<br>
</div>
<div>
<div>
<div><br>
[0]: <a href="https://discourse.itk.org/t/how-to-crop-a-3d-image-with-a-specified-size/715">
https://discourse.itk.org/t/how-to-crop-a-3d-image-with-a-specified-size/715</a><br>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Jul 19, 2018 at 6:36 PM, Shrabani Ghosh <span dir="ltr">
<<a href="mailto:srbn.ghosh99@gmail.com" target="_blank">srbn.ghosh99@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I have a 3D image to use it for a machine learning problem. But when I am<br>
trying to run it , it's running out of memory. Is there any way to spit the<br>
3D image into two parts?<br>
Because I have tried to split the 3D image into 2D slices.  But 2D slices<br>
are not the same as the original image slice of the 3D image anymore. <br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://itk-insight-users.2283740.n2.nabble.com/" rel="noreferrer" target="_blank">
http://itk-insight-users.<wbr>2283740.n2.nabble.com/</a><br>
The ITK community is transitioning from this mailing list to <a href="http://discourse.itk.org" rel="noreferrer" target="_blank">
discourse.itk.org</a>. Please join us there!<br>
______________________________<wbr>__<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_<wbr>FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://itk.org/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">https://itk.org/mailman/<wbr>listinfo/insight-users</a><br>
</blockquote>
</div>
<br>
</div>
</body>
</html>