Initial snark14m import
[snark14.git] / src / snark / blob2pix.cpp
1 /*
2  ***********************************************************
3  $SNARK_Header: S N A R K  1 4 - A PICTURE RECONSTRUCTION PROGRAM $
4  $HeadURL: svn://dig.cs.gc.cuny.edu/snark/trunk/src/snark/blob2pix.cpp $
5  $LastChangedRevision: 85 $
6  $Date: 2014-07-02 16:07:08 -0400 (Wed, 02 Jul 2014) $
7  $Author: agulati $
8  ***********************************************************
9
10  This subroutine converts an image function in Blob basis into that in Voronoi basis (square pixels). This subroutine uses blob footprints for speeding up. 
11  */
12
13 #include <cstdio>
14 #include <cmath>
15
16 #include "blkdta.h"
17 #include "blob.h"
18 #include "uiod.h"
19
20 void Blob_class::blob2pix(REAL *blob_array, REAL *pict)
21 {
22         footp(blob_array, pict, 1);
23
24         return;
25 }
26