GDCM
2.4.5
|
#include <gdcmImageRegionReader.h>
Public Member Functions | |
ImageRegionReader () | |
~ImageRegionReader () | |
size_t | ComputeBufferLength () const |
Region const & | GetRegion () const |
bool | ReadInformation () |
bool | ReadIntoBuffer (char *inreadbuffer, size_t buflen) |
void | SetRegion (Region const ®ion) |
Set/Get Region to be read. More... | |
![]() | |
ImageReader () | |
virtual | ~ImageReader () |
const Image & | GetImage () const |
Return the read image. More... | |
Image & | GetImage () |
![]() | |
PixmapReader () | |
virtual | ~PixmapReader () |
const Pixmap & | GetPixmap () const |
Return the read image (need to call Read() first) More... | |
Pixmap & | GetPixmap () |
![]() | |
Reader () | |
virtual | ~Reader () |
bool | CanRead () const |
const File & | GetFile () const |
Set/Get File. More... | |
File & | GetFile () |
Set/Get File. More... | |
size_t | GetStreamCurrentPosition () const |
bool | ReadSelectedPrivateTags (std::set< PrivateTag > const &ptags, bool readvalues=true) |
Will only read the specified selected private tags. More... | |
bool | ReadSelectedTags (std::set< Tag > const &tags, bool readvalues=true) |
Will only read the specified selected tags. More... | |
bool | ReadUpToTag (const Tag &tag, std::set< Tag > const &skiptags=std::set< Tag >()) |
void | SetFile (File &file) |
Set/Get File. More... | |
void | SetFileName (const char *filename_native) |
void | SetStream (std::istream &input_stream) |
Set the open-ed stream directly. More... | |
Protected Member Functions | |
bool | Read () |
To prevent user from calling super class Read() function. More... | |
![]() | |
bool | ReadACRNEMAImage () |
bool | ReadImage (MediaStorage const &ms) |
![]() | |
bool | ReadImageInternal (MediaStorage const &ms, bool handlepixeldata=true) |
![]() | |
std::istream * | GetStreamPtr () const |
bool | ReadDataSet () |
bool | ReadMetaInformation () |
bool | ReadPreamble () |
Additional Inherited Members | |
![]() | |
SmartPointer< Pixmap > | PixelData |
![]() | |
SmartPointer< File > | F |
gdcm::ImageRegionReader::ImageRegionReader | ( | ) |
gdcm::ImageRegionReader::~ImageRegionReader | ( | ) |
size_t gdcm::ImageRegionReader::ComputeBufferLength | ( | ) | const |
Explicit call which will compute the minimal buffer length that can hold the whole uncompressed image as defined by Region region
.
Region const& gdcm::ImageRegionReader::GetRegion | ( | ) | const |
|
protectedvirtual |
To prevent user from calling super class Read() function.
Reimplemented from gdcm::ImageReader.
bool gdcm::ImageRegionReader::ReadInformation | ( | ) |
Read meta information (not Pixel Data) from the DICOM file.
bool gdcm::ImageRegionReader::ReadIntoBuffer | ( | char * | inreadbuffer, |
size_t | buflen | ||
) |
Read into buffer: