<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><head><!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div abp="2098">  Hi all of you.</div><div abp="2099">I want to ask you if someone has encountered to a VTK error:</div><div id="yui_3_16_0_ym19_1_1464347757044_2407" abp="2100"><br></div><div id="yui_3_16_0_ym19_1_1464347757044_2423" abp="2135"><font id="yui_3_16_0_ym19_1_1464347757044_2825" color="#808080" abp="2323">ERROR: In c:\vtk\vtk-6.1.0\common\core\vtkDataArrayTemplate.txx, line 147</font></div><div id="yui_3_16_0_ym19_1_1464347757044_2424" abp="2101"><font color="#808080" abp="2324">
vtkDoubleArray (070B6078): Unable to allocate 203948032 elements of size 8 bytes. </font></div><div id="yui_3_16_0_ym19_1_1464347757044_2459" dir="ltr" abp="2137"><br></div><div id="yui_3_16_0_ym19_1_1464347757044_2460" dir="ltr" abp="2138">and has happened when I tried to read a DICOM CT serie with 779 slices, with vtkDICOMReader object, at</div><div id="yui_3_16_0_ym19_1_1464347757044_2461" dir="ltr" abp="2139"><br></div><font id="yui_3_16_0_ym19_1_1464347757044_2465" color="#008000" abp="2141"><div id="yui_3_16_0_ym19_1_1464347757044_2466" dir="ltr" abp="2142">m_pDICOMReader->Update();</div><div id="yui_3_16_0_ym19_1_1464347757044_2476" dir="ltr" abp="2143"><br></div><div id="yui_3_16_0_ym19_1_1464347757044_2475" dir="ltr" abp="2144"><font id="yui_3_16_0_ym19_1_1464347757044_2521" color="#000000" abp="2145">method ... the reading algorithm is the one usual one, like <a class="edited-link-editor enhancr2_9b451601-3420-5555-0529-19624e242b20" id="yui_3_16_0_ym19_1_1464347757044_2652" href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadDICOMSeries" abp="2284">here</a>, the only difference is that I have read it with <a class="edited-link-editor enhancr2_d20ef311-26bb-5922-a627-8064908b8643" id="yui_3_16_0_ym19_1_1464347757044_2773" href="http://dgobbi.github.io/vtk-dicom/" abp="2319">this</a> library (the series is DICOM jpeg lossless).</font></div><div id="yui_3_16_0_ym19_1_1464347757044_2785" dir="ltr" abp="2144"><font color="#000000" abp="2325"></font><br></div><div id="yui_3_16_0_ym19_1_1464347757044_2806" dir="ltr" abp="2144"><font id="yui_3_16_0_ym19_1_1464347757044_2805" color="#000000">Could you tell me why I have this error ?</font></div><div id="yui_3_16_0_ym19_1_1464347757044_2795" dir="ltr" abp="2144"><font color="#000000"></font><br></div><div id="yui_3_16_0_ym19_1_1464347757044_2826" dir="ltr" abp="2144"><font color="#000000">Thank you.</font></div><div id="yui_3_16_0_ym19_1_1464347757044_2778" abp="2326"><br abp="2327"></div><div class="yahoo-link-enhancr-card yahoo-link-enhancr-not-allow-cover ymail-preserve-class ymail-preserve-style" id="enhancr2_d20ef311-26bb-5922-a627-8064908b8643" style='font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; max-width: 400px;' dir="ltr" contenteditable="false" abp="2328" data-size="medium" data-type="yenhancr" data-embed-url="" data-category="article" data-url="http://dgobbi.github.io/vtk-dicom/"> <a class="yahoo-enhancr-cardlink" id="yui_3_16_0_ym19_1_1464347757044_2804" style="color: rgb(0, 0, 0) !important; text-decoration: none !important;" href="http://dgobbi.github.io/vtk-dicom/" target="_blank" rel="noreferrer" abp="2329"> <table class="card-wrapper" id="yui_3_16_0_ym19_1_1464347757044_2803" style="max-width: 400px;" border="0" cellspacing="0" cellpadding="0" abp="2330"> <tbody id="yui_3_16_0_ym19_1_1464347757044_2802" abp="2331"><tr id="yui_3_16_0_ym19_1_1464347757044_2801" abp="2332"> <td width="400" id="yui_3_16_0_ym19_1_1464347757044_2800" abp="2333"> <table width="100%" class="card-info" id="yui_3_16_0_ym19_1_1464347757044_2799" style="background: rgb(255, 255, 255); border-width: 1px 1px 3px; border-style: solid; border-color: rgb(224, 228, 233) rgb(224, 228, 233) rgb(0, 0, 0); border-image: none; max-width: 400px;" border="0" cellspacing="0" cellpadding="0" abp="2334"> <tbody id="yui_3_16_0_ym19_1_1464347757044_2798" abp="2335"><tr id="yui_3_16_0_ym19_1_1464347757044_2797" abp="2336"> <td style="padding: 16px 0px 16px 12px; vertical-align: top;" abp="2337">  </td> <td id="yui_3_16_0_ym19_1_1464347757044_2796" style="padding: 16px 12px; width: 99%; vertical-align: middle;" abp="2338"> <h2 class="card-title" style='margin: 0px 0px 4px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;' abp="2339">vtk-dicom</h2>  <div class="card-description" style="color: rgb(153, 153, 153); line-height: 15px; font-size: 11px;" abp="2340"></div> </td> <td class="card-share-container" abp="2341"></td> </tr> </tbody></table> </td> </tr> </tbody></table> </a></div><div id="yui_3_16_0_ym19_1_1464347757044_2779" abp="2342"><br abp="2343"></div><div id="yui_3_16_0_ym19_1_1464347757044_2677" abp="2285"><br abp="2286"></div><div class="yahoo-link-enhancr-card  ymail-preserve-class ymail-preserve-style" id="enhancr2_9b451601-3420-5555-0529-19624e242b20" style='font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; max-width: 400px;' dir="ltr" contenteditable="false" abp="2287" data-size="medium" data-type="yenhancr" data-embed-url="" data-category="article" data-url="http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadDICOMSeries"> <a class="yahoo-enhancr-cardlink" id="yui_3_16_0_ym19_1_1464347757044_2843" style="color: rgb(0, 0, 0) !important; text-decoration: none !important;" href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadDICOMSeries" target="_blank" rel="noreferrer" abp="2288"> <table class="card-wrapper yahoo-ignore-table" id="yui_3_16_0_ym19_1_1464347757044_2842" style="max-width: 400px;" border="0" cellspacing="0" cellpadding="0" abp="2289"> <tbody id="yui_3_16_0_ym19_1_1464347757044_2841" abp="2290"><tr id="yui_3_16_0_ym19_1_1464347757044_2840" abp="2291"> <td width="400" id="yui_3_16_0_ym19_1_1464347757044_2839" abp="2292"> <table width="100%" class="card yahoo-ignore-table" id="yui_3_16_0_ym19_1_1464347757044_2838" style="max-width: 400px;" border="0" cellspacing="0" cellpadding="0" abp="2293"> <tbody id="yui_3_16_0_ym19_1_1464347757044_2837" abp="2294"><tr id="yui_3_16_0_ym19_1_1464347757044_2836" abp="2295"> <td class="card-primary-image-cell" id="yui_3_16_0_ym19_1_1464347757044_2835" background="https://s.yimg.com/vv//api/res/1.2/h_v9rrKWI16vOa9dxrNCGQ--/YXBwaWQ9bWFpbDtmaT1maWxsO2g9MjAwO3c9NDAw/http://www.vtk.org/Wiki/images/e/e9/VTK_Examples_StandardFormats_Input_ReadDICOMSeries.png.cf.jpg" valign="top" style='background: url("https://s.yimg.com/vv//api/res/1.2/h_v9rrKWI16vOa9dxrNCGQ--/YXBwaWQ9bWFpbDtmaT1maWxsO2g9MjAwO3c9NDAw/http://www.vtk.org/Wiki/images/e/e9/VTK_Examples_StandardFormats_Input_ReadDICOMSeries.png.cf.jpg") no-repeat center / cover rgb(0, 0, 0); height: 200px; position: relative;' bgcolor="#000000" abp="2296"> <!--[if gte mso 9]><v:rect fill="true" stroke="false" style="width:400px;height:218px;position:absolute;top:0;left:0;"><v:fill type="frame" color="#000000" src="https://s.yimg.com/vv//api/res/1.2/h_v9rrKWI16vOa9dxrNCGQ--/YXBwaWQ9bWFpbDtmaT1maWxsO2g9MjAwO3c9NDAw/http://www.vtk.org/Wiki/images/e/e9/VTK_Examples_StandardFormats_Input_ReadDICOMSeries.png.cf.jpg"/></v:rect><![endif]--> <table class="yahoo-ignore-table" id="yui_3_16_0_ym19_1_1464347757044_2834" style="width: 100%;" border="0" cellspacing="0" cellpadding="0" abp="2297" valign="top"> <tbody id="yui_3_16_0_ym19_1_1464347757044_2833" abp="2298"><tr id="yui_3_16_0_ym19_1_1464347757044_2832" abp="2299"> <td id="yui_3_16_0_ym19_1_1464347757044_2831" background="https://s.yimg.com/nq/storm/assets/enhancrV2/12/overlay-tile.png" valign="top" style='background: url("https://s.yimg.com/nq/storm/assets/enhancrV2/12/overlay-tile.png") left top; height: 200px;' bgcolor="transparent" abp="2300"> <!--[if gte mso 9]><v:rect fill="true" stroke="false" style="width:400px;height:218px;position:absolute;top:-18px;left:0;"><v:fill type="pattern" color="#000000" src="https://s.yimg.com/nq/storm/assets/enhancrV2/12/overlay-tile.png"/><v:textbox inset="0,0,20px,0"><![endif]--> <table height="185" class="yahoo-ignore-table" id="yui_3_16_0_ym19_1_1464347757044_2830" style="width: 100%; height: 185px; min-height: 185px;" abp="2301"> <tbody id="yui_3_16_0_ym19_1_1464347757044_2829" abp="2302"><tr id="yui_3_16_0_ym19_1_1464347757044_2828" abp="2303"> <td class="card-richInfo2" style="padding: 15px 0px 0px 15px; text-align: left; vertical-align: top;" abp="2304">  </td> <td class="card-actions" id="yui_3_16_0_ym19_1_1464347757044_2827" style="padding: 15px 15px 0px 0px; text-align: right; vertical-align: top;" abp="2305"> <div class="card-share-container" abp="2306"></div> </td> </tr> </tbody></table> <!--[if gte mso 9]></v:textbox></v:rect><![endif]--> </td> </tr> </tbody></table> </td> </tr> <tr id="yui_3_16_0_ym19_1_1464347757044_2846" abp="2307"> <td id="yui_3_16_0_ym19_1_1464347757044_2845" abp="2308"> <table align="center" class="card-info yahoo-ignore-table" id="yui_3_16_0_ym19_1_1464347757044_2844" style="background: rgb(255, 255, 255); border-width: 1px 1px 3px; border-style: solid; border-color: rgb(224, 228, 233) rgb(224, 228, 233) rgb(0, 0, 0); border-image: none; width: 95%; margin-top: -40px; margin-right: auto; margin-left: auto; position: relative; z-index: 2; max-width: 380px;" border="0" cellspacing="0" cellpadding="0" abp="2309"> <tbody abp="2310"><tr abp="2311"> <td style="padding: 16px 0px 16px 12px; vertical-align: top; background-color: rgb(255, 255, 255);" abp="2312">  </td> <td style="padding: 16px 12px; width: 99%; vertical-align: middle;" abp="2313"> <h2 class="card-title" style='margin: 0px 0px 4px; line-height: 19px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;' abp="2314">VTK/Examples/Cxx/IO/ReadDICOMSeries - KitwarePublic</h2>  <div class="card-description" style="color: rgb(153, 153, 153); line-height: 15px; font-size: 11px;" abp="2315"></div> </td> <td style="padding: 16px 12px 16px 0px; text-align: right;" abp="2316">  </td> </tr> </tbody></table> </td> </tr> </tbody></table> </td> </tr> </tbody></table> </a></div><div abp="2317"><br abp="2318"></div></font></div></body></html>