3

I have a boost::gil::view which is interleaved. I want to construct my own model from this view which accepts the byte* of raw pixel data. How can I get the raw data pointer from boost::gil::view? I checked its interface, it returns locators and all, but not the raw data pointer. Please help.

Cris Luengo
  • 55,762
  • 10
  • 62
  • 120
Aarkan
  • 3,811
  • 6
  • 40
  • 54

1 Answers1

4

I found out the way to do it. I used gilView.row_begin(0)

Aarkan
  • 3,811
  • 6
  • 40
  • 54