Advertisement
Guest User

Untitled

a guest
Apr 28th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. for (int j = 0; j <= 5; ++j) {
  2. std::cout << "Train with image " << j << std::endl;
  3.  
  4. char *file = new char[255];
  5. sprintf(file, "C:\\Users\lab\\Downloads\\conv_images\\img1_%d", j);
  6. float *in = ImageTools::readImageGray8ToFloat(QString(file), w, h, 0.1, 0.9);
  7. images.push_back(in);
  8.  
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement