[Insight-users] question about itk::ResampleImageFilter

宋涛 prog_st at 163 . com
Mon, 1 Sep 2003 16:33:20 +0800 (CST)


--Boundary-=_KyLVXCoxldJKYxTfPpFIKQEyAFaV
Content-Type: text/plain
Content-Transfer-Encoding: 8bit

const unsigned int	IMAGE_DIMENSION	= 2	;
typedef itk::RGBPixel< unsigned char >	RGBPixelType;
typedef itk::Image< RGBPixelType, IMAGE_DIMENSION >	RGBImageType;
typedef itk::ResampleImageFilter< RGBImageType,RGBImageType >ResampleFilterType	; 

these defines are correct or not ?  and why?

Does itk::ResampleImageFilter support RGB PixelsType?
--Boundary-=_KyLVXCoxldJKYxTfPpFIKQEyAFaV
Content-Type: text/html
Content-Transfer-Encoding: 8bit

const&nbsp;unsigned&nbsp;int	IMAGE_DIMENSION	=&nbsp;2	;<br>typedef&nbsp;itk::RGBPixel&lt;&nbsp;unsigned&nbsp;char&nbsp;&gt;	RGBPixelType;<br>typedef&nbsp;itk::Image&lt;&nbsp;RGBPixelType,&nbsp;IMAGE_DIMENSION&nbsp;&gt;	RGBImageType;<br>typedef&nbsp;itk::ResampleImageFilter&lt;&nbsp;RGBImageType,RGBImageType&nbsp;&gt;ResampleFilterType	;<br>&nbsp;<br><br>these&nbsp;defines&nbsp;are&nbsp;correct&nbsp;or&nbsp;not&nbsp;?&nbsp;&nbsp;and&nbsp;why?<br><br>Does&nbsp;itk::ResampleImageFilter&nbsp;support&nbsp;RGB&nbsp;PixelsType?<br><font style='font-size:12pt'>
<br>
==============================================<br>
<a target=_blank href='http://vip . 163 . com' title='http://vip . 163 . com'><font color=green><b>安全稳定大容量,收费伊妹儿免费30日完美体验~</b></a><br>
<a target=_blank href='http://mail . 163 . com' title='http://mail . 163 . com'><font color=red><b>中国最大的免费邮箱在等你 25兆空间 4兆附件!</b></a><br>
<a target=_blank href='http://popo . 163 . com' title='http://popo . 163 . com'><font color=green><b>点击网易泡泡惊喜无限 全免费手机短信任你发!</b></a><br><br>

--Boundary-=_KyLVXCoxldJKYxTfPpFIKQEyAFaV--