MCPcopy Create free account
hub / github.com/cpvrlab/ImagePlay / maxReal

Method maxReal

IPL/src/IPLComplexImage.cpp:145–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145ipl_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
159ipl_basetype IPLComplexImage::minReal()
160{

Callers 1

processInputDataMethod · 0.80

Calls 1

absFunction · 0.50

Tested by

no test coverage detected