Image is pulled out of bins for analysis. It crashes with four bins and is in opencv