| 144 | } |
| 145 | |
| 146 | IPLImagePlane* IPLImage::plane(int planeNr) |
| 147 | { |
| 148 | if(planeNr >= (int)_planes.size() || planeNr < 0) |
| 149 | { |
| 150 | std::stringstream error; |
| 151 | error << ("Invalid plane number: "); |
| 152 | error << planeNr; |
| 153 | throw std::runtime_error(error.str()); |
| 154 | return NULL; |
| 155 | } |
| 156 | |
| 157 | return _planes[planeNr]; |
| 158 | } |
| 159 | |
| 160 | void IPLImage::fillColor(ipl_basetype value) |
| 161 | { |
no test coverage detected