Changeset 2614
- Timestamp:
- 08/01/12 12:10:09 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/GenericEdgeDetector.cpp
r2613 r2614 77 77 name = "elongated" ; 78 78 if ( option.isDefined( name ) ) { 79 elongated_ = !(option.asBool( name )) ;79 elongated_ = option.asBool( name ) ; 80 80 } 81 81 else { … … 372 372 uInt n = 0 ; 373 373 const uInt nx = a.nrow() ; 374 //const uInt ny = a.ncolumn() ;375 374 Vector<uInt> v1, v2 ; 376 375 uInt ix, jx ; … … 379 378 if ( anyNE( v1, n ) ) break ; 380 379 } 381 for ( jx = nx-1 ; jx > ix ; jx ++) {380 for ( jx = nx-1 ; jx > ix ; jx-- ) { 382 381 v2.reference( a.row( jx ) ) ; 383 382 if ( anyNE( v2, n ) ) break ; … … 393 392 { 394 393 uInt n = 0 ; 395 //const uInt nx = a.nrow() ;396 394 const uInt ny = a.ncolumn() ; 397 395 Vector<uInt> v1, v2 ; … … 401 399 if ( anyNE( v1, n ) ) break ; 402 400 } 403 for ( jy = ny-1 ; jy > iy ; jy ++) {401 for ( jy = ny-1 ; jy > iy ; jy-- ) { 404 402 v2.reference( a.column( jy ) ) ; 405 403 if ( anyNE( v2, n ) ) break ;
Note:
See TracChangeset
for help on using the changeset viewer.