<div dir="ltr"><div>Hi Siavash,</div><div><br></div>The ComponentType is described here:<div><br></div><div>  <a href="http://www.itk.org/Doxygen/html/classitk_1_1ImageIOBase.html#a8dc783055a0af6f0a5a26cb080feb178">http://www.itk.org/Doxygen/html/classitk_1_1ImageIOBase.html#a8dc783055a0af6f0a5a26cb080feb178</a></div><div><br></div><div>I do not think the module was completed. The documentation of itk::ImageIOBase can be helpful.  The many IO modules can be used as examples.</div><div><br></div><div>HTH,</div><div>Matt</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 26, 2015 at 1:33 PM, siavashk <span dir="ltr"><<a href="mailto:siavashk@ece.ubc.ca" target="_blank">siavashk@ece.ubc.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for replying to me on this. I think I am already registering the IO<br>
correctly. I basically used the same code in the link that you provided and<br>
added an update call to the reader, i.e. reader->Update();<br>
<br>
I think the issue is that itkImageIOBase cannot recognize the<br>
m_ComponentType, which is the pixel type (?)<br>
<br>
<br>
Matt McCormick-3 wrote<br>
<span class="">> Until the module is merged as a remote module, the IO will be have to be<br>
> registered manually as shown here:<br>
><br>
> <a href="https://github.com/InsightSoftwareConsortium/ITKIOOpenSlide/blob/master/test/itkOpenSlideImageIOTest.cxx#L37" rel="noreferrer" target="_blank">https://github.com/InsightSoftwareConsortium/ITKIOOpenSlide/blob/master/test/itkOpenSlideImageIOTest.cxx#L37</a><br>
<br>
<br>
<br>
<br>
<br>
</span>--<br>
View this message in context: <a href="http://itk-users.7.n7.nabble.com/Using-ITK-with-OpenSlide-tp35834p35836.html" rel="noreferrer" target="_blank">http://itk-users.7.n7.nabble.com/Using-ITK-with-OpenSlide-tp35834p35836.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the ITK - Users mailing list archive at Nabble.com.<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
</div></div></blockquote></div><br></div>