←Select platform

LookupTable Property

Summary
Table of 256 integers containing lookup values that re-map bump image data.
Syntax
C#
C++/CLI
Python
public int[] LookupTable { get; set; } 
public: 
property array<int>^ LookupTable { 
   array<int>^ get(); 
   void set (    array<int>^ ); 
} 
LookupTable # get and set (BumpMapCommand) 

Property Value

Table of 256 integers containing lookup values that re-map bump image data.

Example
C#
using Leadtools; 
using Leadtools.Codecs; 
using Leadtools.ImageProcessing.SpecialEffects; 
 
 
public void BumpMapCommandExample() 
{ 
   // Load an image 
   RasterImage image; 
   RasterCodecs codecs = new RasterCodecs(); 
   image = codecs.Load(Path.Combine(LEAD_VARS.ImagesDir, @"ImageProcessingDemo\Image3.cmp"), 4, CodecsLoadByteOrder.Bgr, 1, 1); 
 
   // Prepare the command 
   BumpMapCommand command = new BumpMapCommand(); 
   command.Azimuth = 5; 
   command.Brightness = 50; 
   command.BumpImage = image; 
   command.BumpPoint = new LeadPoint(0, 0); 
   command.Depth = 3; 
   command.DestinationPoint = new LeadPoint(0, 0); 
   command.Elevation = 0; 
   command.Intensity = 0; 
   command.LookupTable = null; 
   command.Tile = true; 
   command.Run(image); 
   codecs.Save(image, Path.Combine(LEAD_VARS.ImagesDir, "Result.jpg"), RasterImageFormat.Jpeg, 24); 
 
} 
 
static class LEAD_VARS 
{ 
   public const string ImagesDir = @"C:\LEADTOOLS22\Resources\Images"; 
} 
Requirements

Target Platforms

Help Version 22.0.2023.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.SpecialEffects Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.