24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 2516  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 085600材料与化工专硕329 求调剂 +8 额cc 2026-04-06 8/400 2026-04-06 15:07 by lbsjt
[考研] 281求调剂 +8 椰子蘑菇 2026-04-06 8/400 2026-04-06 10:38 by 蓝云思雨
[考研] 生物与医药求调剂 +5 heguanhua 2026-04-05 6/300 2026-04-05 22:58 by Hdyxbekcb
[考研] 080200学硕,277分,数一104,求带走! +7 瓶子PZ 2026-03-31 7/350 2026-04-05 17:49 by liucky
[考研] 电子信息调剂交叉学科有推荐吗 +6 jhtfeybgj 2026-04-01 9/450 2026-04-05 11:13 by 猪会飞
[考研] 288求调剂,一志愿华南理工大学071005 +6 ioodiiij 2026-04-04 6/300 2026-04-05 10:09 by guoweigw
[考研] 341求调剂 +3 学无止境,冲 2026-04-05 3/150 2026-04-05 09:40 by lbsjt
[考研] 320求调剂 +3 一样圆 2026-04-04 3/150 2026-04-04 22:29 by 啵啵啵0119
[考研] 413求调剂 +4 柯某某 2026-03-31 4/200 2026-04-04 22:18 by 学员6BFVa3
[考研] 292分,材料与化工,申请调剂 +22 程晴之 2026-04-01 26/1300 2026-04-04 22:03 by hemengdong
[考研] 0703求调剂 +6 zizimo 2026-03-31 6/300 2026-04-04 14:16 by 无际的草原
[考研] 280求调剂 +21 咕噜晓晓 2026-04-02 22/1100 2026-04-04 11:12 by 猪会飞
[考研] 求材料调剂,一志愿郑州大学289分 +15 硕星赴 2026-04-03 15/750 2026-04-04 01:01 by userper
[考研] 一志愿中国石油大学化学工程323分求调剂 +4 化工专硕323分 2026-04-03 6/300 2026-04-03 22:12 by dongzh2009
[考研] 化工调剂303分,过四级 +28 栖梧待风 2026-04-02 28/1400 2026-04-03 21:40 by qlm5820
[考研] 326分求调剂 +3 于是乎呢 2026-04-01 5/250 2026-04-03 14:23 by 于是乎呢
[考研] 一志愿北京交通大学材料工程总分358 +4 cs0106 2026-04-03 4/200 2026-04-03 13:41 by 百灵童888
[考研] 调剂 +3 osbbx 2026-04-02 3/150 2026-04-03 07:47 by cc8418
[考研] 一志愿西交大080500材料学硕349 +6 jqx1258 2026-03-31 7/350 2026-03-31 21:08 by yuq
[考研] 英一数一总分334求调剂 +4 陈阳坤 2026-03-31 4/200 2026-03-31 14:22 by 记事本2026
信息提示
请填处理意见