<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: 'Segoe UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Hi, ITK team,</div><div><br></div><div>I am new to ITK and now working on a project on medical imaging analysis.</div><div><br></div><div>Now i have a JAVA project that deals with user interfaction, and i am preparing using ITK through JNI.</div><div>My question is that how can i use ITK image reader (GDCM) to read from a byte stream, not with a given file path. </div><div>I saw all reading function in ImageReader takes a parameter of file localtion string, i wonder if there is a function takes a byte array as input parameter?</div><div>so in java side, i can read file into bytes array and then parse bytes to ITK to decode dicoms.. the reason is that my JAVA application may be not responsible for read dicoms from some locations,..</div><div><br></div><div>Best Wishes</div><div>Xie </div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>weiehome@sina.com</div></div></span></div>
</body></html>