Skip to content
/ seq Public

Reader for Streampix 3 (Norpix) movie files for C and Matlab.

Notifications You must be signed in to change notification settings

nclack/seq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Seq

Reader for Streampix 3 (Norpix) movie files. These files typically have a .seq extension.

Caveats

  • Read only
  • Untested for anything other than 8 bit data.

Example

In Matlab

  h=Seq('my.seq');
  imshow(read(h,length(h))); % read the last frame

In C

  #include "seq.h"
  ...
  SeqReader *f = Seq_Open( path );
  void *buf=0;
  if(f)
  { buf=malloc(f->sizebytes);
    im=Seq_Read_Image_To_Buffer(f,0,buf);
    Seq_Close(f);
  }
  ...
  free(buf);

Building

Requires CMake.

You also need a C++ compiler and, optionally, Matlab.

After installing CMake, and making sure it's on your path. The first steps look the same for most operating systems. Open a terminal, change directory to where you cloned this repository, and then type:

Configure

Everywhere

  mkdir build
  cd build
  cmake ..

Build

On OS X and *nix:

   make package

This will build a .tgz file you can unpack somewhere. All the matlab stuff will be assembled in a matlab subdirectory in that package.

Note you might want to use cmake-gui to edit the kinds of packages that get generated. See the CPACK options.

On Windows

with Microsoft Visual Studio:

  1. Open the tps.sln file that has been created in the build directory.

  2. Build the PACKAGE target in the solution that opens up. This should[1] build an executable installer in the build directory. It will install to something like: "C:\Program Files\seq". You can also configure the build to produce a .zip file archive if you don't want the installer.

[1]: My CMakeLists.txt might be missing some stuff required for the NSIS installer. This is untested at the moment.

About

Reader for Streampix 3 (Norpix) movie files for C and Matlab.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published