Lines Matching refs:maxvalue

159 …eckingRects(std::list<vigra::Rect2D>& testingRects, const vigra::Rect2D& rect, const long maxvalue)  in AddCheckingRects()  argument
169 if(maxvalue>0 && rect.area()<maxvalue) in AddCheckingRects()
211 …lateOptimalROI::nonreccheck(const vigra::Rect2D& rect, int acc, int searchStrategy, long& maxvalue) in nonreccheck() argument
226 … AddCheckingRects(testRects, ModifyRect(testingRect, 0, acc, 0, 0), maxvalue); in nonreccheck()
227 … AddCheckingRects(testRects, ModifyRect(testingRect, 0, 0, 0, -acc), maxvalue); in nonreccheck()
228 … AddCheckingRects(testRects, ModifyRect(testingRect, acc, 0, 0, 0), maxvalue); in nonreccheck()
229 … AddCheckingRects(testRects, ModifyRect(testingRect, 0, 0, -acc, 0), maxvalue); in nonreccheck()
234 if(maxvalue<testingRect.area()) in nonreccheck()
236 maxvalue=testingRect.area(); in nonreccheck()
245 … AddCheckingRects(testRects, ModifyRect(testingRect, acc >> 1, 0, -(acc >> 1), 0), maxvalue); in nonreccheck()
246 … AddCheckingRects(testRects, ModifyRect(testingRect, 0, acc >> 1, 0, -(acc >> 1)), maxvalue); in nonreccheck()
251 if(maxvalue<testingRect.area()) in nonreccheck()
253 maxvalue = testingRect.area(); in nonreccheck()
263 AddCheckingRects(testRects, ModifyRect(testingRect, -acc, 0, 0, 0), maxvalue); in nonreccheck()
264 AddCheckingRects(testRects, ModifyRect(testingRect, 0, 0, acc, 0), maxvalue); in nonreccheck()
265 AddCheckingRects(testRects, ModifyRect(testingRect, 0, -acc, 0, 0), maxvalue); in nonreccheck()
266 AddCheckingRects(testRects, ModifyRect(testingRect, 0, 0, 0, acc), maxvalue); in nonreccheck()
268 … AddCheckingRects(testRects, ModifyRect(testingRect, -2*acc, acc, 0, 0), maxvalue); in nonreccheck()
269 … AddCheckingRects(testRects, ModifyRect(testingRect, -2*acc, 0, 0, -acc), maxvalue); in nonreccheck()
270 … AddCheckingRects(testRects, ModifyRect(testingRect, 0, acc, 2*acc, 0), maxvalue); in nonreccheck()
271 … AddCheckingRects(testRects, ModifyRect(testingRect, 0, 0, 2*acc, -acc), maxvalue); in nonreccheck()
272 … AddCheckingRects(testRects, ModifyRect(testingRect, acc, -2 * acc, 0, 0), maxvalue); in nonreccheck()
273 … AddCheckingRects(testRects, ModifyRect(testingRect, 0, -2*acc, -acc, 0), maxvalue); in nonreccheck()
274 … AddCheckingRects(testRects, ModifyRect(testingRect, acc, 0, 0, 2*acc), maxvalue); in nonreccheck()
275 … AddCheckingRects(testRects, ModifyRect(testingRect, 0, 0, -acc, 2*acc), maxvalue); in nonreccheck()
276 … AddCheckingRects(testRects, ModifyRect(testingRect, -acc, acc, acc, 0), maxvalue); in nonreccheck()
277 … AddCheckingRects(testRects, ModifyRect(testingRect, -acc, 0, acc, -acc), maxvalue); in nonreccheck()
278 … AddCheckingRects(testRects, ModifyRect(testingRect, acc, -acc, 0, acc), maxvalue); in nonreccheck()
279 … AddCheckingRects(testRects, ModifyRect(testingRect, 0, -acc, -acc, acc), maxvalue); in nonreccheck()
280 if(maxvalue<testingRect.area()) in nonreccheck()
282 maxvalue = testingRect.area(); in nonreccheck()
293 long maxvalue=0; in autocrop() local
308 nonreccheck(vigra::Rect2D(vigra::Point2D(), o_optimalSize), acc, 2, maxvalue); in autocrop()
313 if(maxvalue>0) in autocrop()
315 …printf("Inner %d %ld: %d %d - %d %d\n", acc, maxvalue, m_bestRect.left(), m_bestRect.right(), m_be… in autocrop()
321 if(maxvalue==0) in autocrop()
326 nonreccheck(vigra::Rect2D(vigra::Point2D(), o_optimalSize), acc, 1, maxvalue); in autocrop()
331 if (maxvalue>0) in autocrop()
333 …printf("Inner %d %ld: %d %d - %d %d\n", acc, maxvalue, m_bestRect.left(), m_bestRect.right(), m_be… in autocrop()
342 nonreccheck(m_bestRect, acc, 0, maxvalue); in autocrop()