[Insight-users] Streaming Readers

Ron Inbar ron@mediguide.co.il
Mon, 7 Apr 2003 12:32:03 +0200


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2FCF0.EE268E50
Content-Type: text/plain

Hi, 

 

I want to implement my own ImageIOBase subclass that is capable of
streaming.

I have some questions:

1.       Do I have to change anything in ImageFileReader / ImageFileWriter
to enable streaming, or is it just up to the ImageIO?

2.       In particular, can I rely on the m_IORegion to be updated correctly
by the pipeline?

3.       In Read and Write, is the buffer argument supposed to contain the
entire dataset or just the region to be read or written?

 

Thanks in advance,

 

Ron

 

 


This e-mail message has been sent by MediGuide
and is for the use of the intended recipients only.
The message may contain privileged or confidential information .
If you are not the intended recipient you are hereby notified that any use,
distribution or copying of this communication is strictly prohibited,
and you are requested to delete the e-mail and any attachments
and notify the sender immediately.

------_=_NextPart_001_01C2FCF0.EE268E50
Content-Type: text/html

<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{font-family:Arial;
	color:windowtext;}
@page Section1
	{size:595.3pt 841.9pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi, </span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I want to implement my own ImageIOBase subclass that is
capable of streaming.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I have some questions:</span></font></p>

<p class=MsoNormal style='margin-left:18.0pt;text-indent:-18.0pt'><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'>1.<font size=1
face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></span></font><span dir=LTR><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Do I have to change anything in ImageFileReader
/ ImageFileWriter to enable streaming, or is it just up to the ImageIO?</span></font></span></p>

<p class=MsoNormal style='margin-left:18.0pt;text-indent:-18.0pt'><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'>2.<font size=1
face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></span></font><span dir=LTR><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>In particular, can I rely on the m_IORegion
to be updated correctly by the pipeline?</span></font></span></p>

<p class=MsoNormal style='margin-left:18.0pt;text-indent:-18.0pt'><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'>3.<font size=1
face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></span></font><span dir=LTR><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>In Read and Write, is the buffer
argument supposed to contain the entire dataset or just the region to be read or
written?</span></font></span></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks in advance,</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Ron</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

</div>


<DIV><STRONG><FONT color=#000080 size=2></FONT></STRONG>&nbsp;</DIV>
<DIV><STRONG><FONT color=#000080 size=2></FONT></STRONG>&nbsp;</DIV>
<DIV><STRONG><FONT color=#000080 size=2>This e-mail message has been sent by 
MediGuide</FONT></STRONG></DIV>
<DIV><STRONG><FONT color=#000080 size=2>and is for the use of the intended 
recipients only.<BR>The message may contain&nbsp;privileged or confidential 
information .<BR>If you are not the intended recipient you are hereby notified 
that any use,<BR>distribution or copying of this communication is strictly 
prohibited,<BR>and you are requested to delete the e-mail and any 
attachments</FONT></STRONG></DIV>
<DIV><STRONG><FONT color=#000080 size=2>and notify the sender 
immediately.</FONT></STRONG></DIV>
</body>

</html>

------_=_NextPart_001_01C2FCF0.EE268E50--