Halcon算子之dev_set_lut
read_image(Image,'mreut')
dev_set_lut('inverse')
* For true color only:
dev_display(Image)
dev_set_lut (Operator)
Name
dev_set_lut — Set “look-up-table” (lut).
Signature
dev_set_lut( : : LutName : )
Description
dev_set_lut sets the look-up-table of the active graphics window. A look-up-table defines the transformation of a “gray value” from an one-channel-image into a gray value or color on the screen. query_lut lists the names of all look-up-tables.For more information see the description of the operator set_lut. However, in contrast to that operator the new look-up-table is also used for all new graphics windows that are opened afterwards.
Attention
Using the code export feature of HDevelop, the code that is generated for this operator may have a different behavior than the related HALCON operator. For a detailed description of the code export of HDevelop graphics operators into the different programming languages see in the “HDevelop User's Guide” the chapter Code Export -> General Aspects of Code Generation -> Graphics Windows.