Gaussian Noise function for images

Reply

Join Date: Aug 2006
Posts: 20
Reputation: happy8899 is an unknown quantity at this point 
Solved Threads: 0
happy8899 happy8899 is offline Offline
Newbie Poster

Gaussian Noise function for images

 
0
  #1
Oct 2nd, 2008
How for me to create gaussian noise to be put into images where the gaussian noise have several level of noise. Eg) i can select 10% until 100% for the level of gaussian noise to be inserted into the images.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 2,753
Reputation: niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute 
Solved Threads: 294
Featured Poster
niek_e's Avatar
niek_e niek_e is offline Offline
Posting Maven

Re: Gaussian Noise function for images

 
0
  #2
Oct 2nd, 2008
The easy way would be to use the OpenCV library which has special function for this.
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 20
Reputation: happy8899 is an unknown quantity at this point 
Solved Threads: 0
happy8899 happy8899 is offline Offline
Newbie Poster

Re: Gaussian Noise function for images

 
0
  #3
Oct 2nd, 2008
Originally Posted by niek_e View Post
The easy way would be to use the OpenCV library which has special function for this.
How to use tis OpenCV i had install it but it seems like consist of library file and i had install a OpenCV.exe but i seems like do not knw how to use it. Beside this, is there any others methods
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 2,753
Reputation: niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute 
Solved Threads: 294
Featured Poster
niek_e's Avatar
niek_e niek_e is offline Offline
Posting Maven

Re: Gaussian Noise function for images

 
0
  #4
Oct 3rd, 2008
Originally Posted by happy8899 View Post
How to use tis OpenCV i had install it but it seems like consist of library file and i had install a OpenCV.exe but i seems like do not knw how to use it.
You install the file and then you read the documentation, or open one of the many example files that came with it.

Originally Posted by happy8899 View Post
Beside this, is there any others methods
Yes there are. But if you don't understand how to install OpenCV, I wouldn't start on them...
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 20
Reputation: happy8899 is an unknown quantity at this point 
Solved Threads: 0
happy8899 happy8899 is offline Offline
Newbie Poster

Re: Gaussian Noise function for images

 
0
  #5
Oct 3rd, 2008
Originally Posted by niek_e View Post
You install the file and then you read the documentation, or open one of the many example files that came with it.



Yes there are. But if you don't understand how to install OpenCV, I wouldn't start on them...
I already install the opencv and see the sample but i need to copy paste in the dll files which i downloaded. But when i run the code using visual studio it seems like cannot run. What i need to do to run the code?? I nw just double click the code then open in visual studio. Izzit i need to create a new project and copy paste to code to let it run
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 275
Reputation: dougy83 is on a distinguished road 
Solved Threads: 45
dougy83 dougy83 is offline Offline
Posting Whiz in Training

Re: Gaussian Noise function for images

 
0
  #6
Oct 3rd, 2008
I'm pretty sure there's oodles of freely available guides available to tell you how to use openCV. Try http://www.google.com/search?hl=en&r...+visual-studio

Failing that, I found the following works for me:

Basically what you have to do is set up your project to include the following files:
"c:/Program Files/OpenCV/lib/cv.lib"
"c:/Program Files/OpenCV/lib/cvaux.lib"
"c:/Program Files/OpenCV/lib/cvcam.lib"
"c:/Program Files/OpenCV/lib/cxcore.lib"
"c:/Program Files/OpenCV/lib/cxts.lib"
"c:/Program Files/OpenCV/lib/highgui.lib"
"c:/Program Files/OpenCV/lib/trs.lib"

You'll probably need to specify include file paths:
C:\Program Files\OpenCV\cv\include
C:\Program Files\OpenCV\cvaux\include
C:\Program Files\OpenCV\cxcore\include
C:\Program Files\OpenCV\otherlibs\highgui
C:\Program Files\OpenCV\otherlibs\cvcam\include

You'll may need to specify library file paths:
C:\Program Files\OpenCV\lib

You will need to include some of the following header files:
#include "cv.h"
#include "cvaux.h"
#include "highgui.h"
Last edited by dougy83; Oct 3rd, 2008 at 6:24 am.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC