←Select platform

StitchSideMatchingType Enumeration

Summary

Specifies the side of the image used in the stitching.

Syntax
C#
C++/CLI
Python
public enum StitchSideMatchingType 
public: 
   enum class StitchSideMatchingType sealed 
class StitchSideMatchingType(Enum): 
   None = 0 
   KeepRight = 1 
   KeepLeft = 2 
   KeepTop = 3 
   KeepBottom = 4 
   AllSides = 5 
Members
ValueMemberDescription
0NoneNo side specified.
1KeepRightSpecifies the right side of the image.
2KeepLeftSpecifies the left side of the image.
3KeepTopSpecifies the top of the image.
4KeepBottomSpecifies the bottom of the image.
5AllSidesSpecifies all sides of the image. This will ignore the center of the image.
Example
C#
using Leadtools; 
using Leadtools.Codecs; 
using Leadtools.ImageProcessing.Effects; 
 
 
public void StitchCommandExample(IList<RasterImage> Images) 
{ 
   // The image to stitch the other images to 
   var firstImage = Images.First(); 
   try 
   { 
      // List of images to stitch to firstImage 
      var toStitchImages = Images.Skip(1).ToList(); 
      try 
      { 
         // Create new Stitch Command and run on the provided images with the given parameters 
         // If successful, the firstImage will be updated to include the fully stitched image 
         new StitchCommand 
         { 
            ImageType = StitchImageType.VerticalScroll, 
            ToStitchImages = toStitchImages, 
            MethodType = StitchMethodType.Exhaustive, 
            SideMatchingType = StitchSideMatchingType.AllSides 
         }.Run(firstImage); 
      } 
      catch (Exception e) 
      { 
         Console.WriteLine(e); 
      } 
   } 
   catch (Exception e) 
   { 
      Console.WriteLine(e); 
   } 
} 
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.Effects Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.