G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing

A Full-Featured Open-Source Framework for Image Processing

Latest stable version: 3.1.4

Reference

 Table of Contents  ▸  List of Commands  ▸  Values Manipulation  ▸  noise ◀  negate    |    noise_perlin  ▶

noise

Built-in command

Arguments:

• std_deviation>=0[%],_noise_type

Description:

Add random noise to selected images.

noise_type can be { 0=gaussian | 1=uniform | 2=salt&pepper | 3=poisson | 4=rice }.

noise_type=0.

Examples of use:

• Example #1

\$ gmic image.jpg +noise[0] 50,0 +noise[0] 50,1 +noise[0] 10,2 cut 0,255

Command: image.jpg +noise[0] 50,0 +noise[0] 50,1 +noise[0] 10,2 cut 0,255
Command: image.jpg +noise[0] 50,0 +noise[0] 50,1 +noise[0] 10,2 cut 0,255
Command: image.jpg +noise[0] 50,0 +noise[0] 50,1 +noise[0] 10,2 cut 0,255
Command: image.jpg +noise[0] 50,0 +noise[0] 50,1 +noise[0] 10,2 cut 0,255

• Example #2

\$ gmic 300,300,1,3 [0] noise[0] 20,0 noise[1] 20,1 +histogram 100 display_graph[-2,-1] 400,300,3

Command: 300,300,1,3 [0] noise[0] 20,0 noise[1] 20,1 +histogram 100 display_graph[-2,-1] 400,300,3
Command: 300,300,1,3 [0] noise[0] 20,0 noise[1] 20,1 +histogram 100 display_graph[-2,-1] 400,300,3
Command: 300,300,1,3 [0] noise[0] 20,0 noise[1] 20,1 +histogram 100 display_graph[-2,-1] 400,300,3
Command: 300,300,1,3 [0] noise[0] 20,0 noise[1] 20,1 +histogram 100 display_graph[-2,-1] 400,300,3
G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing