Log in

View Full Version : nnedi2_rpow2 on ARGB image?


shoopdabloop
11th October 2009, 21:35
I was just wondering how I would go about using nnedi2_rpow2 on an ARGB image while still keeping the alpha intact, and maybe without leaving RGB24-background-color artifacts on the edges of the non-transparent parts?

Thanks in advance!

thewebchat
11th October 2009, 23:38
Use the MergeARGB function to remap the channels and play magical chroma.

IanB
11th October 2009, 23:45
Not the fastest, but this may help bootstrap you along, ......
A=ShowAlpha("YV12")
R=ShowRed("YV12")
G=ShowGreen("YV12")
B=ShowBlue("YV12")

A=A.nnedi2_rpow2...
R=R.nnedi2_rpow2...
G=...
B=...

MergeARGB(A, R, G, B)