Leadtools.Windows.Media Getting Started

Summary

LEADTOOLS WPF (Leadtools.Windows.Media assembly)

For pointers to sample programs that demonstrate many features, see the table below:

.NET
.NET Framework (WPF)

.NET

Redistributables Paths

Path Target Platform
<installdir>\Bin\net .NET 6+
Assembly - Class/Namespace Comments
Leadtools.Windows.Media.dll - RasterImageMediaConverter

Contains classes for loading/saving image and non-image data to the multiple image file formats supported by LEADTOOLS.

The RasterImageMediaConverter class lets you convert between a Leadtools.RasterImage object and a System.Windows.Media.ImageSource object.

Dependencies

Library Description Dependencies
Leadtools.Windows.Media.dll Core Library Leadtools.dll
NuGet PackageDescription
Leadtools.Annotations.UI.Wpf Annotation and Image Markup Library for WPF
Leadtools.Document.Viewer.Wpf Document Imaging Library for WPF
Leadtools.Viewer.Controls.Wpf Viewer Controls for WPF

Sample Programs

Demo Name Source Code Path Pre-Compiled Executable Path Description
Basic Features \Examples\ImageProcessing\DotNet\BasicFeaturesDemo\net \Bin\net\BasicFeaturesDemo_Original.exe

Demonstrates some basic LEADTOOLS image processing and display features.

  • Loads an image from a file
  • Performs basic image processing using LEADTOOLS Image Processing commands
  • Demonstrates row by row image data access
  • Displays images using the LEADTOOLS Image Viewer Control
Demo Name Source Code Path Pre-Compiled Executable Path Description
Color Conversion \Examples\ImageProcessing\DotNet\ColorConversionDemo\net \Bin\net\ColorConversionDemo_Original.exe

Demonstrates LEADTOOLS Colorspace Conversion SDK features.

Converts image data in a buffer from one color conversion model to another.

Formats supported include RGB, YUV, CMYK, HSV, HLS, YCC, ARGB, and many more.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Document Cleanup \Examples\ImageProcessing\DotNet\DocumentCleanupDemo\net \Bin\net\DocumentCleanupDemo_Original.exe

Demonstrates Document Image Cleanup functionality.

  • Line Remove, Dot Remove, Border Remove, Hole-punch Remove
  • Deskew, Despeckle
  • Inverted Text
  • Character Smooth
Demo Name Source Code Path Pre-Compiled Executable Path Description
GrayScale \Examples\ImageProcessing\DotNet\GrayScaleDemo\net \Bin\net\GrayScaleDemo_Original.exe

Demonstrates Medical Image processing functionalities

The GrayScale Demo contains all LEADTOOLS medical image processing function and allow the user to adjust the parameter of each function, plus doing statistics, segmentation, region of interest, window level, etc.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Image Processing Demo (WinForms) \Examples\ImageProcessing\DotNet\ImageProcessingDemo\net \Bin\net\ImageProcessingDemo_Original.exe

Demonstrates Image Processing functionality.

Apply Image Processing filters to images.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Interactive Histogram \Examples\ImageProcessing\DotNet\InteractiveHistDemo\net \Bin\net\InteractiveHistDemo_Original.exe

Demonstrates powerful and comprehensive tools that allow the user to adjust any image histogram.

  • Load and display images
  • Adjust image histogram
  • Alter, enhance, or segment histogram information
  • Provides histogram statistical information that can be helpful to analyze the image
Demo Name Source Code Path Pre-Compiled Executable Path Description
Image Processing Demo (WPF) \Examples\ImageProcessing\DotNet\WPFImageProcessingDemo\net \Bin\net\WPFImageProcessingDemo_Original.exe

Demonstrates Image Processing functionality.

Apply Image Processing filters to images.

Demo Name Source Code Path Pre-Compiled Executable Path Description
WPF Shader Effects \Examples\ImageProcessing\DotNet\WPFShaderEffectsDemo\net \Bin\net\WPFShaderEffectsDemo_Original.exe

Demonstrates WPF Shader Effects.

  • Load and display an image in the LEADTOOLS WPF Viewer
  • Apply Shader Effects to the displayed image
  • Control the options for the Shader Effects

.NET Framework (WPF)

Redistributables Paths

Path Target Platform
<installdir>\Bin\DotNet4\Win32 x86 .NET 4 or 4.5
<installdir>\Bin\DotNet4\x64 x64 .NET 4 or 4.5
Assembly -
Class/Namespace
Comments

Leadtools.Windows.Media.dll -RasterImageMediaConverter

Contains classes for loading/saving image and non-image data to the multiple image file formats supported by LEADTOOLS.

The RasterImageMediaConverter class lets you convert between a Leadtools.RasterImage object and a System.Windows.Media.ImageSource object.

Dependencies

Library Description Dependencies
Leadtools.Windows.Media.dll Core Library

Leadtools.dll


NuGet PackageDescription
Leadtools.Annotations.UI.Wpf Annotation and Image Markup Library for WPF
Leadtools.Document.Viewer.Wpf Document Imaging Library for WPF
Leadtools.Viewer.Controls.Wpf Viewer Controls for WPF

Sample Programs

Demo Name Source Code Path Pre-Compiled Executable Path Description
Basic Features \Examples\ImageProcessing\DotNet\BasicFeaturesDemo\fx \Bin\DotNet4\<Win32/x64>\BasicFeaturesDemo_Original.exe

Demonstrates some basic LEADTOOLS image processing and display features.

  • Loads an image from a file
  • Performs basic image processing using LEADTOOLS Image Processing commands
  • Demonstrates row by row image data access
  • Displays images using the LEADTOOLS Image Viewer Control
Demo Name Source Code Path Pre-Compiled Executable Path Description
Color Conversion \Examples\ImageProcessing\DotNet\ColorConversionDemo\fx \Bin\DotNet4\<Win32/x64>\ColorConversionDemo_Original.exe

Demonstrates LEADTOOLS Colorspace Conversion SDK features.

Converts image data in a buffer from one color conversion model to another.

Formats supported include RGB, YUV, CMYK, HSV, HLS, YCC, ARGB, and many more.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Document Cleanup \Examples\ImageProcessing\DotNet\DocumentCleanupDemo\fx \Bin\DotNet4\<Win32/x64>\DocumentCleanupDemo_Original.exe

Demonstrates Document Image Cleanup functionality.

  • Line Remove, Dot Remove, Border Remove, Hole-punch Remove
  • Deskew, Despeckle
  • Inverted Text
  • Character Smooth
Demo Name Source Code Path Pre-Compiled Executable Path Description
Fusion \Examples\ImageProcessing\DotNet\FusionDemo\fx \Bin\DotNet4\<Win32/x64>\FusionDemo_Original.exe

Demonstrates the Image Fusion feature of the Medical Viewer engine.

Fusion demo allows the user to fuse two images together and adjust the fusion amount, transparency, scale, position, etc.

Users can also can fuse two series together.

Demo Name Source Code Path Pre-Compiled Executable Path Description
GrayScale \Examples\ImageProcessing\DotNet\GrayScaleDemo\fx \Bin\DotNet4\<Win32/x64>\GrayScaleDemo_Original.exe

Demonstrates Medical Image processing functionalities

The GrayScale Demo contains all LEADTOOLS medical image processing function and allow the user to adjust the parameter of each function, plus doing statistics, segmentation, region of interest, window level, etc.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Image Processing Demo (WinForms) \Examples\ImageProcessing\DotNet\ImageProcessingDemo\fx \Bin\DotNet4\<Win32/x64>\ImageProcessingDemo_Original.exe

Demonstrates Image Processing functionality.

Apply Image Processing filters to images.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Interactive Histogram \Examples\ImageProcessing\DotNet\InteractiveHistDemo\fx \Bin\DotNet4\<Win32/x64>\InteractiveHistDemo_Original.exe

Demonstrates powerful and comprehensive tools that allow the user to adjust any image histogram.

  • Load and display images
  • Adjust image histogram
  • Alter, enhance, or segment histogram information
  • Provides histogram statistical information that can be helpful to analyze the image
Demo Name Source Code Path Pre-Compiled Executable Path Description
Image Processing Demo (WPF) \Examples\ImageProcessing\DotNet\WPFImageProcessingDemo\fx \Bin\DotNet4\<Win32/x64>\WPFImageProcessingDemo_Original.exe

Demonstrates Image Processing functionality.

Apply Image Processing filters to images.

Demo Name Source Code Path Pre-Compiled Executable Path Description
WPF Shader Effects \Examples\ImageProcessing\DotNet\WPFShaderEffectsDemo\fx \Bin\DotNet4\<Win32/x64>\WPFShaderEffectsDemo_Original.exe

Demonstrates WPF Shader Effects.

  • Load and display an image in the LEADTOOLS WPF Viewer
  • Apply Shader Effects to the displayed image
  • Control the options for the Shader Effects

See Also

Introduction

Getting Started (Guide to Example Programs)

Interoperation between LEADTOOLS and Windows Presentation Foundation (WPF) images

Summary of All Supported File Formats

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