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.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I found out the way to do it. I used gilView.row_begin(0)