李老师您好,刚刚试用了下老师开发的软件,发现里面没有单独一个shape2d的选项,在官方的文档中,应该是默认shape2d的特征是关闭的以致用代码或者软件都跑不出shape2d的特征数据,我查了下官方文档,需要将force2d设置为true,对于force2Ddimension的设置我理解不了,原文是这么描述的”force2Ddimension
to the dimension that is out-of plane (e.g. 0 (z-axis) for an axial slice). Furthermore, this dimension is required to have size 1. If not set correctly, a ValueError is raised.”“force2Ddimension
[0]: int, range 0-2. Specifies the ‘slice’ dimension for a by-slice feature extraction. A value of 0 represents the native acquisition plane for the images (usually axial for CT and axial, coronal or sagittal for MRI). Similarly, 1 identifies the out-of plane y dimension (e.g. coronal plane for an axial image) and 2 the out-of-plane x dimension (e.g. sagittal plane for an acial image). if force2D
is set to False, this parameter has no effect.”
这里我理解不了是应该设置成0?1?还是2?我尝试设置为0跟2能够跑,但设置为1跑不了,希望李老师能指点一下,谢谢!