| 143 | } |
| 144 | |
| 145 | ipl_basetype IPLComplexImage::maxReal() |
| 146 | { |
| 147 | float max = FLT_MIN; |
| 148 | for(int y=0; y < _height; y++) |
| 149 | { |
| 150 | for(int x=0; x < _width; x++) |
| 151 | { |
| 152 | if(std::abs(real(x,y)) > max) |
| 153 | max = real(x,y); |
| 154 | } |
| 155 | } |
| 156 | return max; |
| 157 | } |
| 158 | |
| 159 | ipl_basetype IPLComplexImage::minReal() |
| 160 | { |