3D prewitt operator

7 ビュー (過去 30 日間)
ilke tunali
ilke tunali 2015 年 9 月 1 日
編集済み: ilke tunali 2015 年 9 月 1 日
Hello,
I'm trying to find the gradient of an 3D CT image. I need the magnitudes and the angles.
I was thinking of the prewitt operator but I couldn't find its mask for 3D images.
Can I use a operator like this?
h = zeros (3,3,3);
h(:,:,1)=[0 0 0; -1 -1 -1;0 0 0 ];
h(:,:,3)=[0 0 0; 1 1 1;0 0 0 ];
Grad = imfilter(Image,h,'replicate');
It gives something relevant but I don't know if I'm doing it right.
Thanks for the help.

回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by