News for hackers. Stuff that matters.
Re:CT Scan of a Pumpkin by bonyt on Sunday October 31, 2021 @12:08PM (#29057981)
If you download the video and extract the frames (like, with ffmpeg), and load it into 3d Slicer (slicer.org), you can actually get a 3D reconstruction out of it! Out of a youtube video of the slices!

https://i.imgur.com/wmPQvfn.jpg

Re:CT Scan of a Pumpkin by anewlanguage on Sunday October 31, 2021 @02:47PM (#29059282)
I work with large-scale neuroscience imaging, and this is exactly how we compress 3D image stacks (i.e. 3d volumes) captured with confocal microscopes. Since adjacent frames are usually quite similar, there's a ton of redundancy that H.265 can exploit, and the compression ratios are amazing. For multi-channel volumetric imaging, we use ffmpeg to encode each channel as a movie and then combine all the channels into a single HDF5 file.
Re:CT Scan of a Pumpkin by trombonechamp on Sunday October 31, 2021 @05:46PM (#29060758)
Oh wow, this is a great idea. How do you deal with the lossy compression? There must be a lossless codec which uses the redundancy better than deflate?
Re:CT Scan of a Pumpkin by anewlanguage on Sunday October 31, 2021 @06:06PM (#29060912)
This format is meant for visualization in 3d, and even though it's lossy, it's "visually lossless" for humans. We to start with the archived lossless stacks (compressed with bz2) for any reprocessing.

What you're suggesting with a lossless movie codec would be a great addition, we just haven't had the need for it yet.

Re:CT Scan of a Pumpkin by walrus01 on Sunday October 31, 2021 @08:28PM (#29061859)
Have you tried any of the open source AVIF image encoding tools, derived from AV1 video encoders?
Re:CT Scan of a Pumpkin by robocat on Sunday October 31, 2021 @06:00PM (#29060871)
Do you get 3D compression artifacts?

I love the idea that you rotate a spacial dimension into a time dimension, and after decompression you get artifacts from the time dimension visualised in a space dimension again.

Re:CT Scan of a Pumpkin by anewlanguage on Sunday October 31, 2021 @06:21PM (#29061036)
We don't get visible artifacts because we dialed-in the CRF value to our data. But that sounds like a neat experiment to try.
Re:CT Scan of a Pumpkin by andbberger on Sunday October 31, 2021 @03:35PM (#29059681)
FIJI plugin?
Re:CT Scan of a Pumpkin by anewlanguage on Sunday October 31, 2021 @04:28PM (#29060101)
Re:CT Scan of a Pumpkin by andbberger on Monday November 01, 2021 @02:09AM (#29063493)
Ah, I should have guessed, I've done my time on the farm
Re:CT Scan of a Pumpkin by DaftDank on Sunday October 31, 2021 @12:13PM (#29058020)
I wonder if this would work for my hospital CT scans I've had in the last ~5 years. They all come on a CD, with a software program loaded onto it with the scans to view it in. It would be cool to be able to 3d visualize it all
Re:CT Scan of a Pumpkin by Pigalowda on Sunday October 31, 2021 @12:21PM (#29058078)
Don’t go through that much trouble! There’s an easier solution.

You can download free radiology viewers RadiAnt (windows compatible) or Osirix (Mac compatible). Your imaging is in DICOM format probably and you can use Radiant to export all of your slices into .jpg if you want. You can also do 3D reconstructions of soft tissue, bone, lung, etc.

Re:CT Scan of a Pumpkin by dylan604 on Sunday October 31, 2021 @01:17PM (#29058532)
>Don’t go through that much trouble!

You realize this is HN where readers pride themselves on the trouble that can be accomplished in a weekend.

>There’s an easier solution.

But what else is one to do at the weekend?

Re:CT Scan of a Pumpkin by spookthesunset on Sunday October 31, 2021 @01:43PM (#29058749)
Try to turn it into an stl file, slice it and print it :-)
Re:CT Scan of a Pumpkin by dylan604 on Sunday October 31, 2021 @02:39PM (#29059218)
Do this with a couple of "perfect" pumpkin shapes. Create a way to 3D print these as a mold to make your own "pumpkins" to be carved without all of the mess and able to last longer through the season. No more petroleum jelly, no more soaking them in the tub.
Re:CT Scan of a Pumpkin by idiotsecant on Sunday October 31, 2021 @03:25PM (#29059595)
>No more petroleum jelly, no more soaking them in the tub.

What. I feel like I am missing out on a whole field of pumpkin science here that I was unaware of.

Re:CT Scan of a Pumpkin by dylan604 on Sunday October 31, 2021 @03:41PM (#29059733)
It's a plant. Think of it as a cut flower. After cutting open a pumpkin, they are obviously no longer sealed. They start to dry out. You can rub petroleum jelly all over the carved sides to help slow down the drying out. You can also soak them in the tub, and they will pull in some of the water to help them come back into shape.

There's all sort of things you can do to prolong things once they've been cut/carved/etc. My mom was a florist and designer. I've been in/around productions requiring things to be preserved so items can be kept around as long as possible. You just kind of pick up a thing or two

Re:CT Scan of a Pumpkin by Turing_Machine on Sunday October 31, 2021 @05:11PM (#29060481)
There are also various chemical solutions that you can put on the pumpkin to make it last longer. However those are not recommended if wildlife is around. Moose, in particular, love pumpkins. I suspect deer are the same.
Re:CT Scan of a Pumpkin by dylan604 on Sunday October 31, 2021 @05:24PM (#29060592)
Sure the deer, but I don't want that stuff around me. Better living through chemistry is something I'm trying to avoid now that I can make my own choices about what goes in, on, or around me.
Re:CT Scan of a Pumpkin by jmkb on Sunday October 31, 2021 @04:07PM (#29059937)
personally I'm looking forward to "this gourd does not exist"
Re:CT Scan of a Pumpkin by wtallis on Sunday October 31, 2021 @01:21PM (#29058568)
The program in question (3D Slicer) is also one of those easier solutions. It can load DICOM files directly.
Re:CT Scan of a Pumpkin by lostlogin on Sunday October 31, 2021 @01:08PM (#29058444)
Horos (Mac) is another - I think it’s the freeware version of Osirix.

You can find InteleViewer if you hunt about as well (Mac and PC).

Re:CT Scan of a Pumpkin by QuercusMax on Monday November 01, 2021 @01:04AM (#29063169)
You can get aeskulap on Linux. It's not anything that would be usable by a radiologist, but I've used it on occasion to look at some images.
Re:CT Scan of a Pumpkin by manucorporat on Sunday October 31, 2021 @12:39PM (#29058218)
We have been working on an open source tech that works in the browser and render 3D CTs and MRIs without installing any software, check it out:

https://openview.health

Re:CT Scan of a Pumpkin by roywiggins on Monday November 01, 2021 @12:13AM (#29062932)
fyi you've misspelled "HIPAA" on that page
Re:CT Scan of a Pumpkin by sleepy_keita on Sunday October 31, 2021 @07:09PM (#29061379)
That is really nice. Thanks for sharing!
Re:CT Scan of a Pumpkin by DaftDank on Tuesday November 02, 2021 @11:56AM (#29083108)
Cool, thanks for the link.
Re:CT Scan of a Pumpkin by nick__m on Sunday October 31, 2021 @02:17PM (#29059028)
When my wife when through invasive breast cancer some years ago¹, I got started with RadiAnt because it's easy to construct a nice looking3d reconstruction, but I quickly hit a ceiling what I was able to accomplish.

With slicer I was able to produced compelling pictures to highlight the objects of interest by using custom color scales and transparency. For fun I also followed some tutorial on bone segregation for 3d printing, something that is clearly beyond the reach of RadiAnt.

Still, I would recommend to learn the basics in RadiAnt by trying to see what is in the written radiologist report². You will have to learn quite a bit of arcane terminology but I found that process quite rewarding and strangely empowering.

1- 3 years after her last treatment she is still cancer free, I hope it stays that way...

2- Ask for a copy of the report when you get the DICOM DVD. If the scan was taken at a hospital they will probably redirect you to the medical archives and it assuredly won't be ready when you get the DVD but they can mail it to you.

Re:CT Scan of a Pumpkin by BadInformatics on Sunday October 31, 2021 @05:37PM (#29060704)
You're in luck, because (assuming the scans are in a compatible format), this is exactly what 3D Slicer was designed for.
Re:CT Scan of a Pumpkin by hprotagonist on Sunday October 31, 2021 @12:23PM (#29058089)
there are many DICOM viewers available, ranging from the fairly horrible plugins for imageJ to very sophisticated things with maya or COMSOL or whatnot.

OSIRX is often very good, though not free.

Re:CT Scan of a Pumpkin by azalemeth on Sunday October 31, 2021 @12:27PM (#29058126)
Horos is the FOSS version of Osirix and based on the same original codebase, which lives on Github – c.f. https://horosproject.org/download-horos/
Re:CT Scan of a Pumpkin by xvilka on Sunday October 31, 2021 @12:33PM (#29058166)
Sadly, it's MacOS-only. Would be nice to have something Qt or GTK-based.
Re:CT Scan of a Pumpkin by wazoox on Sunday October 31, 2021 @01:23PM (#29058586)
There are many free DICOM viewer in the Ubuntu/Debian/Pop_OS repositories. I don't remember which one I used, but at least some of them allow to visit your organs in 3D :)
Re:CT Scan of a Pumpkin by figomore on Sunday October 31, 2021 @02:51PM (#29059311)
I recommend InVesalius. It’s in Flathub (https://flathub.org/apps/details/br.gov.cti.invesalius)