View Single Post
Old 9th August 2015, 14:03   #16  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,352
Thanks, you reposted my script? didn't change anything?

Why letterbox? PadInwards is only a crop() and addborders() line.

I added another check to avoid evaluating borders of 4 pixels for every frame, I will keep updating in its original thread.
Code:
FalPos = FalPos ? ((x1-pad > 2 || x2-pad > 2 || y1-pad > 2 || y2-pad > 2 )
              \ ? ((AverageLuma(L4) < thr2) || (AverageLuma(R4) < thr2) || (AverageLuma(T4) < thr2) || (AverageLuma(B4) < thr2)
              \ ? true : false) : false) : false
Dogway is offline   Reply With Quote