Oas2pics reads a specified segment of orientation arrays (oas) from a file, and makes IHead raster images depicting the oas. This can be useful for testing whether oas are reasonable, and to find out about their characteristics.
A PCASYS "matrix" file containing orientation arrays, with each row being one oa. First dimension is number of oas in the file, and second dimension must be 1680 (the dimensionality of one oa). (Usually the output of mkoas.)
The program makes pictures of the segment consisting of oas i_start through i_finish, numbering starting at 1.
The program makes image files in this directory. (If the directory does not already exist, the program makes it.) The files will have names i.pct where i goes from i_start through i_finish.
If y, the program writes a progress message to stdout for each oa it is making a picture of.
From test/pcasys/execs/asc2bin/asc2bin.src:
% oas2pics ../../data/oas/fv1.oas 1 2 oaspics y Makes a set of images files (IHEAD format) so the user can see how the orientation arrays look and compare to the actual fingerprint image if desired. The files can be converted to JPEG format using the cjegb command.