Re: [go-nuts] Golang JPEG2000 implementation / Gauging community interest in supporting it?

2021-11-05 Thread Adam Koszek
We're trying to do the same - when we encounter a JPEG2000 encoded
file, we convert it. Yet we don't want to keep a converted copy
because often people want to see the data in the original form.

So right now we got a commercial DICOM codec with the capability of
reading / compressing JPEG2000 DICOMs, but it's a hack. We're fork a
process and read converted bytes from STDIN.

Go implementation would be much, much nicer.


On Fri, Nov 5, 2021 at 3:43 AM Nick  wrote:
>
> Hi Wojciech,
>
> Quoth Adam Koszek:
> > I know it's rather a rare format, yet it's "the standard". I wonder if there
> > are any other users interested in getting JPEG 2000 supported natively in 
> > Go?
> > Or maybe someone out there has its implementation written, and would need 
> > hand
> > open-sourcing it?
> >
> > I was thinking that maybe there are companies that would benefit from it, 
> > and
> > we could co-sponsor someone to whip a nice implementation for us. We could
> > probably help with organizing this, pitch in some $$$ too, and manage the 
> > work.
> > In case you're a domain expert in search of a cool project, feel free to 
> > reply
> > to this post.
>
> Yeah, in my work on OCR of historical books for rescribe.xyz we come
> across JPEG 2000 scans every so often, and having native support in
> Go for it would potentially be handy. That said, massive lossless
> images are not useful for the use case anyway, so at the moment just
> converting them to regular JPEGs using ImageMagick before processing
> works just fine.
>
> So consider me an interested party, but not to the extent of being
> able to offer much in the way of developer time to the endeavour.
> Cheerleading and testing, though, that much I can happily offer :)
>
> Nick
>
> --
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/YYUKu/V5p4pHZKiy%40hammerhead.lan.



--
W. Adam Koszek
CTO and Cofounder, Segmed Inc.
wkos...@segmed.ai

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAGPJeP_MYDRvSww0aLLfRsppA7uXdisJv6SKUe0ueE8zkLNA9A%40mail.gmail.com.


Re: [go-nuts] Golang JPEG2000 implementation / Gauging community interest in supporting it?

2021-11-05 Thread Robert Engels
There are several open source Java encoder/decoder libraries. These can be 
translated pretty easily to Go. 

> On Nov 5, 2021, at 3:19 PM, 'Dan Kortschak' via golang-nuts 
>  wrote:
> 
> On Wed, 2021-11-03 at 18:50 -0700, Adam Koszek wrote:
>> Hello,
>> 
>> We (Segmed.ai) are processing a lot of medical imaging data. It comes
>> to us in the form of PNG/JPG/DICOM files. 90% of it is uncompressed
>> or using a normal JPEG encoding, but around ~7% of it is encoded with
>> lossless JPEG 2000 format.
>> 
>> We use Suyash Kumar's library: https://github.com/suyashkumar/dicom
>> which depends on the Golang "image/jpeg" library. We'd love to get 
>> "image/jpeg" to support JPEG 2000 lossless encoding format.
>> 
>> I know it's rather a rare format, yet it's "the standard". I wonder
>> if there are any other users interested in getting JPEG 2000
>> supported natively in Go? Or maybe someone out there has its
>> implementation written, and would need hand open-sourcing it?
>> 
>> I was thinking that maybe there are companies that would benefit from
>> it, and we could co-sponsor someone to whip a nice implementation for
>> us. We could probably help with organizing this, pitch in some $$$
>> too, and manage the work. In case you're a domain expert in search of
>> a cool project, feel free to reply to this post.
>> 
>> Thanks,
>> 
>> Wojciech Adam Koszek
>> 
> 
> 
> Part of the issue here is the availability of the spec. The ITU are
> unpleasantly closed (at least for free copies) with spec documents
> which reduces the likelihood of open source project implementations.
> 
> (Not putting myself forward in the case that a spec is provided).
> 
> Dan
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/69f9b44981f8fd9134d9e1ceb3e19f4a6486b75d.camel%40kortschak.io.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/DB5DC230-8336-4C5E-AD76-C50797A826B0%40ix.netcom.com.


Re: [go-nuts] Golang JPEG2000 implementation / Gauging community interest in supporting it?

2021-11-05 Thread 'Dan Kortschak' via golang-nuts
On Wed, 2021-11-03 at 18:50 -0700, Adam Koszek wrote:
> Hello,
>
> We (Segmed.ai) are processing a lot of medical imaging data. It comes
> to us in the form of PNG/JPG/DICOM files. 90% of it is uncompressed
> or using a normal JPEG encoding, but around ~7% of it is encoded with
> lossless JPEG 2000 format.
>
> We use Suyash Kumar's library: https://github.com/suyashkumar/dicom
> which depends on the Golang "image/jpeg" library. We'd love to get 
> "image/jpeg" to support JPEG 2000 lossless encoding format.
>
> I know it's rather a rare format, yet it's "the standard". I wonder
> if there are any other users interested in getting JPEG 2000
> supported natively in Go? Or maybe someone out there has its
> implementation written, and would need hand open-sourcing it?
>
> I was thinking that maybe there are companies that would benefit from
> it, and we could co-sponsor someone to whip a nice implementation for
> us. We could probably help with organizing this, pitch in some $$$
> too, and manage the work. In case you're a domain expert in search of
> a cool project, feel free to reply to this post.
>
> Thanks,
>
> Wojciech Adam Koszek
>


Part of the issue here is the availability of the spec. The ITU are
unpleasantly closed (at least for free copies) with spec documents
which reduces the likelihood of open source project implementations.

(Not putting myself forward in the case that a spec is provided).

Dan


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/69f9b44981f8fd9134d9e1ceb3e19f4a6486b75d.camel%40kortschak.io.


Re: [go-nuts] Golang JPEG2000 implementation / Gauging community interest in supporting it?

2021-11-05 Thread Nick
Hi Wojciech,

Quoth Adam Koszek:
> I know it's rather a rare format, yet it's "the standard". I wonder if there
> are any other users interested in getting JPEG 2000 supported natively in Go?
> Or maybe someone out there has its implementation written, and would need hand
> open-sourcing it?
> 
> I was thinking that maybe there are companies that would benefit from it, and
> we could co-sponsor someone to whip a nice implementation for us. We could
> probably help with organizing this, pitch in some $$$ too, and manage the 
> work.
> In case you're a domain expert in search of a cool project, feel free to reply
> to this post.

Yeah, in my work on OCR of historical books for rescribe.xyz we come 
across JPEG 2000 scans every so often, and having native support in 
Go for it would potentially be handy. That said, massive lossless 
images are not useful for the use case anyway, so at the moment just 
converting them to regular JPEGs using ImageMagick before processing 
works just fine.

So consider me an interested party, but not to the extent of being 
able to offer much in the way of developer time to the endeavour.  
Cheerleading and testing, though, that much I can happily offer :)

Nick

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/YYUKu/V5p4pHZKiy%40hammerhead.lan.


[go-nuts] Golang JPEG2000 implementation / Gauging community interest in supporting it?

2021-11-04 Thread Adam Koszek
Hello,

We (Segmed.ai) are processing a lot of medical imaging data. It comes to us 
in the form of PNG/JPG/DICOM files. 90% of it is uncompressed or using a 
normal JPEG encoding, but around ~7% of it is encoded with lossless JPEG 
2000 format.

We use Suyash Kumar's library: https://github.com/suyashkumar/dicom which 
depends on the Golang "image/jpeg" library. We'd love to get "image/jpeg" 
to support JPEG 2000 lossless encoding format.

I know it's rather a rare format, yet it's "the standard". I wonder if 
there are any other users interested in getting JPEG 2000 supported 
natively in Go? Or maybe someone out there has its implementation written, 
and would need hand open-sourcing it?

I was thinking that maybe there are companies that would benefit from it, 
and we could co-sponsor someone to whip a nice implementation for us. We 
could probably help with organizing this, pitch in some $$$ too, and manage 
the work. In case you're a domain expert in search of a cool project, feel 
free to reply to this post.

Thanks,

Wojciech Adam Koszek

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/9f244560-19f2-455b-be6b-9478671fb0cfn%40googlegroups.com.