Operator Reference
set_comprise (Operator)
set_comprise
— Define the image matrix output clipping.
Warning
set_comprise
is obsolete and is only provided for
reasons of backward compatibility.
Signature
set_comprise( : : WindowHandle, Mode : )
Description
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'.
Attention
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.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
WindowHandle
(input_control) window →
(handle)
Window handle.
Mode
(input_control) string →
(string)
Clipping mode for gray value output.
Default: 'object'
List of values: 'image' , 'object'
Example (HDevelop)
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)
Result
set_comprise
returns 2 (
H_MSG_TRUE)
if Mode
is correct and the window is valid. Otherwise an exception is
raised.
Possible Predecessors
Possible Successors
See also
get_comprise
,
disp_image
,
disp_color
Module
Foundation