Bot's Silly Tools

Sometime I make some silly-stupid things--kill a fly with a missile--and I think "well perhaps some people might find it useful too". So, why don't I just share it! This page is dedicated to those silly-stupid stuff.

Remove white border from images

When you add figures in your publication, you may need to remove the white border (probably generated by MATLAB) in order to save your valuable space. If there are a lot of them, it would be super tedious to crop images manually one by one. Yes, this happens to me, and I feel sick about it. So, I develop MATLAB code to remove the borders automatically, smartly and yet controllably. The document is available here too.