| 157 | } |
| 158 | |
| 159 | ipl_basetype IPLComplexImage::minReal() |
| 160 | { |
| 161 | float min = FLT_MAX; |
| 162 | for(int y=0; y < _height; y++) |
| 163 | { |
| 164 | for(int x=0; x < _width; x++) |
| 165 | { |
| 166 | if(std::abs(real(x,y)) < min) |
| 167 | min = real(x,y); |
| 168 | } |
| 169 | } |
| 170 | return min; |
| 171 | } |
| 172 | |
| 173 | void IPLComplexImage::flip(void) |
| 174 | { |