get_compriseT_get_compriseGetCompriseGetCompriseget_comprise(算子)
名称
get_compriseT_get_compriseGetCompriseGetCompriseget_comprise — 获取图像矩阵的输出处理。
警告
get_compriseget_compriseGetCompriseGetCompriseGetCompriseget_comprise 已过时,仅出于向后兼容性考虑而保留。
签名
描述
get_compriseget_compriseGetCompriseGetCompriseGetCompriseget_comprise returns the output mode of gray values in the
window WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle that is used by disp_imagedisp_imageDispImageDispImageDispImagedisp_image and
disp_colordisp_colorDispColorDispColorDispColordisp_color。The output mode defines whether only the
gray values of objects are displayed or the whole image is displayed.
The query is used for temporary mode settings, i.e., the current
mode is queried, then overwritten with (set_compriseset_compriseSetCompriseSetCompriseSetCompriseset_comprise) and
finally reset.
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (输入控制) window → HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
窗口句柄。
ModeModeModeModemodemode (输出控制) string → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Display mode for images.
结果
get_compriseget_compriseGetCompriseGetCompriseGetCompriseget_comprise returns 2 (H_MSG_TRUE)
if the window is valid.否则将抛出异常。
可能的后继
set_compriseset_compriseSetCompriseSetCompriseSetCompriseset_comprise,
disp_imagedisp_imageDispImageDispImageDispImagedisp_image,
disp_imagedisp_imageDispImageDispImageDispImagedisp_image
另见
set_compriseset_compriseSetCompriseSetCompriseSetCompriseset_comprise,
disp_imagedisp_imageDispImageDispImageDispImagedisp_image,
disp_colordisp_colorDispColorDispColorDispColordisp_color
模块
基础