HALCON Reference Manual 10.0.2
Name
write_lutwrite_lutwrite_lutWriteLutWriteLut — Write look-up-table (lut) as file.
write_lutwrite_lutwrite_lutWriteLutWriteLut saves the look-up-table (resp. the part of it that
is relevant for displaying image gray values) of the valid output
window into a file named 'FileNameFileNameFileNameFileNamefileName.lut'. It can be read again
later with set_lutset_lutset_lutSetLutSetLut.
write_lutwrite_lutwrite_lutWriteLutWriteLut is only suitable for systems using 256 colors.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: local (may only be called from the same thread in which the window, model, or tool instance was created).
- Processed without parallelization.
File name (of file containing the look-up-table).
Default value:
'/tmp/lut'
"/tmp/lut"
"/tmp/lut"
"/tmp/lut"
"/tmp/lut"
File extension: .lut
read_image(Image,'monkey')
disp_image(Image,WindowHandle)
draw_lut(WindowHandle)
write_lut(WindowHandle,'test_lut')
read_image(&Image,"monkey") ;
disp_image(Image,WindowHandle) ;
draw_lut(WindowHandle) ;
write_lut(WindowHandle,"test_lut") ;
read_image(Image,'monkey')
disp_image(Image,WindowHandle)
draw_lut(WindowHandle)
write_lut(WindowHandle,'test_lut')
read_image(Image,'monkey')
disp_image(Image,WindowHandle)
draw_lut(WindowHandle)
write_lut(WindowHandle,'test_lut')
read_image(Image,'monkey')
disp_image(Image,WindowHandle)
draw_lut(WindowHandle)
write_lut(WindowHandle,'test_lut')
write_lutwrite_lutwrite_lutWriteLutWriteLut returns 2 (H_MSG_TRUE) if the window with the required
properties (256 colors) is valid and the parameter (file name) is
correct. Otherwise an exception is raised.
draw_lutdraw_lutdraw_lutDrawLutDrawLut,
set_lutset_lutset_lutSetLutSetLut
set_lutset_lutset_lutSetLutSetLut,
draw_lutdraw_lutdraw_lutDrawLutDrawLut,
set_pixelset_pixelset_pixelSetPixelSetPixel,
get_pixelget_pixelget_pixelGetPixelGetPixel
Foundation
| HALCON Reference Manual 10.0.2 |
Copyright © 1996-2011 MVTec Software GmbH |