24小时热门版块排行榜    

查看: 2508  |  回复: 2

rjie88

银虫 (小有名气)

[求助] matlab中的reducevolume函数

matlab中的reducevolume函数的用法是什么,怎么我在三维重建的时候,不对三维数据用reducevolume预处理,重建就不能进行。
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

人生最大的快乐在于分享
已阅   关注TA 给TA发消息 送TA红花 TA的回帖

月只蓝

主管区长 (职业作家)

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
rjie88: 金币+10, 有帮助 2013-10-15 10:21:09
REDUCEVOLUME  Reduce volume dataset.
    [NX, NY, NZ, NV] = REDUCEVOLUME(X,Y,Z,V,[Rx Ry Rz]) reduces the number
    of elements in the volume by only keeping every Rx element in the x
    direction, every Ry element in the y direction, and every Rz element
    in the z direction. If a scalar R is used to indicate the amount or
    reduction instead of a 3 element vector, the reduction is assumed to
    be [R R R]. Arrays X, Y and Z specify the points at which the data V
    is given. The reduced volume is returned in NV and the coordinates of
    the reduced volume are given in NX, NY, and NZ.
   
    [NX, NY, NZ, NV] = REDUCEVOLUME(V,[Rx Ry Rz]) assumes  
                    [X Y Z] = meshgrid(1:N, 1:M, 1) where [M,N,P]=SIZE(V).

    NV = REDUCEVOLUME(...) returns the reduced volume only.

    Example:
       load mri
       D = squeeze(D);
       [x y z D] = reducevolume(D, [4 4 1]);
       D = smooth3(D);
       p = patch(isosurface(x,y,z,D, 5,'verbose'), ...
                 'FaceColor', 'red', 'EdgeColor', 'none');
       p2 = patch(isocaps(x,y,z,D, 5), 'FaceColor', 'interp', 'EdgeColor', 'none');
       view(3); axis tight;  daspect([1 1 .4])
       colormap(gray(100))
       camlight; lighting gouraud
       isonormals(x,y,z,D,p);
MATLAB、MS小问题、普通问题请发帖求助!时间精力有限,恕不接受无偿私信求助。
2楼2013-10-15 10:04:21
已阅   关注TA 给TA发消息 送TA红花 TA的回帖

rjie88

银虫 (小有名气)

引用回帖:
2楼: Originally posted by 月只蓝 at 2013-10-15 10:04:21
REDUCEVOLUME  Reduce volume dataset.
     = REDUCEVOLUME(X,Y,Z,V,) reduces the number
    of elements in the volume by only keeping every Rx element in the x
    direction, every Ry element in the ...

这个我知道,[x y z D] = reducevolume(D, [4 4 1])这一步好像是按4 4 1抽取,减少数据量,我就是不知道为什么非得要这一?本来我的D应该是461*461*567的三维矩阵,但是经过reducevolume处理后就变为了:X 116*116*567 Y: 116*116*567 Z:116*116*567,这样做出来的图好像不太对。
人生最大的快乐在于分享
3楼2013-10-15 10:25:14
已阅   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 rjie88 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 304求调剂 +4 素年祭语 2026-03-15 4/200 2026-03-16 09:42 by 闲人终南山
[考研] 326求调剂 +4 上岸的小葡 2026-03-15 5/250 2026-03-16 08:39 by Linda Hu
[考研] 化学调剂0703 +7 啊我我的 2026-03-11 7/350 2026-03-15 23:03 by 凌千颂111
[考研] 材料工程专硕274一志愿211求调剂 +5 薛云鹏 2026-03-15 5/250 2026-03-15 20:38 by Logic2024
[考研] 22408总分284求调剂 +3 InAspic 2026-03-13 3/150 2026-03-15 11:10 by zhq0425
[考研] 289求调剂 +4 这么名字咋样 2026-03-14 6/300 2026-03-14 18:58 by userper
[考研] 211本,11408一志愿中科院277分,曾在中科院自动化所实习 +3 Losir 2026-03-12 3/150 2026-03-14 12:11 by 热情沙漠
[考研] 266求调剂 +4 学员97LZgn 2026-03-13 4/200 2026-03-14 08:37 by zhukairuo
[考研] 341求调剂 +4 番茄头--- 2026-03-10 4/200 2026-03-13 23:12 by JourneyLucky
[考研] 材料专硕288分求调剂 一志愿211 +4 在家想你 2026-03-11 4/200 2026-03-13 22:49 by JourneyLucky
[考研] 一志愿中科院,化学方向,295求调剂 +4 一氧二氮 2026-03-11 4/200 2026-03-13 22:35 by JourneyLucky
[考研] 材料工程调剂 +9 咪咪空空 2026-03-12 9/450 2026-03-13 22:05 by 星空星月
[考研] [0860]321分求调剂,ab区皆可 +4 宝贵热 2026-03-13 4/200 2026-03-13 22:01 by 星空星月
[考研] 四川大学085601材料工程专硕 初试294求调剂 +4 祝我们好在冬天 2026-03-11 4/200 2026-03-13 21:39 by peike
[考研] 333求调剂 +3 球球古力 2026-03-11 3/150 2026-03-13 21:27 by JourneyLucky
[考研] 281求调剂 +9 Koxui 2026-03-12 11/550 2026-03-13 20:50 by Koxui
[考研] 考研调剂 +4 芬达46 2026-03-12 4/200 2026-03-13 16:04 by ruiyingmiao
[考研] 0856化工原理 +6 z2839474511 2026-03-10 6/300 2026-03-13 10:41 by houyaoxu
[考博] 2026年博士申请 +3 QwQwQW10 2026-03-11 3/150 2026-03-12 17:58 by gxch43
[考研] 研究生招生 +3 徐海涛11 2026-03-10 7/350 2026-03-12 14:26 by 徐海涛11
信息提示
请填处理意见