IT Community - Software Programming, Web Development and Technical Support

Addnoise using ImageMagick MagickNet in C#.NET

This is a discussion on Addnoise using ImageMagick MagickNet in C#.NET within the C# Programming forums, part of the Software Development category; The below code is used to generate image with noise NoiseTypes GaussianNoise ImpulseNoise LaplacianNoise MultiplicativeGaussianNoise PoissonNoise UniformNoise Magick.Init(); MagickNet....


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > C# Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 01-09-2008, 01:26 AM
Anandavinayagam Anandavinayagam is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 131
Anandavinayagam is on a distinguished road
Default Addnoise using ImageMagick MagickNet in C#.NET

The below code is used to generate image with noise

NoiseTypes

  • GaussianNoise
  • ImpulseNoise
  • LaplacianNoise
  • MultiplicativeGaussianNoise
  • PoissonNoise
  • UniformNoise



Quote:
Magick.Init();
MagickNet.Image img = new MagickNet.Image(new StreamReader(@"d:\template.psd").BaseStream);
//Image this text
img.AddNoise(NoiseType.UniformNoise);
img.Write(@"d:\UniformNoise-result.gif");

Magick.Term();


examples:

Gaussian-result.gif

ImpulseNoise-result.gif

MultiplicativeGaussianNoise-result.gif

UniformNoise-result.gif
__________________
The MOSS
Master of Solution Service

Last edited by Anandavinayagam : 01-09-2008 at 01:28 AM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-20-2008, 02:24 AM
aneeshrajs aneeshrajs is offline
D-Web Trainee
 
Join Date: Sep 2008
Posts: 1
aneeshrajs is on a distinguished road
Default Re: Addnoise using ImageMagick MagickNet in C#.NET

hello
Can u please help me to Quantize images using MagicNet in vb.net
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can anyone mail me a MagickNet.src.1.0.0.3.zip or MagickNet.dll Savior C# Programming 8 09-16-2008 01:34 AM
ImageMagick MagickNet C# WebApplication Anandavinayagam C# Programming 80 08-04-2008 01:01 AM
ImageMagick Magicknet psd to gif C#.NET Web Application kingmaker C# Programming 3 02-20-2008 09:57 PM
Chop Image using ImageMagick MagickNet Anandavinayagam C# Programming 3 01-08-2008 04:32 AM
ImageMagick gattuso PHP Programming 2 07-19-2007 12:02 PM


All times are GMT -7. The time now is 02:23 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0