"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Apply filter to image

Hi.

I wish to manipulate augmented frames before sending them to the display ,

For example : applying a black/white filter to an augmented frame.

I know i can change specific pixel colors by using the vertex & fragment shaders, but i wish to know if there is a way to apply filters directly to the augmented frames (not through the shaders)?

 

i am currently working under IOS.

is there a way to do so ? 

 

 

thanks

 

ozi

The background texture access sample shows how to manipulate the image.

https://developer.vuforia.com/resources/sample-apps/background-texture-access-sample-app

 

N

 

AlessandroB

Tue, 09/24/2013 - 13:45

Hi, to achieve that without using Shaders you would need to render the background video in a first step, then capture it into a buffer using glReadPixels(), then manipulating / editing the pixels in the buffer, reupload it to a texture, bind the texture and render normally.