Solved by pejibaye in post #3 
              
              
                Hej Thomas, 
Thanks for the answer. I have identified the issue and I have close it. You can view the complete answer here: 
 
 
It is true that is BGR even if I use  cv::IMREAD_UNCHANGED