# Revision history [back]

### SparseMat - better design

Hello. I would very much like to redesign the sparse matrix support in OpenCV. Is anybody else interested, knowledgeable on this issue?

More exactly, I need to support operations such as matrix multiplication, add, etc and they don't look to be supported. Therefore, I believe a better format for efficiency for sparse matrix representation should be CSR/CSC, not DOK (Dictionary of Keys), as it is right now.
Also, I need to use in OpenCV operations on sparse matrices such as warpPerspective, etc which boil down to remap() (http://docs.opencv.org/modules/imgproc/doc/geometric_transformations.html?highlight=remap#remap) .


Thank you, Alex

 2 No.2 Revision StevenPuttemans 20029 ●16 ●82 ●207 http://stevenputtemans...

### SparseMat - better design

Hello. Hello,

I would very much like to redesign the sparse matrix support in OpenCV. Is anybody else interested, knowledgeable on this issue?

More exactly, I need to support operations such as matrix multiplication, add, etc and they don't look to be supported. Therefore, I believe a better format for efficiency for sparse matrix representation should be CSR/CSC, not DOK (Dictionary of Keys), as it is right now.
now. Also, I need to use in OpenCV operations on sparse matrices such as warpPerspective, etc which boil down to remap() (http://docs.opencv.org/modules/imgproc/doc/geometric_transformations.html?highlight=remap#remap) .

.

Thank you, you,

Alex

 3 No.3 Revision StevenPuttemans 20029 ●16 ●82 ●207 http://stevenputtemans...

### SparseMat - better design

Hello,

I would very much like to redesign the sparse matrix support in OpenCV. Is anybody else interested, knowledgeable on this issue?

More exactly, I need to support operations such as matrix multiplication, add, etc and they don't look to be supported. Therefore, I believe a better format for efficiency for sparse matrix representation should be CSR/CSC, not DOK (Dictionary of Keys), as it is right now. Also, I need to use in OpenCV operations on sparse matrices such as warpPerspective, etc which boil down to remap() (http://docs.opencv.org/modules/imgproc/doc/geometric_transformations.html?highlight=remap#remap) remap .

Thank you,

Alex