www.pudn.com > 医学算法.rar > merge
.TH MERGE 1 "Ultrasonics Laboratory" .SH NAME merge - Add two 128 x 128 Images together .SH SYNOPSIS merge pic1 pic2 .SH DESCRIPTION This program reads two 128 x 128 pictures and adds them together. All input, output data and internal results are eight bit numbers. The two pictures to add are read in from the files .B pic1 and .B pic2. The result is placed into the file .B pic .SH FILES .TP 8 pic is the output file (128 x 128 eight bit pixels) .SH DIAGNOSTICS Error messages are printed for all errors in opening files. .SH BUGS The two pixels are simply added. No check is made to see if the result fits properly into eight bits.