Watch this Author's files
yes, it is pretty tricky . Usually, we choice R0 between 2 and 4. Acutally, it is related with the size and the content of your images. We have not found a rule yet.
Thanks Song, Can you please elaborate more on the impact of R0 & R1 in your code? changing them have big influence on the performance so any guidelines about them?
Thanks for the code. John says it saved me 1 month worth of for loop work. Awesome!