Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • $\begingroup$ The four margins of image. $\endgroup$ Commented Jan 11, 2018 at 19:10
  • $\begingroup$ Do you have any comments on this? Do you see any errors in the code? I tried to document it so people wouldn't have to rely on reading the code only. Do you see any simple ways to significantly improve performance? Currently, this function is suitable for interactive use, but it is not fast enough to put it in a loop. $\endgroup$ Commented Jan 17, 2018 at 13:18