📄 qccimgimagecubeextractblock.3
字号:
.TH QCCIMGIMAGECUBEEXTRACTBLOCK 3 "QCCPACK" "".SH NAMEQccIMGImageCubeExtractBlock,QccIMGImageCubeInsertBlock\- block extraction and insertion from/to image cube.SH SYNOPSIS.B #include "libQccPack.h".sp.BI "int QccIMGImageCubeExtractBlock(const QccIMGImageCube *" image_cube ", int " image_frame ", int " image_row ", int " image_col ", QccMatrix " block ", int " block_num_frames ", int " block_num_rows ", int " block_num_cols );.br.BI "int QccIMGImageCubeInsertBlock(QccIMGImageCube *" image_cube ", int " image_frame ", int " image_row ", int " image_col ", const QccMatrix " block ", int " block_num_frames ", int " block_num_rows ", int " block_num_cols );.SH DESCRIPTION.BR QccIMGImageCubeExtractBlock()extracts a.I blockof size.IR block_num_framesby.IR block_num_rowsby.IR block_num_colsfrom.IR image_cube .The.I blockis extracted such that the low-indexed corner of the extracted.I blocklies at location.RI ( image_frame ", " image_row ", " image_col )in.IR image_cube ;i.e., a diagonal of the nominal cube to be extracted would run from.RI ( image_frame ", " image_row ", " image_col )to.RI ( image_frame " + " block_num_frames ", " image_row " + ".IR block_num_rows ", ".IR image_col " + " block_num_cols ).If any part of the extracted.I blocklies beyond the bounds of.IR image_cube ,the corresponding voxels in.IR blockbeyond the image-cube bounds are set to 0..LP.BR QccIMGImageCubeInsertBlock()inserts a.IR blockof size.IR block_num_framesby.IR block_num_rowsby.IR block_num_colsinto.IR image_cubeat location.RI ( image_frame ", " image_row ", " image_col ).Any part of the inserted.IR blockthat would lie beyond the bounds of.IR image_cubeis ignored, i.e., not inserted into.IR image_cube ..SH "RETURN VALUES"These routines return 0 on success and 1 on error..SH "SEE ALSO".BR QccIMGImageCube (3),.BR QccPackIMG (3),.BR QccPack (3).SH AUTHORCopyright (C) 1997-2009 James E. Fowler.\" The programs herein are free software; you can redistribute them an.or.\" modify them under the terms of the GNU General Public License.\" as published by the Free Software Foundation; either version 2.\" of the License, or (at your option) any later version..\" .\" These programs are distributed in the hope that they will be useful,.\" but WITHOUT ANY WARRANTY; without even the implied warranty of.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the.\" GNU General Public License for more details..\" .\" You should have received a copy of the GNU General Public License.\" along with these programs; if not, write to the Free Software.\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -