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< SizeValueType > 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< SizeValueType > m_Dimensions();</font></div><div><font color="#3333ff">std::vector<SizeValueType> m_Dimensions= imageIO->GetDimensions(unsigned int(i,j,k));</font></div>
</div><div><font color="#3333ff">std::cout<<"Dimensions:" << Dimensions<<std:: endl;</font></div><div><br></div><div>But there are some errors.</div><div><br></div><div><br></div><div><div>1>------ Build started: Project: ReadUnknownImageType, Configuration: Debug Win32 ------</div>
<div>1>Compiling...</div><div>1>ReadUnknownImageType.cxx</div><div>1>.\ReadUnknownImageType.cxx(38) : error C2923: 'std::vector' : 'SizeValueType' is not a valid template type argument for parameter '_Ty'</div>
<div>1> .\ReadUnknownImageType.cxx(17) : see declaration of 'SizeValueType'</div><div>1>.\ReadUnknownImageType.cxx(38) : error C2564: 'unsigned int' : a function-style conversion to a built-in type can only take one argument</div>
<div>1>Build log was saved at "file://d:\ReadUnknownImageType\ReadUnknownImageType.dir\Debug\BuildLog.htm"</div><div>1>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>