Dear BIll<div><br></div><div>Can I get dimensions(pixels) along x,y,z directions using the array</div><div><br></div><div>std::vector&lt; SizeValueType &gt; m_Dimensions();</div><div><br></div><div>If can please direct me to write codes.</div>
<div>I wrote some codes as follows.</div><div><br></div><div><div><font color="#3333ff">std::vector&lt; SizeValueType &gt; m_Dimensions();</font></div><div><font color="#3333ff">std::vector&lt;SizeValueType&gt; m_Dimensions= imageIO-&gt;GetDimensions(unsigned int(i,j,k));</font></div>
</div><div><font color="#3333ff">std::cout&lt;&lt;&quot;Dimensions:&quot;  &lt;&lt; Dimensions&lt;&lt;std:: endl;</font></div><div><br></div><div>But there are some errors.</div><div><br></div><div><br></div><div><div>1&gt;------ Build started: Project: ReadUnknownImageType, Configuration: Debug Win32 ------</div>
<div>1&gt;Compiling...</div><div>1&gt;ReadUnknownImageType.cxx</div><div>1&gt;.\ReadUnknownImageType.cxx(38) : error C2923: &#39;std::vector&#39; : &#39;SizeValueType&#39; is not a valid template type argument for parameter &#39;_Ty&#39;</div>
<div>1&gt;        .\ReadUnknownImageType.cxx(17) : see declaration of &#39;SizeValueType&#39;</div><div>1&gt;.\ReadUnknownImageType.cxx(38) : error C2564: &#39;unsigned int&#39; : a function-style conversion to a built-in type can only take one argument</div>
<div>1&gt;Build log was saved at &quot;file://d:\ReadUnknownImageType\ReadUnknownImageType.dir\Debug\BuildLog.htm&quot;</div><div>1&gt;ReadUnknownImageType - 2 error(s), 0 warning(s)</div><div>========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========</div>
</div><div><br></div><div>Thanks a lo</div><div>Shiranit</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>