Home | History | Annotate | Download | only in src

Lines Matching refs:tilted

50                                  sumtype* tilted, int tiltedstep,\
71 if( tilted ) \
73 memset( tilted, 0, (size.width+1)*sizeof(tilted[0])); \
74 tiltedstep /= sizeof(tilted[0]); \
75 tilted += tiltedstep + 1; \
78 if( sqsum == 0 && tilted == 0 ) \
92 else if( tilted == 0 ) \
123 sum[-1] = tilted[-1] = 0; \
131 buf[x] = tilted[x] = t; \
150 tilted += tiltedstep; \
158 /*tilted[-1] = buf[0];*/ \
159 tilted[-1] = tilted[-tiltedstep]; \
163 tilted[0] = tilted[-tiltedstep] + t0 + buf[1]; \
176 t1 += buf[x+1] + t0 + tilted[x - tiltedstep - 1];\
177 tilted[x] = t1; \
191 tilted[x] = t0 + t1 + tilted[x - tiltedstep - 1];\
300 void* sqsum, int sqsumstep, void* tilted, int tiltedstep,
324 CvMat tilted_stub, *tilted = (CvMat*)tiltedSumImage;
364 if( tilted )
368 "Squared sum array must be passed if tilted sum array is passed" );
370 CV_CALL( tilted = cvGetMat( tilted, &tilted_stub, &coi3 ));
371 if( !CV_ARE_SIZES_EQ( sum, tilted ) )
373 if( !CV_ARE_TYPES_EQ( sum, tilted ) )
375 "Sum and tilted sum must have the same types" );
376 if( CV_MAT_CN(tilted->type) != 1 )
378 "Tilted sum can not be computed for multi-channel arrays" );
404 tilted_step = !tilted ? 0 : tilted->step ? tilted->step : CV_STUB_STEP;
408 if( depth == CV_8U && !tilted && CV_MAT_DEPTH(sum->type) == CV_32S )
423 tilted ? tilted->data.ptr : 0, tilted_step, size ));