Submitted by taofly on Mon, 12/23/2013 - 21:36 请教老师:通过rest的提取roi可以在‘view roi’那步保存图像,形成一个roi小球的mask图像,那么通过现有的软件可以实现多个roi共同覆盖的mask么,还是需要通过编程实现,谢谢老师! Log in or register to post comments 13888 reads Submitted by admin on Tue, 12/24/2013 - 11:24 Permalink Re: 取roi小球制作mask make several ROIs, then "add" them. Is this what you want? Log in or register to post comments Submitted by ZHANG_RESTadmin on Tue, 12/24/2013 - 11:29 Permalink Re: 取roi小球制作mask 可以的,首先做出单个roi的mask图像,每个都做出一个。然后用REST的image calculator功能(在utilities)里面,分别把这些小球mask加入individual images,用表达式i1.*i2.*i3来实现。当然如果还有第四个mask可以依次往后写。这样就实现了所有mask的交集。 Log in or register to post comments Submitted by taofly on Tue, 12/24/2013 - 14:28 Permalink Re: 取roi小球制作mask 谢谢老师!点乘表示交集,那请问如果是多个roi的并集作mask,表达式的语法怎样表达,i1&i2么? Log in or register to post comments Submitted by admin on Tue, 12/24/2013 - 23:20 Permalink Re: 取roi小球制作mask x=a+b+c+... x>0, means 并集 x=max(x(:)), means 交集 this is the code way. Log in or register to post comments Submitted by taofly on Fri, 12/27/2013 - 16:54 Permalink Re: 取roi小球制作mask 非常谢谢老师! Log in or register to post comments Submitted by ZHANG_RESTadmin on Fri, 12/27/2013 - 08:49 Permalink Re: 取roi小球制作mask 可以写成 (i1+i2)>0 你有很多图像时,就一直往下加。 但是要注意,这里的每个roi的图像要求0-1化,也就是roi内voxel为1,外voxel为0 Log in or register to post comments Submitted by taofly on Fri, 12/27/2013 - 16:53 Permalink Re: 取roi小球制作mask 非常感谢老师!有结果了哈 Log in or register to post comments
Submitted by admin on Tue, 12/24/2013 - 11:24 Permalink Re: 取roi小球制作mask make several ROIs, then "add" them. Is this what you want? Log in or register to post comments
Submitted by ZHANG_RESTadmin on Tue, 12/24/2013 - 11:29 Permalink Re: 取roi小球制作mask 可以的,首先做出单个roi的mask图像,每个都做出一个。然后用REST的image calculator功能(在utilities)里面,分别把这些小球mask加入individual images,用表达式i1.*i2.*i3来实现。当然如果还有第四个mask可以依次往后写。这样就实现了所有mask的交集。 Log in or register to post comments
Submitted by taofly on Tue, 12/24/2013 - 14:28 Permalink Re: 取roi小球制作mask 谢谢老师!点乘表示交集,那请问如果是多个roi的并集作mask,表达式的语法怎样表达,i1&i2么? Log in or register to post comments
Submitted by admin on Tue, 12/24/2013 - 23:20 Permalink Re: 取roi小球制作mask x=a+b+c+... x>0, means 并集 x=max(x(:)), means 交集 this is the code way. Log in or register to post comments
Submitted by taofly on Fri, 12/27/2013 - 16:54 Permalink Re: 取roi小球制作mask 非常谢谢老师! Log in or register to post comments
Submitted by ZHANG_RESTadmin on Fri, 12/27/2013 - 08:49 Permalink Re: 取roi小球制作mask 可以写成 (i1+i2)>0 你有很多图像时,就一直往下加。 但是要注意,这里的每个roi的图像要求0-1化,也就是roi内voxel为1,外voxel为0 Log in or register to post comments
Submitted by taofly on Fri, 12/27/2013 - 16:53 Permalink Re: 取roi小球制作mask 非常感谢老师!有结果了哈 Log in or register to post comments
Submitted by admin on Tue, 12/24/2013 - 11:24 Permalink
Re: 取roi小球制作mask
make several ROIs, then "add" them.
Is this what you want?
Submitted by ZHANG_RESTadmin on Tue, 12/24/2013 - 11:29 Permalink
Re: 取roi小球制作mask
可以的,首先做出单个roi的mask图像,每个都做出一个。然后用REST的image calculator功能(在utilities)里面,分别把这些小球mask加入individual images,用表达式i1.*i2.*i3来实现。当然如果还有第四个mask可以依次往后写。这样就实现了所有mask的交集。
Submitted by taofly on Tue, 12/24/2013 - 14:28 Permalink
Re: 取roi小球制作mask
谢谢老师!点乘表示交集,那请问如果是多个roi的并集作mask,表达式的语法怎样表达,i1&i2么?
Submitted by admin on Tue, 12/24/2013 - 23:20 Permalink
Re: 取roi小球制作mask
x=a+b+c+...
x>0, means 并集
x=max(x(:)), means 交集
this is the code way.
Submitted by taofly on Fri, 12/27/2013 - 16:54 Permalink
Re: 取roi小球制作mask
非常谢谢老师!
Submitted by ZHANG_RESTadmin on Fri, 12/27/2013 - 08:49 Permalink
Re: 取roi小球制作mask
可以写成 (i1+i2)>0
你有很多图像时,就一直往下加。
但是要注意,这里的每个roi的图像要求0-1化,也就是roi内voxel为1,外voxel为0
Submitted by taofly on Fri, 12/27/2013 - 16:53 Permalink
Re: 取roi小球制作mask
非常感谢老师!有结果了哈