cascade multi shader

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

cascade multi shader

1,092 次查看
sanzhang
Contributor I

How do we cascade multi shaders (vertex and fragment) on imx6? For example, I have loaded an image as a texture to GPU, and I want to find edges in an image using the line detection technology with hough transform. First, a frag shader is created to change a color image to a grey image. Next, a kernel filter is adopted in another fragment shader to find all the edges in the previous grey image. Finally, a hough transform technology is used in other shader files (maybe fragment shader, geometry shader, vertex shader) based on the result of the second step. If I could look into some related documents and sample codes, it will be great. Thanks in advance.

标签 (1)
0 项奖励
回复
1 回复

1,008 次查看
igorpadykov
NXP Employee
NXP Employee

Hi San

please check attached document and

AN4629 Fast Image Processing with i.MX 6 Series
http://www.nxp.com/files/32bit/doc/app_note/AN4629.pdf  
http://imxcv.blogspot.ca/2014/02/building-opencv-24x-for-freescales-imx6.html

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复