Compute co-occurrence matrix from DICOM

Hello friends, I want to know how we can extract the matrices themselves from our DICOM. for example, I want to have a Co-occurrence matrix . to produce new features from this matrix. how can I extract the matrix?

To clarify: do you want to get matrices that are stored in DICOM tags?

If you use C++ there are examples for this in the SlicerRT extension code. Otherwise I think you can use pydicom.

yes. I want matrices, I do not have experience with c++ . I will try pydicom . thanks too much

‫‪Csaba Pinter via 3D Slicer Community‬‏ <‪notifications@slicer.discoursemail.com‬‏> در تاریخ دوشنبه ۳ ژوئن ۲۰۲۴ ساعت ۴:۴۸ نوشت:‬