52 #ifndef __PCL_FileFormatInstance_h 53 #define __PCL_FileFormatInstance_h 57 #ifndef __PCL_BUILDING_PIXINSIGHT_APPLICATION 72 class PCL_CLASS ColorFilterArray;
73 class PCL_CLASS DisplayFunction;
74 class PCL_CLASS FileFormat;
75 class PCL_CLASS ICCProfile;
214 return Open( images, filePath,
IsoString( hints ) );
228 bool SelectImage(
int index );
238 int SelectedImageIndex()
const;
252 const void* FormatSpecificData()
const;
263 String ImageFormatInfo()
const;
390 return PropertyDescriptions().Contains( property );
395 return HasProperty(
IsoString( property ) );
417 if ( i == properties.End() )
447 return ReadProperty(
IsoString( property ) );
495 return ImagePropertyDescriptions().Contains( property );
500 return HasImageProperty(
IsoString( property ) );
517 if ( i == properties.End() )
524 return ImagePropertyDescription(
IsoString( property ) );
542 return ReadImageProperty(
IsoString( property ) );
561 bool ReadImage(
FImage& image );
567 bool ReadImage(
DImage& image );
600 case 32:
return ReadImage( static_cast<pcl::Image&>( *image ) );
601 case 64:
return ReadImage( static_cast<pcl::DImage&>( *image ) );
606 case 8:
return ReadImage( static_cast<pcl::UInt8Image&>( *image ) );
607 case 16:
return ReadImage( static_cast<pcl::UInt16Image&>( *image ) );
608 case 32:
return ReadImage( static_cast<pcl::UInt32Image&>( *image ) );
622 bool CanReadIncrementally()
const;
651 bool ReadSamples(
FImage::sample* buffer,
int startRow,
int rowCount,
int channel );
660 bool ReadSamples(
DImage::sample* buffer,
int startRow,
int rowCount,
int channel );
669 bool ReadSamples(
UInt8Image::sample* buffer,
int startRow,
int rowCount,
int channel );
697 bool WasInexactRead()
const;
766 return Create( filePath,
IsoString( hints ), numberOfImages );
826 bool SetFormatSpecificData(
const void* data );
835 bool WriteICCProfile(
const ICCProfile& icc );
880 bool WriteThumbnail(
const UInt8Image& image );
903 return WriteProperty(
IsoString( property ), value );
915 return WriteProperty( property.
Id(),
property.Value() );
952 return WriteImageProperty(
IsoString( property ), value );
965 return WriteImageProperty( property.
Id(),
property.Value() );
978 bool WriteImageProperties(
const PropertyArray& properties );
993 bool WriteImage(
const FImage& image );
999 bool WriteImage(
const DImage& image );
1032 case 32:
return WriteImage( static_cast<const pcl::Image&>( *image ) );
1033 case 64:
return WriteImage( static_cast<const pcl::DImage&>( *image ) );
1038 case 8:
return WriteImage( static_cast<const pcl::UInt8Image&>( *image ) );
1039 case 16:
return WriteImage( static_cast<const pcl::UInt16Image&>( *image ) );
1040 case 32:
return WriteImage( static_cast<const pcl::UInt32Image&>( *image ) );
1054 bool CanWriteIncrementally()
const;
1071 bool CreateImage(
const ImageInfo& info );
1112 bool WriteSamples(
const FImage::sample* buffer,
int startRow,
int rowCount,
int channel );
1121 bool WriteSamples(
const DImage::sample* buffer,
int startRow,
int rowCount,
int channel );
1130 bool WriteSamples(
const UInt8Image::sample* buffer,
int startRow,
int rowCount,
int channel );
1139 bool WriteSamples(
const UInt16Image::sample* buffer,
int startRow,
int rowCount,
int channel );
1148 bool WriteSamples(
const UInt32Image::sample* buffer,
int startRow,
int rowCount,
int channel );
1158 bool WasLossyWrite()
const;
1166 void* CloneHandle()
const override;
1168 friend class FileFormatInstancePrivate;
1175 #endif // __PCL_BUILDING_PIXINSIGHT_APPLICATION 1177 #endif // __PCL_FileFormatInstance_h Format-independent fundamental image stream options.
const identifier_type & Id() const
A colorimetrically defined RGB working color space.
Root base class for all user interface objects.
int BitsPerSample() const noexcept
Adaptive histogram transformations for image visualization.
16-bit unsigned integer image.
Acts like a union for all types of images in PCL, with optional class-wide ownership of transported i...
bool IsFloatSample() const noexcept
An identifier-value association.
A high-level interface to ICC color profiles.
A structure to describe a data property.
64-bit floating point real image.
32-bit unsigned integer image.
8-bit unsigned integer image.
32-bit floating point real image.
Acts like a union to store instances of different data types.
Color filter array (CFA) structure.
Dynamic array of PropertyDescription structures.
Dynamic array of Property objects.
pixel_traits::sample sample
Dynamic array of ImageDescription structures.
A simple structure to hold basic information about images.
bool IsComplexSample() const noexcept
Dynamic array of FITS header keywords.
Eight-bit string (ISO/IEC-8859-1 or UTF-8 string)