ome-files 0.1.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

Tags.h
1 /*
2 * #%L
3 * OME-FILES C++ library for image IO.
4 * Copyright © 2006 - 2015 Open Microscopy Environment:
5 * - Massachusetts Institute of Technology
6 * - National Institutes of Health
7 * - University of Dundee
8 * - Board of Regents of the University of Wisconsin-Madison
9 * - Glencoe Software, Inc.
10 * %%
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions are met:
13 *
14 * 1. Redistributions of source code must retain the above copyright notice,
15 * this list of conditions and the following disclaimer.
16 * 2. Redistributions in binary form must reproduce the above copyright notice,
17 * this list of conditions and the following disclaimer in the documentation
18 * and/or other materials provided with the distribution.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
24 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 * POSSIBILITY OF SUCH DAMAGE.
31 *
32 * The views and conclusions contained in the software and documentation are
33 * those of the authors and should not be interpreted as representing official
34 * policies, either expressed or implied, of any organization.
35 * #L%
36 */
37
38 #ifndef OME_FILES_TIFF_TAGS_H
39 #define OME_FILES_TIFF_TAGS_H
40
41 #include <string>
42 #include <vector>
43
44 #include <ome/files/tiff/Types.h>
45
46 #include <ome/compat/memory.h>
47
48 #include <ome/compat/array.h>
49 #include <ome/compat/cstdint.h>
50
51 namespace ome
52 {
53 namespace files
54 {
55 namespace tiff
56 {
57
58 class TIFF;
59
61 enum StringTag1
62 {
63 ARTIST,
64 COPYRIGHT,
65 DATETIME,
66 DOCUMENTNAME,
67 HOSTCOMPUTER,
68 IMAGEDESCRIPTION,
69 MAKE,
70 MODEL,
71 PAGENAME,
72 SOFTWARE,
73 TARGETPRINTER
74 };
75
77 enum StringTagArray1
78 {
79 INKNAMES
80 };
81
83 enum UInt16Tag1
84 {
85 BITSPERSAMPLE,
86 CELLWIDTH,
87 CELLLENGTH,
88 CLEANFAXDATA,
89 DATATYPE,
90 GRAYRESPONSEUNIT,
91 INDEXED,
92 INKSET,
93 MATTEING,
94 MAXSAMPLEVALUE,
95 MINSAMPLEVALUE,
96 NUMBEROFINKS,
97 RESOLUTIONUNIT,
98 SAMPLESPERPIXEL
99 };
100
102 enum UInt16TagArray1
103 {
104 GRAYRESPONSECURVE
105 };
106
108 enum UInt16Compression1
109 {
110 COMPRESSION
111 };
112
114 enum UInt16FillOrder1
115 {
116 FILLORDER
117 };
118
120 enum UInt16Orientation1
121 {
122 ORIENTATION
123 };
124
126 enum UInt16PhotometricInterpretation1
127 {
128 PHOTOMETRIC
129 };
130
132 enum UInt16PlanarConfiguration1
133 {
134 PLANARCONFIG
135 };
136
138 enum UInt16Predictor1
139 {
140 PREDICTOR
141 };
142
144 enum UInt16SampleFormat1
145 {
146 SAMPLEFORMAT
147 };
148
150 enum UInt16Threshholding1
151 {
152 THRESHHOLDING
153 };
154
156 enum UInt16YCbCrPosition1
157 {
158 YCBCRPOSITIONING
159 };
160
162 enum UInt16Tag2
163 {
164 DOTRANGE,
165 HALFTONEHINTS,
166 PAGENUMBER,
167 YCBCRSUBSAMPLING
168 };
169
171 enum UInt16Tag6
172 {
173 TRANSFERRANGE
174 };
175
177 enum UInt16ExtraSamplesArray1
178 {
179 EXTRASAMPLES
180 };
181
183 enum UInt16TagArray3
184 {
185 COLORMAP,
186 TRANSFERFUNCTION
187 };
188
190 enum UInt32Tag1
191 {
192 BADFAXLINES,
193 CONSECUTIVEBADFAXLINES,
194 GROUP3OPTIONS,
195 GROUP4OPTIONS,
196 IMAGEDEPTH,
197 IMAGELENGTH,
198 IMAGEWIDTH,
199 ROWSPERSTRIP,
200 SUBFILETYPE,
201 T4OPTIONS,
202 T6OPTIONS,
203 TILEDEPTH,
204 TILELENGTH,
205 TILEWIDTH
206 };
207
209 enum UInt32TagArray1
210 {
211 IMAGEJ_META_DATA_BYTE_COUNTS,
212 RICHTIFFIPTC
213 };
214
216 enum UInt64TagArray1
217 {
218 FREEOFFSETS,
219 FREEBYTECOUNTS,
220 SUBIFD,
221 STRIPBYTECOUNTS,
222 STRIPOFFSETS,
223 TILEBYTECOUNTS,
224 TILEOFFSETS
225 };
226
228 enum RawDataTag1
229 {
230 ICCPROFILE,
231 JPEGTABLES,
232 PHOTOSHOP,
233 XMLPACKET,
234 IMAGEJ_META_DATA
235 };
236
238 enum FloatTag1
239 {
240 XRESOLUTION,
241 YRESOLUTION,
242 XPOSITION,
243 YPOSITION
244 };
245
247 enum FloatTag2
248 {
249 WHITEPOINT
250 };
251
253 enum FloatTag3
254 {
255 YCBCRCOEFFICIENTS
256 };
257
259 enum FloatTag6
260 {
261 PRIMARYCHROMATICITIES,
262 REFERENCEBLACKWHITE
263 };
264
265 /*
266 * Tags which are known but not currently wrapped.
267 *
268 * OSUBFILETYPE, ///< Type of data in this subfile [old tag].
269 * COLORRESPONSEUNIT, ///<
270 * SMINSAMPLEVALUE, ///<
271 * SMAXSAMPLEVALUE, ///<
272 * CLIPPATH, ///<
273 * XCLIPPATHUNITS, ///<
274 * YCLIPPATHUNITS, ///<
275 * OPIPROXY, ///<
276 * GLOBALPARAMETERSIFD, ///<
277 * PROFILETYPE, ///<
278 * FAXPROFILE, ///<
279 * CODINGMETHODS, ///<
280 * VERSIONYEAR, ///<
281 * MODENUMBER, ///<
282 * DECODE, ///<
283 * IMAGEBASECOLOR, ///<
284 * T82OPTIONS, ///<
285 * JPEGPROC, ///<
286 * JPEGIFOFFSET, ///<
287 * JPEGIFBYTECOUNT, ///<
288 * JPEGRESTARTINTERVAL, ///<
289 * JPEGLOSSLESSPREDICTORS, ///<
290 * JPEGPOINTTRANSFORM, ///<
291 * JPEGQTABLES, ///<
292 * JPEGDCTABLES, ///<
293 * JPEGACTABLES, ///<
294 * STRIPROWCOUNTS, ///<
295 * OPIIMAGEID, ///< Full pathname or identifier of original image (OPI).
296 * REFPTS, ///<
297 * REGIONTACKPOINT, ///<
298 * REGIONWARPCORNERS, ///<
299 * REGIONAFFINE, ///<
300 * PIXAR_IMAGEFULLLENGTH, ///<
301 * PIXAR_IMAGEFULLWIDTH, ///<
302 * PIXAR_TEXTUREFORMAT, ///<
303 * PIXAR_WRAPMODES, ///<
304 * PIXAR_FOVCOT, ///<
305 * PIXAR_MATRIX_WORLDTOSCREEN, ///<
306 * PIXAR_MATRIX_WORLDTOCAMERA, ///<
307 * WRITERSERIALNUMBER, ///<
308 * IT8SITE, ///<
309 * IT8COLORSEQUENCE, ///<
310 * IT8HEADER, ///<
311 * IT8RASTERPADDING, ///<
312 * IT8BITSPERRUNLENGTH, ///<
313 * IT8BITSPEREXTENDEDRUNLENGTH, ///<
314 * IT8COLORTABLE, ///<
315 * IT8IMAGECOLORINDICATOR, ///<
316 * IT8BKGCOLORINDICATOR, ///<
317 * IT8IMAGECOLORVALUE, ///<
318 * IT8BKGCOLORVALUE, ///<
319 * IT8PIXELINTENSITYRANGE, ///<
320 * IT8TRANSPARENCYINDICATOR, ///<
321 * IT8COLORCHARACTERIZATION, ///<
322 * IT8HCUSAGE, ///<
323 * IT8TRAPINDICATOR, ///<
324 * IT8CMYKEQUIVALENT, ///<
325 * FRAMECOUNT, ///<
326 * EXIFIFD, ///<
327 * IMAGELAYER, ///< Background, mask and foreground layers from RFC2301.
328 * JBIGOPTIONS, ///<
329 * GPSIFD, ///<
330 * FAXRECVPARAMS, ///<
331 * FAXSUBADDRESS, ///<
332 * FAXRECVTIME, ///<
333 * FAXDCS, ///<
334 * STONITS, ///<
335 * FEDEX_EDR, ///<
336 * INTEROPERABILITYIFD, ///<
337 * DNGVERSION, ///<
338 * DNGBACKWARDVERSION, ///<
339 * UNIQUECAMERAMODEL, ///<
340 * LOCALIZEDCAMERAMODEL, ///<
341 * CFAPLANECOLOR, ///<
342 * CFALAYOUT, ///<
343 * LINEARIZATIONTABLE, ///<
344 * BLACKLEVELREPEATDIM, ///<
345 * BLACKLEVEL, ///<
346 * BLACKLEVELDELTAH, ///<
347 * BLACKLEVELDELTAV, ///<
348 * WHITELEVEL, ///<
349 * DEFAULTSCALE, ///<
350 * DEFAULTCROPORIGIN, ///<
351 * DEFAULTCROPSIZE, ///<
352 * COLORMATRIX1, ///<
353 * COLORMATRIX2, ///<
354 * CAMERACALIBRATION1, ///<
355 * CAMERACALIBRATION2, ///<
356 * REDUCTIONMATRIX1, ///<
357 * REDUCTIONMATRIX2, ///<
358 * ANALOGBALANCE, ///<
359 * ASSHOTNEUTRAL, ///<
360 * ASSHOTWHITEXY, ///<
361 * BASELINEEXPOSURE, ///<
362 * BASELINENOISE, ///<
363 * BASELINESHARPNESS, ///<
364 * BAYERGREENSPLIT, ///<
365 * LINEARRESPONSELIMIT, ///<
366 * CAMERASERIALNUMBER, ///<
367 * LENSINFO, ///<
368 * CHROMABLURRADIUS, ///<
369 * ANTIALIASSTRENGTH, ///<
370 * SHADOWSCALE, ///<
371 * DNGPRIVATEDATA, ///<
372 * MAKERNOTESAFETY, ///<
373 * CALIBRATIONILLUMINANT1, ///<
374 * CALIBRATIONILLUMINANT2, ///<
375 * BESTQUALITYSCALE, ///<
376 * RAWDATAUNIQUEID, ///<
377 * ORIGINALRAWFILENAME, ///<
378 * ORIGINALRAWFILEDATA, ///<
379 * ACTIVEAREA, ///<
380 * MASKEDAREAS, ///<
381 * ASSHOTICCPROFILE, ///<
382 * ASSHOTPREPROFILEMATRIX, ///<
383 * CURRENTICCPROFILE, ///<
384 * CURRENTPREPROFILEMATRIX, ///<
385 * DCSHUESHIFTVALUES, ///<
386 * FAXMODE, ///<
387 * JPEGQUALITY, ///<
388 * JPEGCOLORMODE, ///<
389 * JPEGTABLESMODE, ///<
390 * FAXFILLFUNC, ///<
391 * PIXARLOGDATAFMT, ///<
392 * DCSIMAGERTYPE, ///<
393 * DCSINTERPMODE, ///<
394 * DCSBALANCEARRAY, ///<
395 * DCSCORRECTMATRIX, ///<
396 * DCSGAMMA, ///<
397 * DCSTOESHOULDERPTS, ///<
398 * DCSCALIBRATIONFD, ///<
399 * ZIPQUALITY, ///<
400 * PIXARLOGQUALITY, ///<
401 * DCSCLIPRECTANGLE, ///<
402 * SGILOGDATAFMT, ///<
403 * SGILOGENCODE, ///<
404 * LZMAPRESET, ///<
405 * PERSAMPLE ///<
406 */
407
414 tag_type
415 getWrappedTag(StringTag1 tag);
416
418 tag_type
419 getWrappedTag(StringTagArray1 tag);
420
422 tag_type
423 getWrappedTag(UInt16Tag1 tag);
424
426 tag_type
427 getWrappedTag(UInt16TagArray1 tag);
428
430 tag_type
431 getWrappedTag(UInt16Compression1 tag);
432
434 tag_type
435 getWrappedTag(UInt16FillOrder1 tag);
436
438 tag_type
439 getWrappedTag(UInt16Orientation1 tag);
440
442 tag_type
443 getWrappedTag(UInt16PhotometricInterpretation1 tag);
444
446 tag_type
447 getWrappedTag(UInt16PlanarConfiguration1 tag);
448
450 tag_type
451 getWrappedTag(UInt16Predictor1 tag);
452
454 tag_type
455 getWrappedTag(UInt16SampleFormat1 tag);
456
458 tag_type
459 getWrappedTag(UInt16Threshholding1 tag);
460
462 tag_type
463 getWrappedTag(UInt16YCbCrPosition1 tag);
464
466 tag_type
467 getWrappedTag(UInt16Tag2 tag);
468
470 tag_type
471 getWrappedTag(UInt16Tag6 tag);
472
474 tag_type
475 getWrappedTag(UInt16ExtraSamplesArray1 tag);
476
478 tag_type
479 getWrappedTag(UInt16TagArray3 tag);
480
482 tag_type
483 getWrappedTag(UInt32Tag1 tag);
484
486 tag_type
487 getWrappedTag(UInt32TagArray1 tag);
488
490 tag_type
491 getWrappedTag(UInt64TagArray1 tag);
492
494 tag_type
495 getWrappedTag(RawDataTag1 tag);
496
498 tag_type
499 getWrappedTag(FloatTag1 tag);
500
502 tag_type
503 getWrappedTag(FloatTag2 tag);
504
506 tag_type
507 getWrappedTag(FloatTag3 tag);
508
510 tag_type
511 getWrappedTag(FloatTag6 tag);
512
513 }
514
515 namespace detail
516 {
520 namespace tiff
521 {
522
527 template<typename TagCategory>
528 struct TagProperties;
529
531 template<>
532 struct TagProperties< ::ome::files::tiff::StringTag1>
533 {
535 typedef std::string value_type;
536 };
537
539 template<>
540 struct TagProperties< ::ome::files::tiff::StringTagArray1>
541 {
543 typedef std::vector<std::string> value_type;
544 };
545
547 template<>
548 struct TagProperties< ::ome::files::tiff::UInt16Tag1>
549 {
551 typedef uint16_t value_type;
552 };
553
555 template<>
556 struct TagProperties< ::ome::files::tiff::UInt16TagArray1>
557 {
559 typedef std::vector<uint16_t> value_type;
560 };
561
563 template<>
564 struct TagProperties< ::ome::files::tiff::UInt16Compression1>
565 {
567 typedef ::ome::files::tiff::Compression value_type;
568 };
569
571 template<>
572 struct TagProperties< ::ome::files::tiff::UInt16FillOrder1>
573 {
575 typedef ::ome::files::tiff::FillOrder value_type;
576 };
577
579 template<>
580 struct TagProperties< ::ome::files::tiff::UInt16Orientation1>
581 {
583 typedef ::ome::files::tiff::Orientation value_type;
584 };
585
587 template<>
588 struct TagProperties< ::ome::files::tiff::UInt16PhotometricInterpretation1>
589 {
591 typedef ::ome::files::tiff::PhotometricInterpretation value_type;
592 };
593
595 template<>
596 struct TagProperties< ::ome::files::tiff::UInt16PlanarConfiguration1>
597 {
599 typedef ::ome::files::tiff::PlanarConfiguration value_type;
600 };
601
603 template<>
604 struct TagProperties< ::ome::files::tiff::UInt16Predictor1>
605 {
607 typedef ::ome::files::tiff::Predictor value_type;
608 };
609
611 template<>
612 struct TagProperties< ::ome::files::tiff::UInt16SampleFormat1>
613 {
615 typedef ::ome::files::tiff::SampleFormat value_type;
616 };
617
619 template<>
620 struct TagProperties< ::ome::files::tiff::UInt16Threshholding1>
621 {
623 typedef ::ome::files::tiff::Threshholding value_type;
624 };
625
627 template<>
628 struct TagProperties< ::ome::files::tiff::UInt16YCbCrPosition1>
629 {
631 typedef ::ome::files::tiff::YCbCrPosition value_type;
632 };
633
635 template<>
636 struct TagProperties< ::ome::files::tiff::UInt16Tag2>
637 {
639 typedef ome::compat::array<uint16_t, 2> value_type;
640 };
641
643 template<>
644 struct TagProperties< ::ome::files::tiff::UInt16Tag6>
645 {
647 typedef ome::compat::array<uint16_t, 6> value_type;
648 };
649
651 template<>
652 struct TagProperties< ::ome::files::tiff::UInt16ExtraSamplesArray1>
653 {
655 typedef std::vector< ::ome::files::tiff::ExtraSamples> value_type;
656 };
657
659 template<>
660 struct TagProperties< ::ome::files::tiff::UInt16TagArray3>
661 {
663 typedef ome::compat::array<std::vector<uint16_t>, 3> value_type;
664 };
665
667 template<>
668 struct TagProperties< ::ome::files::tiff::UInt32Tag1>
669 {
671 typedef uint32_t value_type;
672 };
673
675 template<>
676 struct TagProperties< ::ome::files::tiff::UInt32TagArray1>
677 {
679 typedef std::vector<uint32_t> value_type;
680 };
681
683 template<>
684 struct TagProperties< ::ome::files::tiff::UInt64TagArray1>
685 {
687 typedef std::vector<uint64_t> value_type;
688 };
689
691 template<>
692 struct TagProperties< ::ome::files::tiff::RawDataTag1>
693 {
695 typedef std::vector<uint8_t> value_type;
696 };
697
699 template<>
700 struct TagProperties< ::ome::files::tiff::FloatTag1>
701 {
703 typedef float value_type;
704 };
705
707 template<>
708 struct TagProperties< ::ome::files::tiff::FloatTag2>
709 {
711 typedef ome::compat::array<float, 2> value_type;
712 };
713
715 template<>
716 struct TagProperties< ::ome::files::tiff::FloatTag3>
717 {
719 typedef ome::compat::array<float, 3> value_type;
720 };
721
723 template<>
724 struct TagProperties< ::ome::files::tiff::FloatTag6>
725 {
727 typedef ome::compat::array<float, 6> value_type;
728 };
729
730 }
731 }
732 }
733 }
734
735 #endif // OME_FILES_TIFF_TAGS_H
736
737 /*
738 * Local Variables:
739 * mode:C++
740 * End:
741 */
ome::files::tiff::T4OPTIONS
Options for Group3 fax compression.
Definition: Tags.h:201
ome::files::tiff::PLANARCONFIG
How components of each pixel are stored.
Definition: Tags.h:134
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::UInt64TagArray1 >::value_type
std::vector< uint64_t > value_type
uint64_t vector type.
Definition: Tags.h:687
ome::files::tiff::IMAGEWIDTH
Number of columns in the image (pixels per row).
Definition: Tags.h:198
ome::files::tiff::CELLLENGTH
Height of dithering or halftoning matrix for bilevel data.
Definition: Tags.h:87
ome::files::detail::tiff::TagProperties
Map a given tag category enum type to the corresponding language value type.
Definition: Tags.h:528
ome::files::tiff::MINSAMPLEVALUE
Minimum component value.
Definition: Tags.h:95
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::UInt16ExtraSamplesArray1 >::value_type
std::vector< ::ome::files::tiff::ExtraSamples > value_type
uint16_t vector type.
Definition: Tags.h:655
ome::files::tiff::DOCUMENTNAME
Name of the document from which the image originated.
Definition: Tags.h:66
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::UInt16Tag6 >::value_type
ome::compat::array< uint16_t, 6 > value_type
uint16 array type.
Definition: Tags.h:647
memory.h
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::UInt16SampleFormat1 >::value_type
::ome::files::tiff::SampleFormat value_type
uint16_t type.
Definition: Tags.h:615
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::UInt16Predictor1 >::value_type
::ome::files::tiff::Predictor value_type
uint16_t type.
Definition: Tags.h:607
ome::files::tiff::WHITEPOINT
Chromaticity of the white point of the image as 1931 CIE (xy).
Definition: Tags.h:249
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::UInt32TagArray1 >::value_type
std::vector< uint32_t > value_type
uint32_t vector type.
Definition: Tags.h:679
ome::files::tiff::IMAGEJ_META_DATA_BYTE_COUNTS
Private tag for ImageJ metadata byte counts.
Definition: Tags.h:211
ome::files::tiff::UInt16PhotometricInterpretation1
UInt16PhotometricInterpretation1
Photometric interpretation enum fields.
Definition: Tags.h:126
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::StringTag1 >::value_type
std::string value_type
string type.
Definition: Tags.h:535
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::UInt16Tag2 >::value_type
ome::compat::array< uint16_t, 2 > value_type
uint16_t array type.
Definition: Tags.h:639
ome::files::tiff::RawDataTag1
RawDataTag1
Byte (Unsigned 8-bit integer) fields.
Definition: Tags.h:228
ome::files::tiff::XPOSITION
The x position of the image in RESOLUTIONUNITs.
Definition: Tags.h:242
ome::files::tiff::EXTRASAMPLES
Description of extra components.
Definition: Tags.h:179
ome::files::tiff::FloatTag2
FloatTag2
Floating point (×2) fields.
Definition: Tags.h:247
ome::files::tiff::PAGENUMBER
Number of the page from which the image originated.
Definition: Tags.h:166
ome::files::tiff::ORIENTATION
Image orientation.
Definition: Tags.h:122
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::UInt16YCbCrPosition1 >::value_type
::ome::files::tiff::YCbCrPosition value_type
uint16_t type.
Definition: Tags.h:631
ome::files::tiff::StringTag1
StringTag1
String fields.
Definition: Tags.h:61
ome::files::tiff::tag_type
unsigned int tag_type
Tag number.
Definition: Types.h:59
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::UInt32Tag1 >::value_type
uint32_t value_type
uint32_t type.
Definition: Tags.h:671
ome::files::tiff::IMAGEJ_META_DATA
Private tag for ImageJ metadata.
Definition: Tags.h:234
ome::files::tiff::COMPRESSION
Compression scheme in use on the image data.
Definition: Tags.h:110
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::UInt16Compression1 >::value_type
::ome::files::tiff::Compression value_type
uint16_t type.
Definition: Tags.h:567
ome::files::tiff::FloatTag3
FloatTag3
Floating point (×3) fields.
Definition: Tags.h:253
ome::files::tiff::PAGENAME
Name of the page from which the image originated.
Definition: Tags.h:71
ome::files::tiff::UInt16TagArray3
UInt16TagArray3
Unsigned 16-bit integer array (×3) fields.
Definition: Tags.h:183
ome::files::tiff::UInt16SampleFormat1
UInt16SampleFormat1
Sample format enum fields.
Definition: Tags.h:144
ome::files::tiff::CONSECUTIVEBADFAXLINES
Maximum number of consecutive bad scan lines encountered.
Definition: Tags.h:193
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::UInt16TagArray1 >::value_type
std::vector< uint16_t > value_type
uint16_t vector type.
Definition: Tags.h:559
ome::files::tiff::GROUP4OPTIONS
Options for Group 4 Fax compression (T6Options).
Definition: Tags.h:195
ome::files::tiff::JPEGTABLES
JPEG quantization and/or Huffman tables (JPEG "abbreviated table specification" datastream).
Definition: Tags.h:231
ome::files::tiff::TARGETPRINTER
Description of the printing environment.
Definition: Tags.h:73
ome::files::tiff::DOTRANGE
Component values corresponding to a 0% dot and 100% dot.
Definition: Tags.h:164
ome::files::tiff::DATETIME
Date and time of image creation.
Definition: Tags.h:65
ome::files::tiff::TILEOFFSETS
Byte offset of each tile.
Definition: Tags.h:224
ome::files::tiff::STRIPBYTECOUNTS
Number of bytes in each strip (after compression).
Definition: Tags.h:221
ome::files::tiff::UInt16FillOrder1
UInt16FillOrder1
Fill order enum fields.
Definition: Tags.h:114
ome::files::tiff::PREDICTOR
Mathematical operation applied before encoding.
Definition: Tags.h:140
ome::files::tiff::TRANSFERFUNCTION
Transfer function for the image.
Definition: Tags.h:186
ome::files::tiff::REFERENCEBLACKWHITE
Reference black and white pairs for RGB or YCbCr images.
Definition: Tags.h:262
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::RawDataTag1 >::value_type
std::vector< uint8_t > value_type
uint32_t vector type.
Definition: Tags.h:695
ome::files::tiff::SUBFILETYPE
Type of data in this subfile [new tag].
Definition: Tags.h:200
ome::files::tiff::ROWSPERSTRIP
Number of rows per strip.
Definition: Tags.h:199
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::UInt16Threshholding1 >::value_type
::ome::files::tiff::Threshholding value_type
uint16_t type.
Definition: Tags.h:623
array.h
ome::files::tiff::MAKE
Scanner manufacturer.
Definition: Tags.h:69
ome::files::tiff::SOFTWARE
Name and version of the software creating the image.
Definition: Tags.h:72
ome::files::tiff::XMLPACKET
XMP metadata.
Definition: Tags.h:233
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::FloatTag6 >::value_type
ome::compat::array< float, 6 > value_type
float array type.
Definition: Tags.h:727
ome::files::tiff::TILEDEPTH
Tile depth in pixels (z planes).
Definition: Tags.h:203
ome::files::tiff::STRIPOFFSETS
Byte offset of each strip.
Definition: Tags.h:222
ome::files::tiff::IMAGEDESCRIPTION
Description of the image.
Definition: Tags.h:68
ome::files::tiff::COLORMAP
Colour map for palette colour images.
Definition: Tags.h:185
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::UInt16Tag1 >::value_type
uint16_t value_type
uint16_t type.
Definition: Tags.h:551
ome::files::tiff::MAXSAMPLEVALUE
Maximum component value.
Definition: Tags.h:94
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::FloatTag2 >::value_type
ome::compat::array< float, 2 > value_type
float array type.
Definition: Tags.h:711
ome::files::tiff::YCBCRPOSITIONING
Positioning of subsampled chrominance components relative to luminance samples.
Definition: Tags.h:158
ome::files::tiff::INKSET
Inkset used in a separated image.
Definition: Tags.h:92
ome::files::tiff::HOSTCOMPUTER
Computer and/or operating system creating the image.
Definition: Tags.h:67
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::UInt16PhotometricInterpretation1 >::value_type
::ome::files::tiff::PhotometricInterpretation value_type
uint16_t type.
Definition: Tags.h:591
ome
ome::files::tiff::UInt16Tag6
UInt16Tag6
Unsigned 16-bit integer (×6) fields.
Definition: Tags.h:171
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::UInt16Orientation1 >::value_type
::ome::files::tiff::Orientation value_type
uint16_t type.
Definition: Tags.h:583
ome::files::tiff::ARTIST
Person who created the image.
Definition: Tags.h:63
ome::files::tiff::IMAGELENGTH
Number of rows in the image (pixels per column).
Definition: Tags.h:197
ome::files::tiff::UInt16Tag2
UInt16Tag2
Unsigned 16-bit integer (×2) fields.
Definition: Tags.h:162
ome::files::tiff::StringTagArray1
StringTagArray1
String array fields.
Definition: Tags.h:77
ome::files::tiff::UInt16TagArray1
UInt16TagArray1
Unsigned 16-bit integer array fields.
Definition: Tags.h:102
ome::files::tiff::TRANSFERRANGE
Expand range of TransferFunction.
Definition: Tags.h:173
ome::files::tiff::NUMBEROFINKS
Number of inks.
Definition: Tags.h:96
ome::files::tiff::UInt16PlanarConfiguration1
UInt16PlanarConfiguration1
PlanarConfiguration enum fields.
Definition: Tags.h:132
ome::files::tiff::HALFTONEHINTS
Range of detail (low-high) for which tonal detail should be retained.
Definition: Tags.h:165
ome::files::tiff::XRESOLUTION
Number of pixels per resolution unit along the image width.
Definition: Tags.h:240
ome::files::tiff::UInt32Tag1
UInt32Tag1
Unsigned 32-bit integer fields.
Definition: Tags.h:190
ome::files::tiff::SAMPLEFORMAT
How to interpret each data sample in a pixel.
Definition: Tags.h:146
ome::files::tiff::RICHTIFFIPTC
IPTC (International Press Telecommunications Council) metadata.
Definition: Tags.h:212
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::UInt16PlanarConfiguration1 >::value_type
::ome::files::tiff::PlanarConfiguration value_type
uint16_t type.
Definition: Tags.h:599
ome::files::tiff::UInt16Tag1
UInt16Tag1
Unsigned 16-bit integer fields.
Definition: Tags.h:83
ome::files::tiff::UInt16Compression1
UInt16Compression1
Compression enum fields.
Definition: Tags.h:108
ome::files::tiff::UInt32TagArray1
UInt32TagArray1
Unsigned 32-bit integer array fields.
Definition: Tags.h:209
ome::files::tiff::TILEWIDTH
Tile width in pixels (columns).
Definition: Tags.h:205
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::FloatTag3 >::value_type
ome::compat::array< float, 3 > value_type
float array type.
Definition: Tags.h:719
ome::files::tiff::DATATYPE
Use SAMPLEFORMAT [obsolete].
Definition: Tags.h:89
ome::files::tiff::YCBCRSUBSAMPLING
Subsampling factors used for YCbCr chrominance components.
Definition: Tags.h:167
ome::files::tiff::YCBCRCOEFFICIENTS
Coefficients describing the RGB to YCbCr transform.
Definition: Tags.h:255
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::UInt16FillOrder1 >::value_type
::ome::files::tiff::FillOrder value_type
uint16_t type.
Definition: Tags.h:575
ome::files::tiff::PHOTOMETRIC
Photometric interpretation; colour space of image data.
Definition: Tags.h:128
ome::files::tiff::BITSPERSAMPLE
Number of bits per component.
Definition: Tags.h:85
ome::files::tiff::YRESOLUTION
Number of pixels per resolution unit along the image height.
Definition: Tags.h:241
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::UInt16TagArray3 >::value_type
ome::compat::array< std::vector< uint16_t >, 3 > value_type
uint16_t array type.
Definition: Tags.h:663
ome::files::tiff::UInt16YCbCrPosition1
UInt16YCbCrPosition1
YCbCrPosition enum fields.
Definition: Tags.h:156
ome::files::tiff::T6OPTIONS
Options for Group4 fax compression.
Definition: Tags.h:202
ome::files::tiff::MODEL
Scanner model name or number.
Definition: Tags.h:70
ome::files::tiff::UInt64TagArray1
UInt64TagArray1
Unsigned 64-bit integer fields.
Definition: Tags.h:216
ome::files::tiff::INDEXED
Image uses indexed color in any color space.
Definition: Tags.h:91
cstdint.h
ome::files::tiff::TILELENGTH
Tile height in pixels (rows).
Definition: Tags.h:204
ome::files::tiff::PHOTOSHOP
Photoshop "Image Resource Blocks".
Definition: Tags.h:232
ome::files::tiff::RESOLUTIONUNIT
Unit of measurement for XRESOLUTION and YRESOLUTION.
Definition: Tags.h:97
ome::files::tiff::GROUP3OPTIONS
Options for Group 3 Fax compression (T4Options).
Definition: Tags.h:194
ome::files::tiff::SAMPLESPERPIXEL
Number of components per pixel.
Definition: Tags.h:98
ome::files::tiff::THRESHHOLDING
Method used to convert to black and white pixels.
Definition: Tags.h:152
ome::files::tiff::TILEBYTECOUNTS
Number of bytes in each tile (after compression).
Definition: Tags.h:223
ome::files::tiff::ICCPROFILE
ICC profile data.
Definition: Tags.h:230
ome::files::tiff::getWrappedTag
tag_type getWrappedTag(StringTag1 tag)
Get the TIFF tag number for the specified tag.
Definition: Tags.cpp:66
ome::files::tiff::FREEOFFSETS
Offsets of free bytes [unused].
Definition: Tags.h:218
ome::files::tiff::FloatTag6
FloatTag6
Floating point (×6) fields.
Definition: Tags.h:259
ome::files::tiff::YPOSITION
THe y position of the image in RESOLUTIONUNITs.
Definition: Tags.h:243
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::FloatTag1 >::value_type
float value_type
float type.
Definition: Tags.h:703
ome::files::tiff::MATTEING
Use EXTRASAMPLES [obsolete].
Definition: Tags.h:93
ome::files::tiff::UInt16Orientation1
UInt16Orientation1
Orientation enum fields.
Definition: Tags.h:120
ome::files::tiff::GRAYRESPONSECURVE
Optical density of greyscale pixel values.
Definition: Tags.h:104
ome::files::tiff::FloatTag1
FloatTag1
Floating point fields.
Definition: Tags.h:238
ome::files::tiff::INKNAMES
Names of each ink used in a separated image.
Definition: Tags.h:79
ome::files::tiff::UInt16Threshholding1
UInt16Threshholding1
Threshholding enum fields.
Definition: Tags.h:150
ome::files::tiff::COPYRIGHT
Copyright notice.
Definition: Tags.h:64
ome::files::tiff::UInt16Predictor1
UInt16Predictor1
Predictor enum fields.
Definition: Tags.h:138
ome::files::tiff::FREEBYTECOUNTS
Sizes of free bytes [unused].
Definition: Tags.h:219
ome::files::tiff::SUBIFD
Offsets of child IFDs.
Definition: Tags.h:220
ome::files::tiff::BADFAXLINES
Number of bad scan lines encountered.
Definition: Tags.h:192
ome::files::tiff::IMAGEDEPTH
Number of z planes in the image.
Definition: Tags.h:196
ome::files::tiff::GRAYRESPONSEUNIT
Precision of GRAYRESPONSECURVE.
Definition: Tags.h:90
ome::files::tiff::UInt16ExtraSamplesArray1
UInt16ExtraSamplesArray1
Unsigned 16-bit integer array fields.
Definition: Tags.h:177
ome::files::detail::tiff::TagProperties< ::ome::files::tiff::StringTagArray1 >::value_type
std::vector< std::string > value_type
string type.
Definition: Tags.h:543
ome::files::tiff::CLEANFAXDATA
How bad scanlines were handled.
Definition: Tags.h:88
ome::files::tiff::PRIMARYCHROMATICITIES
Chromaticities of primary colours as 1931 CIE R(xy) G(xy) B(xy).
Definition: Tags.h:261
ome::files::tiff::FILLORDER
Logical order of bits within a byte.
Definition: Tags.h:116
ome::files::tiff::CELLWIDTH
Width of dithering or halftoning matrix for bilevel data.
Definition: Tags.h:86