Search found 6 matches

by mkostrze
Thu, 2006-11-16, 19:12
Forum: DCMTK - General
Topic: DicomImage constructor slow opening JPEG multiframe image
Replies: 8
Views: 10958

What about this: - I'll create an interface StatefulCodecFactory which will produce StatefullCodecs objects. The factory method will have params const DcmRepresentationParameter * fromRepParam, DcmPixelSequence * pixSeq, const DcmStack& objStack - StatefulCodec will have method decode(DcmPolymor...
by mkostrze
Thu, 2006-11-16, 15:41
Forum: DCMTK - General
Topic: DicomImage constructor slow opening JPEG multiframe image
Replies: 8
Views: 10958

Progress...

Hi, I spent some time on learning how dcmtk works and trying to figure out how to do it. Changing codec seems to be very simple, I localized proper fragment. But the 2nd part of it - integrating DicomImage with modified codec is much harder. First of all - even if I followed you advice somehow, it m...
by mkostrze
Mon, 2006-11-13, 11:08
Forum: DCMTK - General
Topic: DicomImage constructor slow opening JPEG multiframe image
Replies: 8
Views: 10958

Thank you very much for the answer, I really appreciate it. It looks I really need it and I'll have to try doing it this week, I wonder what will result from this try... The patch will be relative to version 3.5.4.

thanks again, best regards,
by mkostrze
Fri, 2006-11-10, 14:46
Forum: DCMTK - General
Topic: DicomImage constructor slow opening JPEG multiframe image
Replies: 8
Views: 10958

Postscriptum: Also - what do you think about another solution, that determines the frame starting points dynamically, based on previously decoded frames? Frames are usually read from beginning to the end, so after decoding frame #1 you'll know when frame #2 begins, w/o parsing them all in the constr...
by mkostrze
Fri, 2006-11-10, 14:32
Forum: DCMTK - General
Topic: DicomImage constructor slow opening JPEG multiframe image
Replies: 8
Views: 10958

Thanks a lot for the answer, I can imagine the what the problem is, and I don't blame dcmtk by no means. I was using other toolkit (dcm4che) which is capable of doing this (at least with my images ;) but I need something in C not java. The problem with long lasting constructor is that user has to wa...
by mkostrze
Thu, 2006-11-09, 15:56
Forum: DCMTK - General
Topic: DicomImage constructor slow opening JPEG multiframe image
Replies: 8
Views: 10958

DicomImage constructor slow opening JPEG multiframe image

Hi list! I have 50+ frames jpeg compressed US multiframe image. It is slow to create new DicomImage object from it (regardless of number of frames passed in as parameter). For my image it takes 2+ secs on my machine. This also pertains to dcmj2pnm program - the phase 'preparing pixel data' lasts als...