2 #ifndef vil_dicom_file_format_h_ 3 #define vil_dicom_file_format_h_ 26 virtual char const*
tag()
const;
49 virtual unsigned nplanes()
const;
50 virtual unsigned ni()
const;
51 virtual unsigned nj()
const;
56 unsigned j0,
unsigned nj)
const;
59 unsigned j0,
unsigned nj)
const;
64 bool get_property(
char const *tag,
void *prop = 0)
const;
78 #endif // vil_dicom_file_format_h_ An abstract base class of smart pointers to actual image data in memory.
vil_dicom_image(vil_stream *is, unsigned ni, unsigned nj, unsigned nplanes, vil_pixel_format format)
virtual bool interpret_hologic_header(float &xpixSize, float &ypixSize)
try and interpret the hologic comments section to extract pixel size.
vil_dicom_header_info header_
vil_dicom_header_info const & header() const
char const * file_format() const
Return a string describing the file format.
Stream interface for VIL image loaders.
virtual void correct_manufacturer_discrepancies()
correct known manufacturers drop-offs in header data!.
virtual enum vil_pixel_format pixel_format() const
Pixel Format.
Abstract representation of an image source or image destination.
virtual unsigned ni() const
Dimensions: Planes x ni x nj.
vil_image_view_base_sptr get_copy_view() const
Create a read/write view of a copy of all the data.
Representation of a generic image source or destination.
virtual bool put_view(const vil_image_view_base &im, unsigned i0, unsigned j0)
Put the data in this view back into the image source.
virtual unsigned nplanes() const
Dimensions: Planes x ni x nj.
vil_image_resource_sptr pixels_
Generic image implementation for DICOM files.
vil_image_view_base_sptr get_view() const
Create a read/write view of all the data.
bool get_property(char const *tag, void *prop=0) const
Extra property information.
virtual unsigned nj() const
Dimensions: Planes x ni x nj.