Advertisement
Guest User

More QB Pseudocode

a guest
Nov 24th, 2015
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. flag = False
  2. while col < lastcol:
  3. if col contains pixel:
  4. if flag = False
  5. flag = True
  6. start = col
  7. if col doesn't contain pixel:
  8. if flag = True
  9. flag = False
  10. end = col
  11. for r in range(rows)
  12. write to output pixels - start to end plus padding
  13. col += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement