— actually everything was OK. You don't need to pass masked image to calcHist mask parameter. You can just pass white circle instead, as you did first time. You can compare both histogram plots and make sure, they are identical. It worked because cats-in-a-circle image is identical to white circle in bitwise operations (if those cats have no zero valued pixels in the circle region)(02:08:26 - 03:41:42)
OpenCV Course - Full Tutorial with Python
freeCodeCamp.org
※本サイトに掲載されているチャンネル情報や動画情報はYouTube公式のAPIを使って取得・表示しています。
Timetable
動画タイムテーブル
動画数:1634件