set_comprise — 定义图像矩阵输出剪裁。
set_comprise 已过时,仅出于向后兼容性考虑而保留。
set_comprise( : : WindowHandle, Mode : )
set_comprise defines the image matrix output
clipping. If Mode is set to 'object', only gray values
belonging to the output object are displayed. If set to 'image', the
whole image matrix is displayed. Default is 'object'.
If Mode was set to 'image', undefined gray values may be
displayed. Depending on the context they are black or can have
random content. See the examples.
WindowHandle (输入控制) window → (handle)
窗口句柄。
Mode (输入控制) string → (string)
Clipping mode for gray value output.
默认值: 'object'
值列表: 'image', 'object'
read_image(Image,'fabrik')
gen_circle (Circle, 200, 200, 100.5)
reduce_domain (Image, Circle, ImageReduced)
set_system('init_new_image','false')
sobel_amp(ImageReduced,SobelReduced,'sum_abs',3)
dev_display (SobelReduced)
get_comprise(WindowHandle,Mode)
set_comprise(WindowHandle,'image')
stop ()
dev_display (SobelReduced)
set_comprise returns 2 (
H_MSG_TRUE)
if Mode
is correct and the window is valid.否则将抛出异常。
get_comprise,
disp_image,
disp_color
基础