Cairo和opencv mat間的轉換??
uj5u.com熱心網友回復:
這個步驟能夠完成多數的轉換,但是在后續進行通道切分時極其容易crash,原因未知。Mat MC4 = Mat(cairo_image_surface_get_width(surface),
cairo_image_surface_get_height(surface),CV_8UC4,
cairo_image_surface_get_data(surface),cairo_image_surface_get_stride(surface));
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/273844.html
標籤:Qualcomm開發
上一篇:GTK如何跨執行緒重繪UI?
