<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Jason,<div class=""><br class=""></div><div class=""> I developed the DICOM file reading in ChimeraX and Elaine shared with me the 1000 dicom images you sent her. ChimeraX does not understand that this is 25 3D stacks each 40 planes. Probably that data is in the DICOM files and we are just not handling the case of a 3D time series provided all as 2D slices -- maybe we only handle when each time point 3D stack is in a single DICOM file. It opens it as a single 3D image of all 1000 planes. It would take more study to figure out what ChimeraX accepts. The DICOM standard is many thousands of pages so we only handle a very limited subset so far. But we are trying to expand what it can handle.</div><div class=""><br class=""></div><div class=""> I made a movie of your data, but as Elaine suggested it was tedious to setup. First I split the 1000 files into 25 directories, 40 2-D images per directory, then I opened them with ChimeraX File / Open DICOM Folder. Then I could play through them with the ChimeraX mseries command. I could show full 3D volume rendering or planes or a thin slab. The thin slab seemed the best view. ChimeraX somehow extract a weird rotation matrix from the files that broke the orthoplanes display so I set the 25 3D images to have no rotation. I saved all the images in one Chimera map file (suffix .cmap) -- this reads in a lot faster. Below is an image of what it looked like. I recorded a movie but I'll send that separately to you in case you don't want others to see it.</div><div class=""><br class=""></div><div class=""> ChimeraX is not ready to easily handle this DICOM time series data. But we will look into improving it using your example file as a (private) test if that is ok. We'd love to have a collaborator who can give us directions on what you want to see and give us example data. We are specifically interested in virtual reality visualization of DICOM data in collaboration with NIAID.</div><div class=""><br class=""></div><div class=""> I wrote a Python script to split your 1000 dicom files into 25 directories and another to zero all the rotation matrices, and those scripts can be found on a ChimeraX enhancement request I made</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span><a href="https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/6255" class="">https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/6255</a></div><div class=""><br class=""></div><div class=""> Tom</div><div class=""><br class=""></div><div class=""><img apple-inline="yes" id="F8CD19FB-B3CB-487E-8C70-704F4728D45F" width="423" height="531" src="cid:224AC96E-7F9B-433A-B6AB-AE0AA93B9F1E" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Feb 25, 2022, at 2:35 PM, Elaine Meng via ChimeraX-users <<a href="mailto:chimerax-users@cgl.ucsf.ed" class="">chimerax-users@cgl.ucsf.ed</a>ote:</div></blockquote><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><div class="">Hi Jason,<br class="">Well, I didn't get too far. Gory details:<br class=""><br class="">- simply renaming the .dcm files to an image filename suffix like .tif did not work, as the files are still somehow marked as DICOM. They are binary (not human-readable in text editor) so beyond my skill set to understand their contents. <br class=""><br class="">- our DICOM reader requires specifying the whole folder, and does not allow only reading a subset of files in the folder. So I tried putting images 1-40 in one folder and a 41-80 in another folder, as a small test. I could open each folder in turn which gives two volumes open in ChimeraX, corresponding to the first 2 time steps. Each looks correct when shown as "plane" or "box" in Volume Viewer, although the orthoplanes outlines still look skewed and somehow wrong.<br class=""><br class="">- unfortunately volume models can't be grouped into a series after the fact. Instead one has to specify multiple volume data files as a series when they are opened. So I can imagine a very tedious workflow in which each timestep is a separate DICOM folder containing 40 planes. You would open each folder, then save a volume data file in some other format. Eventually you'd have 25 volume data files which you could then open en masse with "open" and the "vseries true" option.<br class=""><br class="">Now I'm not suggesting any of the above is actually feasible for any normal human being to do... it is just the only workflow I can think of currently that might possibly work given current limitations of ChimeraX. <br class=""><br class="">Another limitation may be the information in the data itself. We do have at least a couple of DICOM examples containing time series that do open correctly as time series. It may be that your files do not have the metadata needed to specify that they comprise a time series, or if they do, it is in a different way than ChimeraX expects.<br class=""><br class="">The working examples we have of DICOM time series are:<br class=""><br class="">(1) Mouse-Astrocytoma collection, patient ID TVD_GBM_IC1_070610_16_100110, study date 2010-10-01<br class=""><<a href="https://wiki.cancerimagingarchive.net/display/Public/Mouse-Astrocytoma" class="">https://wiki.cancerimagingarchive.net/display/Public/Mouse-Astrocytoma</a>"><br class=""><br class="">(2) time series example on 3D slicer wiki<br class=""><<a href="https://wiki.slicer.org/slicerWiki/images/c/c2/DCE_series.zip" class="">https://wiki.slicer.org/slicerWiki/images/c/c2/DCE_series.zip</a>><br class=""><br class="">I'm not sure whether there is enough info in your files that we could make ChimeraX recognize them as 25 stacks of 40 planes each rather than one big stack. However, it is very useful that you reported these issues so that we can try to make the DICOM reader better able to handle more situations, if possible. If we make progress on that, will let you know.<br class=""><br class="">In the meanwhile, apologies for the limitations!!<br class="">Best,<br class="">Elaine<br class="">-----<br class="">Elaine C. Meng, Ph.D. <br class="">UCSF Chimera(X) team<br class="">Department of Pharmaceutical Chemistry<br class="">University of California, San Francisco<br class=""><br class=""><br class=""><br class=""><br class=""><blockquote type="cite" class="">On Feb 25, 2022, at 1:18 PM, Rubenstein, Jason via ChimeraX-users <<a href="mailto:chimerax-users@cgl.ucsf.edu" class="">chimerax-users@cgl.ucsf.edu</a>> wrote:<br class=""><br class="">Thanks for looking into it. I did export it as anonymous so hopefully no PHI in the dicom headers.<br class=""><br class=""><br class="">Jason Rubenstein, M.D., F.A.C.C., F.H.R.S.<br class="">Vice Chief, Electrophysiology <br class="">Codirector, Cardiac MRI<br class="">Associate Professor, Medical College of Wisconsin<br class="">Office: 414-955-6777<br class=""><br class="">From: Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu" class="">meng@cgl.ucsf.edu</a>><br class="">Sent: Friday, February 25, 2022 3:07 PM<br class="">To: Rubenstein, Jason <<a href="mailto:jrubenstein@mcw.edu" class="">jrubenstein@mcw.edu</a>><br class="">Cc: <a href="mailto:chimerax-users@cgl.ucsf.edu" class="">chimerax-users@cgl.ucsf.edu</a> <<a href="mailto:chimerax-users@cgl.ucsf.edu" class="">chimerax-users@cgl.ucsf.edu</a>><br class="">Subject: Re: [chimerax-users] Stack thickness question and cine playing?<br class=""><br class="">ATTENTION: This email originated from a sender outside of MCW. Use caution when clicking on links or opening attachments.<br class="">________________________________<br class=""><br class="">Hi Jason,<br class="">Ah, I hadn't realized from the initial question that this was DICOM data, although of course it makes sense given your area of research. There are likely some ChimeraX bugs and misinterpretations reading in the data, as the DICOM functionality has not been as thoroughly exercised as features for working with atomic density maps.<br class=""><br class="">So I see 1000 planes, and I think they are just all getting put into one big stack instead of 25 separate stacks (time points). If so, it might be fixable by changing all the filenames so that they reflect time point, and end in image file suffix (e.g. .tif if that's what the DICOMs contain)... but I would have to investigate further and get back to you. Maybe there is metadata in each of the .dcm files that marks the different time points and slice numbers, and if so, it would be nice to improve our DICOM reader to understand this so that renaming would not be required.<br class=""><br class="">I still don't know why the orthoplanes axes don't seem aligned, however. ChimeraX may just be confused about this data.<br class=""><br class="">I will share internally with a few experts on our team with the understanding that this data should remain private, and we will get back to you with any solutions we find.<br class=""><br class="">Sorry about the difficulties -<br class="">Elaine<br class=""><br class=""><blockquote type="cite" class="">On Feb 25, 2022, at 10:50 AM, Elaine Meng via ChimeraX-users <<a href="mailto:chimerax-users@cgl.ucsf.edu" class="">chimerax-users@cgl.ucsf.edu</a>> wrote:<br class=""><br class="">Hi Jason!<br class=""><br class="">With (1), I'm not sure what is happening... from the orthoplanes image you sent, one guess is that the 3 axes of the data are not along X,Y,Z and so a larger XYZ box is shown. Or maybe the slices are placed too far apart, which may be defined (or misinterpreted from) the input files. Or if you simply meant that the scale of the data is wrong, that can be reset with the "volume" command "voxelSize" option.<br class=""><br class="">I understand that this may be private data, but if there is example data you can share, it would help in defining and possibly solving this problem. You could send it to just me rather than chimerax-users if that helps.<br class=""><br class="">(2) If the data are recognized as a volume series, then the series can be played with a slider or the "vseries" command. What kinds of data can be recognized and how to specify that are described here:<br class=""><<a href="https://urldefense.com/v3/__https://rbvi.ucsf.edu/chimerax/docs/user/trajectories.html__;!!H8mHWRdzp34!s0-lHURJ9t1XwqkJL13HezYzErSctPMhHjQSds6R4BaEHrGoEjJ5LLeFag45_rn7hA$" class="">https://urldefense.com/v3/__https://rbvi.ucsf.edu/chimerax/docs/user/trajectories.html__;!!H8mHWRdzp34!s0-lHURJ9t1XwqkJL13HezYzErSctPMhHjQSds6R4BaEHrGoEjJ5LLeFag45_rn7hA$</a> ><br class=""><br class="">I hope this helps,<br class="">Elaine<br class="">-----<br class="">Elaine C. Meng, Ph.D.<br class="">UCSF Chimera(X) team<br class="">Department of Pharmaceutical Chemistry<br class="">University of California, San Francisco<br class=""><br class=""><blockquote type="cite" class="">On Feb 25, 2022, at 9:16 AM, Rubenstein, Jason via ChimeraX-users <<a href="mailto:chimerax-users@cgl.ucsf.edu" class="">chimerax-users@cgl.ucsf.edu</a>> wrote:<br class=""><br class=""><br class="">Hi! Two questions:<br class=""><br class=""> • This 3D dataset is only about 30 mm thick in the Z direction. When ChimeraX is displaying it, it shows the thickness about 50x too thick. Any way to adjust this?<br class=""><image.png><br class=""><br class=""> • this is a "4D" dataset, with 20 phases of 3D stacks. Any way to "play" the cine?<br class="">Thanks!<br class=""><br class="">Jason Rubenstein, M.D.<br class="">Codirector, Cardiac MRI<br class="">Associate Professor, Medical College of Wisconsin<br class=""></blockquote><br class=""></blockquote><br class="">_______________________________________________<br class="">ChimeraX-users mailing list<br class=""><a href="mailto:ChimeraX-users@cgl.ucsf.edu" class="">ChimeraX-users@cgl.ucsf.edu</a><br class="">Manage subscription:<br class="">https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users<br class=""></blockquote><br class=""><br class="">_______________________________________________<br class="">ChimeraX-users mailing list<br class=""><a href="mailto:ChimeraX-users@cgl.ucsf.edu" class="">ChimeraX-users@cgl.ucsf.edu</a><br class="">Manage subscription:<br class="">https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users<br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>