| 158 | } |
| 159 | |
| 160 | void IPLImage::fillColor(ipl_basetype value) |
| 161 | { |
| 162 | for( int planeNr = 0; planeNr < _nrOfPlanes; planeNr++ ) |
| 163 | { |
| 164 | IPLImagePlane* plane = _planes[planeNr]; |
| 165 | for( int x=0; x<_width; x++ ) |
| 166 | for( int y=0; y<_height; y++ ) |
| 167 | plane->p(x,y) = value; |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | std::string IPLImage::toString(int x, int y) |
| 172 | { |