24小时热门版块排行榜    

查看: 2509  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 286求调剂 +3 lemonzzn 2026-03-16 5/250 2026-03-16 20:43 by lemonzzn
[考研] 梁成伟老师课题组欢迎你的加入 +8 一鸭鸭哟 2026-03-14 9/450 2026-03-16 17:35 by 沐霖12138
[考研] 308求调剂 +3 是Lupa啊 2026-03-16 3/150 2026-03-16 10:07 by 求调剂zz
[考研] 机械专硕调剂 +3 笨笨兔子 2026-03-12 3/150 2026-03-15 20:02 by 栗子粥?
[考研] 288求调剂 +4 奇点0314 2026-03-14 4/200 2026-03-14 23:04 by JourneyLucky
[考研] 复试调剂 +4 z1z2z3879 2026-03-14 5/250 2026-03-14 16:30 by JourneyLucky
[考研] 材料与化工(0856)304求B区调剂 +7 邱gl 2026-03-10 11/550 2026-03-14 12:18 by 邱gl
[考研] 297求调剂 +4 学海漂泊 2026-03-13 4/200 2026-03-14 11:51 by 热情沙漠
[考研] 一志愿华中农业大学071010,总分三百二,求调剂 +3 困困困困坤坤 2026-03-10 3/150 2026-03-14 00:35 by JourneyLucky
[考研] 318求调剂 +3 李新光 2026-03-10 3/150 2026-03-14 00:21 by JourneyLucky
[考研] 341求调剂 +3 番茄头--- 2026-03-10 3/150 2026-03-13 23:07 by JourneyLucky
[考研] 0703,333分求调剂 一志愿郑州大学-物理化学 +3 李魔女斗篷 2026-03-11 3/150 2026-03-13 22:24 by JourneyLucky
[考研] 308求调剂 +5 是Lupa啊 2026-03-11 5/250 2026-03-13 22:13 by JourneyLucky
[考研] (081700)化学工程与技术-298分求调剂 +12 11啦啦啦 2026-03-11 35/1750 2026-03-13 21:25 by JourneyLucky
[考研] 285化工学硕求调剂(081700) +6 柴郡猫_ 2026-03-12 6/300 2026-03-13 20:46 by hmn_wj
[考研] 求b区学校调剂 +3 周56 2026-03-11 3/150 2026-03-13 16:20 by JourneyLucky
[考研] 【0856】化学工程(085602)313 分,本科学科评估A类院校化学工程与工艺,诚求调剂 +7 小刘快快上岸 2026-03-11 7/350 2026-03-13 16:06 by ruiyingmiao
[考研] 270求调剂 085600材料与化工专硕 +3 YXCT 2026-03-11 3/150 2026-03-13 10:13 by houyaoxu
[考研] 321求调剂(食品/专硕) +3 xc321 2026-03-12 6/300 2026-03-13 08:45 by xc321
[考研] 085602化工求调剂 +7 董boxing 2026-03-10 7/350 2026-03-10 17:07 by BruceLiu320
信息提示
请填处理意见