Automatic ROI search algorithm
==============================

Image is a three-dimensional matrix
