1 | initial version |
if you can make a mask-image of that "special roi", it's all easy.
a lot og opencv image ops take binary masks (to reduce the procssed pixels),
you can even use them directly:
i.e Mat mask_out = gray_image & mask
would leave only the pixels from gray, where mask was non-null
2 | No.2 Revision |
if you can make a mask-image of that "special roi", it's all easy.
a lot og easy.
many opencv image ops take binary masks (to reduce the procssed pixels),
pixels),
you can even use them directly:
directly:
i.e Mat mask_out = gray_image & mask
would leave only the pixels from gray, where mask was non-null
3 | No.3 Revision |
if you can make a mask-image of that "special roi", it's all easy.
many opencv image ops take binary masks (to reduce the procssed processed pixels),
you can even use them directly:directly, i.e :
i.e
Mat mask_out = gray_image & maskmask