Date: 15 Dec 89 10:55:51-PST
From: Vision-List moderator Phil Kahn <Vision-List-Request@ADS.COM>
Errors-to: Vision-List-Request@ADS.COM
Reply-to: Vision-List@ADS.COM
Subject: Vision-List delayed redistribution
To: Vision-List@ADS.COM

Vision-List Digest	Fri Dec 15 10:55:52 PDT 89

 - Send submissions to Vision-List@ADS.COM
 - Send requests for list membership to Vision-List-Request@ADS.COM

Today's Topics:

 Re: range images
 stereo pair images wanted
 Moment Invariants
 raster to matlab

----------------------------------------------------------------------

Date: Mon, 11 Dec 89 13:54:28 BST
From: Guanghua Zhang <guanghua%cs.heriot-watt.ac.uk@NSFnet-Relay.AC.UK>
Subject: Re: range images

It was mentioned before that several sets of range images can be obtained
from the M. Rioux and L. Cournoyer. They can also provide with the registered
pairs of the intensity and range images ( I think for one set ). But I don't 
know how they register the two images, two perspective, two orthogonal or 
one perspective and one orthogonal with converting parameters.


Their address is:
Photonics and Sensors Section
Laboratory for Intelligent Systems'Division of Electrical Enfineering
Natonal Research Council of Canada
Ottawa, Otntario, Canada
K1A 0R8  

------------------------------

Date: Tue, 12 Dec 89 17:44 +0100
From: KSEPYML%TUDRVA.TUDELFT.NL@CUNYVM.CUNY.EDU
Subject: stereo pair images wanted

I am in need of stereo pair images, both real world and constructed, as
input for a human stereo-vision algorithm.
Does anybody have such images available?

Alexander G. van der Voort
Koninklijke Shell Exploratie en Produktie Laboratorium
Volmerlaan 6
2288 GD Rijswijk
The Netherlands

[ As usual, please post answers to the List.
		phil...	]

------------------------------

Date: 15 Dec 89 15:45:05 GMT
From: Manickam Umasuthan <suthan%cs.heriot-watt.ac.uk@NSFnet-Relay.AC.UK>
Subject: Moment Invariants
Organization: Computer Science, Heriot-Watt U., Scotland

I am very much interested to know whether any one has done research on
the application of moment invariants to practical problems ( mainly 3D
images using 3D moment invariants ).

M.UMASUTHAN

------------------------------

Date: Fri, 8 Dec 89 15:03:17 PST
From: ramin@scotty.Stanford.EDU (Ramin Samadani)
Subject: raster to matlab

Regarding raster to matlab conversion. I've taken some licensed stuff out of
the code we use and came up with the following which has the main parts 
for converting a file containing unsigned chars (rows*cols of them) to a
matlab readable format. It is currently hardwired for a vax but could
easily be modified for suns and macs, etc. Also, since I took the licensed
stuff out, the rows and cols are hardwired right now but that should be
easy to fix. The code follows, with no guarantees at all! 

	Ramin Samadani


/* imagetomat.c - writes a matrix matlab can
 * 					read. Double format output,byte
 *					format input for now.
 *
 * usage: matrix-name <in.hpl >out.mat
 *
 * to load: cc -o name name.c -O
 *
 * Ramin Samadani - 6 May 88
 */
int rows = 128;
int cols = 128;

#include <stdio.h>
typedef struct {
	long type; /*type*/
	long mrows; /* row dimension */
	long ncols; /* column dimension */
	long imagf; /* flag indicating imag part */
	long namlen; /* name length (including NULL) */
	} Fmatrix;
char *prog;

main(argc,argv)
        int argc;
        char *argv[];
{
/* VARIABLES */
    int rows,cols, i,j;
    unsigned char *ifr;
    double *ofr;
/*
 * Matlab declarations 
 */
    char *pname; /* pointer to matrix name */
    float *pr; /* pointer to real data */
    FILE *fp;
    Fmatrix x;
    int mn;

    prog = argv[0];

/*
 * check passed parameters
 */

    if (argc < 2) {
        fprintf(stderr,"use: %s matrix name <filein  >fileout\n",prog);
        exit(1);
    }
    if ((pname = (char *) calloc(80,sizeof(char))) == NULL) {
        fprintf(stderr,"%s: can't allocate matrix name\n",prog);
        exit(1);
    }
    pname = argv[1];
    x.type = 2000;
    x.mrows = (long) cols;
    x.ncols = (long) rows;
    x.imagf = 0;
    x.namlen = strlen(pname) + 1;
    fprintf(stderr,"matrix %s has %ld rows, %ld cols, double precision\n",
    	pname, x.mrows,x.ncols);
    rows = rows; cols = cols;

    if ((ifr = (unsigned char *) calloc(rows*cols,sizeof(char))) == NULL){
        fprintf(stderr,"%s: can't allocate input frame\n",prog);
        exit(1);
    }
    if ((ofr = (double *) calloc(rows*cols,sizeof(double))) == NULL){
        fprintf(stderr,"%s: can't allocate output frame\n",prog);
        exit(1);
    }
    if (read(0,ifr,rows*cols*sizeof(char)) == -1) {
        fprintf(stderr,"%s: can't read frame\n",prog);
        exit(1);
    }

/* MAIN PROCESSING */
    mn = x.mrows*x.ncols;
    for (i = 0; i < mn; i++) {
        ofr[i] = (double) (ifr[i]&0377);
    }
    

/*
 * write the matrix
 */
    if(write(1,&x,sizeof(Fmatrix)) != sizeof(Fmatrix)) {
    	fprintf(stderr,"%s: can't write matrix header\n",prog);
    	exit(1);
    }
    if(write(1,pname,(int)x.namlen*sizeof(char)) != 
    		(int)x.namlen*sizeof(char)) {
        fprintf(stderr,"%s: can't write name of matrix\n",prog);
        exit(1);
    }
    if (write(1,ofr,mn*sizeof(double)) != mn*sizeof(double)){
        fprintf(stderr,"%s: can't write matrix data\n",prog);
        exit(1);
    }
}


------------------------------

End of VISION-LIST
********************
