NAME
ejpgread - read JPEG-file
SYNOPSIS
[image,head]=ejpgread(jpgFileName)
PARAMETER(S)
imageFileName name of JPEG-file e.g. 'photo.jpg'
image whole JPEG-file in a vector of uchar
head 1 x 4 vector, [sizeOfJpegFile rowsOfImage colsOfImage rgb]
rgb=1 if color image, rgb=0 if black and white image
Stefan Mueller
2003-01-13