Re: DICOM images in Cocoa

2008-08-13 Thread Ken Ferry
Hi Thomas,

ImageIO is not extensible, so far as I know, except that I know it
will fall back to QuickTime in some cases, and I'm not sure if the
fallback types might be determined dynamically.

Cocoa has filter services, but I'm not familiar with them.  I'll
probably need to be at some point.

http://developer.apple.com/documentation/Cocoa/Conceptual/CopyandPaste/Articles/pbFilters.html

-Ken
Cocoa Frameworks

On Wed, Aug 13, 2008 at 4:49 AM, Thomas Engelmeier
<[EMAIL PROTECTED]> wrote:
>
> Am 13.08.2008 um 10:55 schrieb Ken Ferry:
>>
>> Implementing an NSImageRep subclass is pretty similar to implementing
>> a custom view.
>
> Is there an similar concept of QuickTime "Graphics Importers", i.e. system
> wide extensible formats ImageIO and / or NSImage can handle, possible?
>
>
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: DICOM images in Cocoa

2008-08-13 Thread Sean McBride
On 8/13/08 4:12 PM, Devraj Mukherjee said:

>NSImage doesn't seem to be able to take a DICOM stream. Is this the
>best of doing this? Does anyone know of a Cocoa DICOM reader library?

You could use VTK and/or ITK.  See www.vtk.org and www.itk.org.  These
are the libraries OsiriX uses.  VTK has an NSView subclass that can
display any content that VTK can render, including DICOM.  Alas, VTK's
DICOM support is somewhat lacking, but may be sufficient for your
purposes.  ITK has much better DICOM support.

--

Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue-research.com
Mac Software Developer  Montréal, Québec, Canada


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: DICOM images in Cocoa

2008-08-13 Thread Apple Cocoa List

Also check out:

http://www.escape.gr/

Todd

On Aug 13, 2008, at 1:12 AM, Devraj Mukherjee wrote:


Hi all,

My application requires to display DICOM image files. Preview doesn't
support DICOM by nature so the thought at the moment is to use
something like ImageMagick and convert these images to something JPEG
on the fly?

NSImage doesn't seem to be able to take a DICOM stream. Is this the
best of doing this? Does anyone know of a Cocoa DICOM reader library?

Thanks a lot.

--
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/applecocoalist%40filmworkers.com

This email sent to [EMAIL PROTECTED]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: DICOM images in Cocoa

2008-08-13 Thread Thomas Engelmeier


Am 13.08.2008 um 10:55 schrieb Ken Ferry:

Implementing an NSImageRep subclass is pretty similar to implementing
a custom view.


Is there an similar concept of QuickTime "Graphics Importers", i.e.  
system wide extensible formats ImageIO and / or NSImage can handle,  
possible?


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: DICOM images in Cocoa

2008-08-13 Thread Matthias Schonder

Hi,

you may also try iiDICOM ( http://www.imaginginformatics.ca/open-source/quickdicom/iidicom-framework-readme 
 ) but you may also take a look at dcmtk-library (http://dicom.offis.de/dcmtk 
 ) which heavily used the mentioned Osirix-Viewer. dcmtk is C/C++  
while iiDICOM is Objective-C


regards,
matthias

On 13.08.2008, at 08:28, Martin Carlberg wrote:


Try this: http://www.osirix-viewer.com/

13 aug 2008 kl. 08.12 skrev Devraj Mukherjee:


Hi all,

My application requires to display DICOM image files. Preview doesn't
support DICOM by nature so the thought at the moment is to use
something like ImageMagick and convert these images to something JPEG
on the fly?

NSImage doesn't seem to be able to take a DICOM stream. Is this the
best of doing this? Does anyone know of a Cocoa DICOM reader library?

Thanks a lot.

--
"I never look back darling, it distracts from the now", Edna Mode  
(The

Incredibles)
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/martin%40oops.se

This email sent to [EMAIL PROTECTED]


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/cocoa-dev-list%40schonder.com

This email sent to [EMAIL PROTECTED]


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: DICOM images in Cocoa

2008-08-13 Thread Ken Ferry
Converting to JPEG would work, of course.

If you do link in libraries that can render DICOM, you can add direct
support to NSImage.  You do this by implementing a subclass of
NSImageRep, DICOMImageRep.  The minimal implementation of an
NSImageRep subclass is just the method -draw, which should draw into
the rectangle {{0,0},[self size]}.  If you want methods like -[NSImage
initWithData:] and -[NSImage initByReferencingURL:] to work, you
should also implement +imageRepsWithData:, +canInitWithData:, and
+imageUnfilteredFileTypes.  Basically, look at the NSImageRep class
docs.  They describe which methods are useful to override.

Implementing an NSImageRep subclass is pretty similar to implementing
a custom view.

-Ken

On Tue, Aug 12, 2008 at 11:28 PM, Martin Carlberg <[EMAIL PROTECTED]> wrote:
> Try this: http://www.osirix-viewer.com/
>
> 13 aug 2008 kl. 08.12 skrev Devraj Mukherjee:
>
>> Hi all,
>>
>> My application requires to display DICOM image files. Preview doesn't
>> support DICOM by nature so the thought at the moment is to use
>> something like ImageMagick and convert these images to something JPEG
>> on the fly?
>>
>> NSImage doesn't seem to be able to take a DICOM stream. Is this the
>> best of doing this? Does anyone know of a Cocoa DICOM reader library?
>>
>> Thanks a lot.
>>
>> --
>> "I never look back darling, it distracts from the now", Edna Mode (The
>> Incredibles)
>> ___
>>
>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>>
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/cocoa-dev/martin%40oops.se
>>
>> This email sent to [EMAIL PROTECTED]
>
> ___
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/kenferry%40gmail.com
>
> This email sent to [EMAIL PROTECTED]
>
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: DICOM images in Cocoa

2008-08-12 Thread Martin Carlberg

Try this: http://www.osirix-viewer.com/

13 aug 2008 kl. 08.12 skrev Devraj Mukherjee:


Hi all,

My application requires to display DICOM image files. Preview doesn't
support DICOM by nature so the thought at the moment is to use
something like ImageMagick and convert these images to something JPEG
on the fly?

NSImage doesn't seem to be able to take a DICOM stream. Is this the
best of doing this? Does anyone know of a Cocoa DICOM reader library?

Thanks a lot.

--
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/martin%40oops.se

This email sent to [EMAIL PROTECTED]


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


DICOM images in Cocoa

2008-08-12 Thread Devraj Mukherjee
Hi all,

My application requires to display DICOM image files. Preview doesn't
support DICOM by nature so the thought at the moment is to use
something like ImageMagick and convert these images to something JPEG
on the fly?

NSImage doesn't seem to be able to take a DICOM stream. Is this the
best of doing this? Does anyone know of a Cocoa DICOM reader library?

Thanks a lot.

-- 
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]