Definition in file vil_fill.h.
#include <vcl_cassert.h>
#include <vil/vil_image_view.h>
#include <vcl_algorithm.h>
Go to the source code of this file.
Functions | |
| template<class srcT> | |
| void | vil_fill_mask (vil_image_view< srcT > &image, const vil_image_view< bool > &mask, srcT value, bool b=true) |
| Writes given value into each pixel of image under the elements of the mask set to b. | |
| template<class T> | |
| void | vil_fill_disk (vil_image_view< T > &image, double ci, double cj, double r, T value) |
| Fills pixels in disk with centre (ci,cj), radius r, with given value. | |
|
||||||||||||||||||||||||||||
|
Fills pixels in disk with centre (ci,cj), radius r, with given value. Fills all planes of image with the value. Definition at line 197 of file vil_fill.h. |
|
||||||||||||||||||||||||
|
Writes given value into each pixel of image under the elements of the mask set to b. If mask.nplanes()==1 then the same mask is applied to every image plane, otherwise there must be the same number of mask planes as image planes. Definition at line 162 of file vil_fill.h. |
1.4.4