just open the picture in a photo editor and erase the center part. give it transparency. then use imread
with IMREAD_UNCHANGED
to obtain the alpha channel. you can use that alpha channel then.
just open the picture in a photo editor and erase the center part. give it transparency. then use imread
with IMREAD_UNCHANGED
to obtain the alpha channel. you can use that alpha channel then.