[Insight-users] boundary of image

Chen Fu novalet@yahoo.com.cn
Tue, 29 Apr 2003 19:44:55 +0800 (CST)


Hi!
I recently compare the morphology operation in vtk,
itk and matlab. To my surprise, vtk and itk is much
slower than matlab. 
I believe the problem is the boundary processing. In
vtk and itk code, every pixel must take 8 compares to
confirm whether it is inside the image boundary. But
in matlab, the boundary is preprocessed by extending
the size of image, so get rid of such compares. I will
try to do some modify of itk code to enhance its
performance, but i am not very clearly how to do
extend the image in itk's pipeline architecture. 
Maybe somebody can give me some hints?


=====
Remote Scensing Satellite Ground Station
Chinese Academy of Science

_________________________________________________________
Do You Yahoo!? 
下载免费即时聊天软件“雅虎通”感受动感聊天魅力,赶快用你的雅虎电邮帐号登陆吧~
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.messenger.yahoo.com/