I am using iterator to go through the list std::list<cv::Mat>.
Terminal gives me erros as following:
error: conversion from 'std::list<cv::Mat>::iterator {aka std::_List_iterator<cv::Mat>}' to non-scalar type 'std::list<cv::Mat*>::iterator {aka std::_List_iterator<cv::Mat*>}' requested for(std::list<cv::Mat*>::iterator it=obj_rois.begin(); it != obj_rois.end(); ++it)
^