The C++ language is a coding convention, it has no feature for image
processing. Search "OpenCV community" in your favorite search engine to find a forum that is related to OpenCV instead.
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP