Hi i have 3D MRI scans and i wanted to use your code because when i use it slice by slice the clusters are each attributed a different color in each slice ( because of the np.argmax) and so i wanted to treat at least 3 slices each time.
I attempted changing the code but always have a problem with reshape of self.U .
If you can tell me exactly what changes to me i would highly appreciate it.
Thanks
Hi i have 3D MRI scans and i wanted to use your code because when i use it slice by slice the clusters are each attributed a different color in each slice ( because of the np.argmax) and so i wanted to treat at least 3 slices each time.
I attempted changing the code but always have a problem with reshape of self.U .
If you can tell me exactly what changes to me i would highly appreciate it.
Thanks