Displays a noise distribution.
disp_distribution displays a distribution in the current window. The parameters are the same as in set_paint('histogram') or histo_to_region. Noise distributions can be generated with operations like gauss_distribution or noise_distribution_mean.
|
Distribution (input_control) |
real-array -> real |
| grey value distribution (513 values). | |
|
Row (input_control) |
point.y -> integer |
| row index of center. | |
| Default value: 256 | |
| Suggested values: 0, 64, 128, 256 | |
| Range of values: 0 <= Row <= 511 (lin) | |
| Minimum increment: 1 | |
|
Recommended increment: 10 | |
|
Column (input_control) |
point.x -> integer |
| column index of center. | |
| Default value: 256 | |
| Suggested values: 0, 64, 128, 256 | |
| Range of values: 0 <= Column <= 511 (lin) | |
| Minimum increment: 1 | |
|
Recommended increment: 10 | |
|
Scale (input_control) |
integer -> integer |
| size of display. | |
| Default value: 1 | |
| Suggested values: 1, 2, 3, 4, 5, 6 | |
open_window(::0,0,-1,-1,'root','visible','':) > set_draw(::'fill':) > set_color(::'white':) > set_insert(::'not':) > read_image(:Image:'affe':) > draw_region(:Region::) > noise_distribution_mean(Region,Image::21:Distribution) > disp_distribution (::Distribution,100,100,3:) >
open_window, set_draw, set_color, set_colored, set_line_width, set_rgb, set_hsi, set_window, noise_distribution_mean, gauss_distribution
histo_to_region, set_paint, gauss_distribution, noise_distribution_mean