ima-load.cc 149 Bytes
Newer Older
1
2
3
# include <mln/core/io/pbm/load.hh>
int main()
{
Guillaume Lazzara's avatar
Guillaume Lazzara committed
4
5
6
  using namespace mln;
  // \{
  image2d<bool> ima;
7
  io::pbm::load(ima, "my_image.pbm");
Guillaume Lazzara's avatar
Guillaume Lazzara committed
8
  // \}
9
}