ImageEn, unit imageenproc

Smoothing Method Testing


Testing of Smoothing Methods


These images were generated using the demo:
\Demos\InputOutput\EveryMethod\EveryMethod.dpr

All Test Results
- Analysis Methods
- Color Adjustment Methods
- Color Depth Methods
- Alpha and Painting Methods
- Effects Methods
- Geometric Methods
- Filter Methods
- Smoothing Methods
- Other Methods


// Load test image
ImageEnView1.IO.LoadFromFile( 'D:\TestImage.jpg' );

  


 AutoSharp

// Automatically increase image sharpness by enhancing the contours of detected objects
ImageEnView1.Proc.AutoSharp();

  


 Blur

// Apply a Gaussian Blur filter to reduce detail and noise
ImageEnView1.Proc.Blur( 4 );

  


 MotionBlur

// Apply a diagonal effect of motion to image
ImageEnView1.Proc.MotionBlur( 45 );

  


 Sharpen

// Apply a sharpening filter to the image
ImageEnView1.Proc.Sharpen();

  


 SymmetricNearestNeighbour

// Apply a "Symmetric Nearest Neighbour" smoothing filter to the image
ImageEnView1.Proc.SymmetricNearestNeighbour();

  

// Less aggressive SNN smoothing
ImageEnView1.Proc.SymmetricNearestNeighbour(2);

  


 UnsharpMask

// Apply a gaussian blur to the image
ImageEnView1.Proc.UnsharpMask();

  


 blur (IEVision)

// Blurs an image using the normalized box filter
ImageEnView1.IEBitmap.GetIEVisionImage().blur( IEVisionSize( 4, 4 ), IEVisionPoint(-1, -1) );

  


 fastNlMeansDenoisingColored (IEVision)

// Perform image denoising using the Non-local Means Denoising algorithm
ImageEnView1.IEBitmap.GetIEVisionImage().fastNlMeansDenoisingColored();

  

// Perform more aggressive denoising
ImageEnView1.IEBitmap.GetIEVisionImage().fastNlMeansDenoisingColored( 10, 10 );

  


 smooth (IEVision)

// Smooth image using Blur
ImageEnView1.IEBitmap.GetIEVisionImage().smooth( ImageEnView1.IEBitmap.GetIEVisionImage(), ievBLUR );
ImageEnView1.Update();

  

// Smooth image using Gaussian
ImageEnView1.IEBitmap.GetIEVisionImage().smooth( ImageEnView1.IEBitmap.GetIEVisionImage(), ievGAUSSIAN );
ImageEnView1.Update();

  

// Smooth image using Median
ImageEnView1.IEBitmap.GetIEVisionImage().smooth( ImageEnView1.IEBitmap.GetIEVisionImage(), ievMEDIAN );
ImageEnView1.Update();

  

// Smooth image using Bilateral
// For Param3 and Param4, values in the range 30 - 100 are best
bmp.Assign( ienOriginal.IEBitmap );
ImageEnView1.IEBitmap.GetIEVisionImage().smooth( bmp.GetIEVisionImage(), ievBILATERAL, 5, 5, 30, 30 );
ImageEnView1.Update();

  



See Also

- Analysis Methods
- Color Adjustment Methods
- Color Depth Methods
- Alpha and Painting Methods
- Effects Methods
- Geometric Methods
- Filter Methods
- Smoothing Methods
- Other Methods