No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Impulse Noise Addition

4.0 | 1 rating Rate this file 15 Downloads (last 30 days) File Size: 1.9 KB File ID: #22141 Version: 1.1
image thumbnail

Impulse Noise Addition



18 Nov 2008 (Updated )

Adding impulse noise to image

| Watch this File

File Information

This function can be used for adding different kind of impulse noises (i.e. Salt & Pepper noise and Random-value impulse noise) to image.
Salt & Pepper Noise values are 0 or 255 but random-value impulse noise values vary from 0 to 255.

website :

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.2 (R2006a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
18 Jan 2012 faten

faten (view profile)

think you

Comment only
18 Jan 2012 faten

faten (view profile)

think you

01 Dec 2008 Cris Luengo

Cris Luengo (view profile)

1st: you're using incorrect statistics when you change the output of RAND the way you do (setting 0 values to 1 and dividing by the max value). Just use the output of RAND directly in your comparisons, that is what RAND is designed for.

2nd: A function that asks to enter a choice every time it is run is inconsistent with all the other functions in MATLAB (and annoying), the choice should be an input parameter to the function. Also, you could provide default values for the ND and D parameters.

3rd: There is no need to output the result to a figure window. Let the user decide whether they want that or not.

Comment only
01 Dec 2008 1.1

Modified based on Cris Luengo' comments.

Contact us