18#ifndef itkBMPImageIO_h
19#define itkBMPImageIO_h
20#include "ITKIOBMPExport.h"
59 itkGetConstMacro(FileLowerLeft,
bool);
62 itkGetConstMacro(BMPCompression,
long);
80 Read(
void * buffer)
override;
96 Write(
const void * buffer)
override;
void Write32BitsInteger(unsigned int value)
RGBPixelType GetColorPaletteEntry(const unsigned char entry) const
unsigned long m_BMPDataSize
RGBPixel< unsigned char > RGBPixelType
void SwapBytesIfNecessary(void *buffer, SizeValueType numberOfPixels)
unsigned int m_ColorPaletteSize
void ReadImageInformation() override
SmartPointer< Self > Pointer
void Write16BitsInteger(unsigned short value)
void Read(void *buffer) override
bool CanReadFile(const char *) override
void WriteImageInformation() override
void Write(const void *buffer) override
unsigned short m_NumberOfColors
bool CanWriteFile(const char *) override
void PrintSelf(std::ostream &os, Indent indent) const override
PaletteType m_ColorPalette
std::vector< RGBPixelType > PaletteType
itk::SizeValueType SizeValueType
Control indentation during Print() invocation.
Represent Red, Green and Blue components for color images.
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....