• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Subclassing NSDocumentController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Subclassing NSDocumentController


  • Subject: Subclassing NSDocumentController
  • From: Lance Pysher <email@hidden>
  • Date: Thu, 24 Jan 2002 20:47:36 -0700

I'm writing a program to view DICOM medical images, and although I have a functional viewer I'm having two problems. When viewing a CT or MRI each individual images is in a separate file and there is between 20-200 images in a standard study. Is there a way to subcass NSDocumentViewer to load an entire directory or all selected files into a single document?

Also these images are 16bit grayscale, and the entire bit depth needs to be maintained because depending on how the 16-8 bit conversion is done you can visualize Brain, bone, Liver etc Often you adjust the windowing several times while reviewing the study. Right now I'm caching the converted images, but it is a memory hog and propagating the updated settings to each image slows things down momentarily, especially with larger image sets where there is a lot of swapping from the hard drive. Is there a way to do a rapid 16-8 conversion so I can create each image only as it is needed and still rapidly scroll through the image set?

Lance


  • Prev by Date: setStringValue vs. setTitle on NSButtonCell
  • Next by Date: NSTableView, NSNumberFormatter, and other fun.
  • Previous by thread: Re: setStringValue vs. setTitle on NSButtonCell
  • Next by thread: Re: Subclassing NSDocumentController
  • Index(es):
    • Date
    • Thread