Name
set_compriseset_compriseSetCompriseSetComprise — Define the image matrix output clipping.
Warning
set_compriseset_compriseSetCompriseSetCompriseSetComprise is obsolete and is only provided for
reasons of backward compatibility.
set_compriseset_compriseSetCompriseSetCompriseSetComprise defines the image matrix output
clipping. If ModeModeModeModemode 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 ModeModeModeModemode 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.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Clipping mode for gray value output.
Default value:
'object'
"object"
"object"
"object"
"object"
List of values: 'image'"image""image""image""image", 'object'"object""object""object""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)
open_window(0,0,-1,-1,"root","visible","",&WindowHandle) ;
read_image(&Image,"fabrik") ;
threshold(Image,&Seg,100,255) ;
set_system("init_new_image","false") ;
sobel_amp(Image,&Sob,"sum_abs",3) ;
disp_image(Sob,WindowHandle) ;
get_comprise(&Mode) ;
fwrite_string(FileHandle,"Current mode for gray values: ") ;
fwrite_string(FileHandle,Mode) ;
fnew_line(FileHandle) ;
set_comprise(WindowHandle,"image") ;
get_mbutton(WindowHandle,NULL,NULL,NULL) ;
disp_image(Sob,WindowHandle) ;
fwrite_string(FileHandle,"Current mode for gray values: image") ;
fnew_line(FileHandle) ;
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)
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)
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_compriseset_compriseSetCompriseSetCompriseSetComprise returns 2 (H_MSG_TRUE) if ModeModeModeModemode
is correct and the window is valid. Otherwise an exception is
raised.
get_compriseget_compriseGetCompriseGetCompriseGetComprise
disp_imagedisp_imageDispImageDispImageDispImage
get_compriseget_compriseGetCompriseGetCompriseGetComprise,
disp_imagedisp_imageDispImageDispImageDispImage,
disp_colordisp_colorDispColorDispColorDispColor
Foundation