Advertisement
Guest User

Untitled

a guest
Apr 24th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. #include <stdio.h>
  2. #include "captcha.h"
  3.  
  4. void vert_ray1(int pixels[height][width], int *start_row, int *start_column, int *box_height, int *box_width){
  5. for(int row = *box_height - 1; row >= 0; row++){
  6. for(int column = 0; column < width; column++){
  7. if(pixels[row][column] == 0 && pixels[row][column + 1] == 0){
  8. pixels[row][column] == 2;
  9. }else if(pixels[row][column] == 0 && pixels[row][column + 1] == 1){
  10. break;
  11. }
  12. }
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement