Live data from Hacker News

Show HN: Streaming gigabyte medical images from S3 without downloading them

github.com

41–50 of 51 posts

Re: Show HN: Streaming gigabyte medical images from S3 without downloading them

#41

Please don’t use AWS S3 there’s vast numbers of much cheaper compatible choices.

Pretty bold half claim while not backing it up with a single data point. :D

Especially when you have to account HIPAA/GDPR/legalese, and some serious SecOps behind that.

Re: Show HN: Streaming gigabyte medical images from S3 without downloading them

#42
I did something similar once for a mining technique called “core logging”. It’s a single photo about 1000 pixels wide and several million “deep”: what the earth looks like for a few km down.

Existing solutions are all complicated and clunky, I put something together with S3 and bastardised CoGeoTIFF, instant view of any part of the image.

Wish I knew how to commercialise it…

Re: Show HN: Streaming gigabyte medical images from S3 without downloading them

#43

I did something similar once for a mining technique called “core logging”. It’s a single photo about 1000 pixels wide and several million “deep”: what the earth looks like for a few km down. Existing solutions are all complicated and clunky, I put something together with S3 and bastardised CoGeoTIFF, instant view of any part of the image. Wish I knew how to commercialise it…

I'm curious about the "core logging" photo. Where can I find one? Do you have an implementation of your solution? I would be curious to have a look at it.

Re: Show HN: Streaming gigabyte medical images from S3 without downloading them

#44
post #43

I did something similar once for a mining technique called “core logging”. It’s a single photo about 1000 pixels wide and several million “deep”: what the earth looks like for a few km down. Existing solutions are all complicated and clunky, I put something together with S3 and bastardised CoGeoTIFF, instant view of any part of the image. Wish I knew how to commercialise it…

I'm curious about the "core logging" photo. Where can I find one? Do you have an implementation of your solution? I would be curious to have a look at it.

@carderne I think el_pa_b has an idea on how to commercialize it.

In all seriousness, how is it not useful for gold mining or phracking?

Re: Show HN: Streaming gigabyte medical images from S3 without downloading them

#45

The generalized form of this range-request-based streaming approach looks something like my project VirtualiZarr [0]. Many of these scientific file formats (HDF5, netCDF, TIFF/COG, FITS, GRIB, JPEG and more) are essentially just contiguous multidimensional array(/"tensor") chunks embedded alongside metadata about what's in the chunks. Efficiently fetching these from object storage is just about efficiently fetching t…

> Many of these scientific file formats (HDF5, netCDF, TIFF/COG, FITS, GRIB, JPEG and more) are essentially just contiguous multidimensional array(/"tensor") chunks

Yeah, a recurring thought is that these should condense into Apache Arrow queried by DuckDB but there must be some reason for this not to have already happened.

Re: Show HN: Streaming gigabyte medical images from S3 without downloading them

#46

This is really a job for JPEG-XL, which supports decode of portions of larger images and has recently been added to the DICOM standard.

No. Jpg conpression sucks. Medical data should not be compressed loosely. PNG and TIFF for the win

Yes i am referring to lossless compression, and JPEG-XL also supports progressive lossless decoding. It also supports the 12 and 16-bit colour depths required for CT and DR.

Re: Show HN: Streaming gigabyte medical images from S3 without downloading them

#47
post #21

Please don’t use AWS S3 there’s vast numbers of much cheaper compatible choices.

I guess by "compatible" you mean the data plane. There are choices that speak the S3 data plane API (GetObject, ListBucket, etc). There are no alternatives that support most of the AWS S3 functionality such as replication, event notifications.

None? I've seen a few projects that purport to be a drop-in replacement for S3.

Re: Show HN: Streaming gigabyte medical images from S3 without downloading them

#48

I did something similar once for a mining technique called “core logging”. It’s a single photo about 1000 pixels wide and several million “deep”: what the earth looks like for a few km down. Existing solutions are all complicated and clunky, I put something together with S3 and bastardised CoGeoTIFF, instant view of any part of the image. Wish I knew how to commercialise it…

Of course you could commercialize it!

You've already done the "building v1" part, and have started to do the "talking about it" part.

Next step is to write up how one could use it, how it is better than the alternatives, and put it up on a website.

I'm happy to chat about it if you like. My email is in my profile.

Once you have real users, they will pull the v2 out of you, and that will be what you'll sell.

What I've written above sounds like a business proposition, but I want to clarify that I'm just offering to share what I know for free :-)

Re: Show HN: Streaming gigabyte medical images from S3 without downloading them

#49
post #6
post #5

Interesting - I'm not so familiar with S3 but I wonder if this would work for WSI stored on-premises. Imposing lower network requirememts and a lightweight web viewer is very advantageous in this use case. I'll have to try it out!

When WSI are stored on-premise, they are typically stored on hard drives with a filesystem. If you have a filesystem, you can use OpenSlide, and use a viewer like OpenSeaDragon to visualize the slide. WSIStreamer is relevant for storage systems without a filesystem. In this case, OpenSlide cannot work (it needs to seek and open the file).

Then mount the s3 filesystem. It's slow though. But good if have tools to filter them properly.

Re: Show HN: Streaming gigabyte medical images from S3 without downloading them

#50
post #43

I did something similar once for a mining technique called “core logging”. It’s a single photo about 1000 pixels wide and several million “deep”: what the earth looks like for a few km down. Existing solutions are all complicated and clunky, I put something together with S3 and bastardised CoGeoTIFF, instant view of any part of the image. Wish I knew how to commercialise it…

I'm curious about the "core logging" photo. Where can I find one? Do you have an implementation of your solution? I would be curious to have a look at it.

Might not be possible to find any, they’re expensive and niche. If you reach out (email in profile) I can show/share how it works (nothing currently public).
Post reply on HN