←Select platform

StitchImageType Enumeration

Summary

Specifies the type of image used in the stitching.

Syntax
C#
C++/CLI
Python
public enum StitchImageType 
public: 
   enum class StitchImageType sealed 
class StitchImageType(Enum): 
   Picture = 0 
   VerticalScroll = 1 
   HorizontalScroll = 2 
Members
ValueMemberDescription
0PictureImage type is a picture.
1VerticalScrollImage type is a digital image that requires vertical scrolling to view.
2HorizontalScrollImage type is a digital image that requires horizontal scrolling to view.
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.