SHARE
TWEET

More QB Pseudocode

a guest Nov 24th, 2015 12 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top