PV-WAVE Extreme Advantage > Image Processing Toolkit User Guide > Image Tool > Impulse Noise Generation Dialog Box (Image Tool)
Impulse Noise Generation Dialog Box (Image Tool)
Use this dialog box to generate an array of impulse distribution noise (also known as “salt and pepper”).
Dim1—A long integer specifying the size of the first dimension of the output array.
Dim2—A long integer specifying the size of the second dimension of the output array.
Dim3—A long integer specifying the size of the third dimension of the output array. This option is valid only for multi-layered or 24-bit images.
Binary—If this button is selected, the output consists only of high and low values.
Type—Select the data type of the output array. Choices are BYTE, INT, LONG, FLOAT, DOUBLE.
Create New Image—If this option is selected, the output array is written to a named variable. The output array can be 2D or 3D. Enter the new image variable name in the Output Variable text field.
Overwrite Image—If this option is selected, the currently loaded image variable is overwritten by the processed array.
Add to Image—If this option is selected, the noise array is added to the current image. The current image is replaced by the result.
Corrupt Image—Replace some pixels in the image with noise values. Noise values are based on the probability of noise in the image.
Minimum—An integer specifying the minimum or “pepper” noise. (Default: 0)
Maximum—An integer specifying the maximum or “salt” noise. (Default: 255)
Background—An integer specifying the color table index to use for the image background. (Default: 127)
Probability—A floating-point scalar specifying the probability of noise in the array. Recommended values are in the range {0.0 .. 1.0}.
Variable Suffix—If the Create New Image option is selected, enter a suffix for the new image variable name. This suffix is added to the original variable name.
OK—Process the image variable and exit the dialog box.
Apply—Process the image, but do not exit the dialog box.
Cancel—Exit the dialog box without taking any action.
Help—Display online Help on the dialog box.