TIFF — Tagged Image File Format

TIFF — Tagged Image File Format

Banyak Image gambar yang dapat didukung dengan spesifikasi TIFF atau LibTIFF dapat dibaca oleh imread.

imread mendukung kemampuan TIFF berikut ini:
–  Setiap jumlah sampel-per-pixel

–  CCITT kelompok 3 dan 4 FAX, Packbits, JPEG, LZW, Deflate, kompresi ThunderScan, dan gambar tidak terkompresi.

–  Logis, grayscale, diindeks warna, truecolor dan gambar hyperspectral.




– RGB, CMYK, CIELAB, ICCLAB spasi warna.

If the color image uses the CMYK color space, A is an M-by-N-by-4 array. To determine which color space is used, use imfinfo to get information about the graphics file and look at the value of thePhotometricInterpretation field. If a file contains CIELAB color data, imread converts it to ICCLAB before bringing it into the MATLAB workspace because 8- or 16-bit TIFF CIELAB-encoded values use a mixture of signed and unsigned data types that cannot be represented as a single MATLAB array.

–  Data dikelompokan dalam tiles atau scanlines.

Berikut ini format-specific syntaxes untuk file TIFF.

A = imread(…) returns color data that uses the RGB, CIELAB, ICCLAB, or CMYK color spaces. If the color image uses the CMYK color space, A is an M-by-N-by-4 array.

[…] = imread(…, ‘Param1’, value1, ‘Param2’, value2, …) uses parameter/value pairs to control the read operation. The following table lists the parameters you can use.
Parameter    Value
‘Index’    Positive integer specifying which image to read. For example, if you specify the value 3, imread reads the third image in the file. If you omit this argument, imread reads the first image in the file.
‘Info’

Structure array returned by imfinfo.

Format Gambar BMP dan CUR

BMP — Windows Bitmap
Supported Bitdepths  No Compression  RLE Compression   Output Class Notes
1-bit                               y                           –                             logical
4-bit                               y                           y                              uint8
8-bit                               y                           y                               uint8
16-bit                             y                           –                      uint8 1 sample/pixel
24-bit                             y                           –                      uint8 3 samples/pixel
32-bit                             y                           –                      uint8 3 samples/pixel
(1 byte padding)

CUR — Cursor File
Supported Bitdepths   No Compression   Compression   Output Class
1-bit                              y                              –                      logical
4-bit                              y                              –                      uint8
8-bit                              y                              –                      uint8

Format-specific syntaxes:

[…] = imread(…, idx) //  Membaca satu image dari ikon multi-image atau Cursor file. Idx adalah sebuah nilai integer yang khusus yang terlihat didalam sebuah file. sebagai contoh jika idx adalah 3, imread membaca gambar ketiga dalam file. Jika Anda menghilangkan argumen ini, imread membaca gambar pertama dalam file.


[A, map, alpha] = imread(…) //  Mengembalikan AND mask untuk sumber daya, yang dapat digunakan untuk menentukan transparansi informasi. Untuk file kursor, masker ini hanya berisi data yang berguna.

Daftar Spesifikasi Format Gambar

Berikut ini adalah Daftar dari Spesifikasi Format Gambar yang ada. Daftar dibuat berdasarkan urutan alpabet dari nama format dan fungsinya.

BMP — Windows Bitmap
JPEG — Joint Photographic Experts Group
PNG — Portable Network Graphics
CUR — Cursor File
JPEG 2000 — Joint Photographic Experts Group 2000
PPM — Portable Pixmap
GIF — Graphics Interchange Format
PBM — Portable Bitmap
RAS — Sun Raster
HDF4 — Hierarchical Data Format
PCX — Windows Paintbrush
TIFF — Tagged Image File Format
ICO — Icon File
PGM — Portable Graymap
XWD — X Window Dump

Related Posts Plugin for WordPress, Blogger...