An OpenCV::VideoCapture like implementation for multi-directory TIFF media using libtiff
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Makefile
README.md
main.cpp
screen.png
test.tiff
tiffcapture.cpp
tiffcapture.hpp

README.md

TIFFCapture

An OpenCV::VideoCapture like implementation for multi-directory TIFF media using libtiff

Requirements

  • libopencv-dev
  • libtiff-dev

Methods

  • TIFFCapture(const char* tifffile)
  • bool open(const char* tifffile)
  • bool isOpened()
  • void release()
  • void operator >> (Mat& image)
  • bool read(Mat& image)
  • int get(int propId)

Properties

  • TIFF_CAP_PROP_FRAME_COUNT
  • TIFF_CAP_PROP_FRAME_HEIGHT
  • TIFF_CAP_PROP_FRAME_WIDTH
  • TIFF_CAP_PROP_FRAME_POS

Example

See main.cpp. Run make then execute ./TIFFCapture.

TIFFCapture

Doesn't Work on Windows?

Use Linux or OS X. :)