www.pudn.com > nurbs++3_0_10.zip > tleastS.C


#include 

int main(){
  using namespace PLib ; 
#ifdef WITH_IMAGE_MAGICK
  IM_Image img ;

  if(!img.read("tleastS.png")){
    cout << "Problem reading the tleastS.png image.\n" ;
    return 1 ;
  }

  Matrix_Point3Df Pts(img.rows(),img.cols()) ;
  for(int i=0;i