Reader for Streampix 3 (Norpix) movie files. These files typically have a .seq
extension.
- Read only
- Untested for anything other than 8 bit data.
h=Seq('my.seq');
imshow(read(h,length(h))); % read the last frame
#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);
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:
mkdir build
cd build
cmake ..
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.
with Microsoft Visual Studio:
-
Open the
tps.sln
file that has been created in the build directory. -
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.