Such a sparse array can store elements of any type that mat can store. It is up to you to detect such elements and delete them using sparsemat erase. Generated on wed sep 30 2020 07 09 29 for opencv by.