Meaning of 'offset' returned by imageinfo
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
What does the parameter 'offset' returned by imageinfo.m mean? There is no explanation for it in the function documentation.
E.g.:
0 Commenti
Risposta accettata
DGM
il 11 Lug 2022
Modificato: DGM
il 11 Lug 2022
imageinfo() is just a convenience tool for what imfinfo provides. That said, the metadata that's available depends on the file format and the software that wrote the file, so even the documentation for imfinfo() can't account for every possible tag that might show up. Offset information is common in metadata. Sometimes it's spatial offsets in the image space. Sometimes it's data offsets to the beginning of a certain field or data block.
In this case, I'm going to guess that this is a TIFF file and the tag specifies the byte offset to the end of this image block. I'm not really sure whether that's from the beginning of the file or if it's relative to the IFD position. I'm not terribly familiar with the format specification for TIFF. A more precise (and certain) description would require more information about the file and perhaps some time reading the format spec.
2 Commenti
DGM
il 12 Lug 2022
Like I mentioned, I'm no expert on the format details, so forgive me if my explanation isn't detailed and precise. A TIFF file is a container and may contain multiple images (and other blocks of information). Offset information would be used by the decoder to navigate within the file.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Image Processing and Computer Vision in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!