inspirit / gpuimage Goto Github PK
View Code? Open in Web Editor NEWAS3 framework for GPU-based image processing
AS3 framework for GPU-based image processing
Hi, Im trying to make a similar library for Android. It accepts ColorMatrix of 5x4 size , but the filters & effects here are not of that format. Could you convert them to 5x4 or explain how to?
5x4 :
[ a, b, c, d, e,
f, g, h, i, j,
k, l, m, n, o,
p, q, r, s, t ]
When applied to a color [R, G, B, A], the resulting color is computed as:
R’ = a_R + b_G + c_B + d_A + e;
G’ = f_R + g_G + h_B + i_A + j;
B’ = k_R + l_G + m_B + n_A + o;
A’ = p_R + q_G + r_B + s_A + t;
That resulting color [R’, G’, B’, A’] then has each channel clamped to the 0 to 255 range.
catch (err:Error)
{
//_txt.text = "CAN'T CONNECT TO CAMERA :(";
}
do you have any suggestion what could be the problem?
when I set RenderMode to Direct, it runs with webcam on Desktop.
Tested with AIR 3.9 and 4.0
💥
For some reason when using _gpuImg.renderToBitmapData(_myBMPD) on a desktop it works fine, but running it on an iOS Device nothing is written to _myBMPD.
I found your library after looking for an AS3 solution for image processing, in a way similar to https://github.com/BradLarson/GPUImage/.
My question is similar to this request: BradLarson/GPUImage#354, in which I am trying to get the values from an acv file and use those values to make the rgb image adjustments.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.