3.5

3.5 | 2 ratings Rate this file 14 Downloads (last 30 days) File Size: 104.86 KB File ID: #18579

LZW encoder/decoder

by Claudiu Giurumescu

 

01 Feb 2008 (Updated 12 Feb 2008)

Implements a TIF compatible LZW encoding/decoding algorithm

| Watch this File

File Information
Description

This package contains the C source code and MEXW32 files for LZW encoder/decoder functions that can be used in Matlab. Just use mex to compile. The encoding/decoding is compatible with TIFF6 specification.
Input to encoder/decoder must be a column vector of doubles, the output will be in int8 format. See the Example.m file in the package on how one can use the encoder/decoder.

MATLAB release MATLAB 7.1.0 (R14SP3)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
21 Jun 2008 rain he

it is nice

15 Jul 2009 Sundaresh  
Please login to add a comment or rating.
Updates
12 Feb 2008

Updated memory allocation mode using calloc rather than malloc. The latter seemed to crash Matlab upon large number of calls of either encoding or decoding mex from a m-file.

Tag Activity for this File
Tag Applied By Date/Time
compression Claudiu Giurumescu 22 Oct 2008 09:46:00
lzw Claudiu Giurumescu 22 Oct 2008 09:46:00
encoder Claudiu Giurumescu 22 Oct 2008 09:46:00
decoder Claudiu Giurumescu 22 Oct 2008 09:46:00
decompression Claudiu Giurumescu 22 Oct 2008 09:46:03
tif Claudiu Giurumescu 22 Oct 2008 09:46:03
lzw izaz ahmed 18 Nov 2008 05:48:39
compression heba 12 Dec 2011 03:43:08
decoder heba 12 Dec 2011 03:43:10
decompression heba 12 Dec 2011 03:43:13
encoder heba 12 Dec 2011 03:43:16
lzw heba 12 Dec 2011 03:43:17

Contact us at files@mathworks.com