New in Wolfram
Mathematica
8: Dynamic Library Loading
◄
previous
|
next
►
Software Development
Build a Video Player in Less than 500 Lines of Code
Here are example applications using
LibraryLink
, which have a video playing in real time as different image processing filters are applied.
In[1]:=
X
VideoProcessing["movie.avi", "ProcessingFunction" -> #] & /@ {Identity, Erosion, ColorNegate, ImageConvolve[#, \!\(\* TagBox[ RowBox[{"(", "", GridBox[{ { RowBox[{"-", "1"}], "0", "1"}, { RowBox[{"-", "2"}], "0", "2"}, { RowBox[{"-", "1"}], "0", "1"} }, GridBoxAlignment->{ "Columns" -> {{Center}}, "ColumnsIndexed" -> {}, "Rows" -> {{Baseline}}, "RowsIndexed" -> {}}, GridBoxSpacings->{"Columns" -> { Offset[0.27999999999999997`], { Offset[0.7]}, Offset[0.27999999999999997`]}, "ColumnsIndexed" -> {}, "Rows" -> { Offset[0.2], { Offset[0.4]}, Offset[0.2]}, "RowsIndexed" -> {}}], "", ")"}], Function[BoxForm`e$, MatrixForm[BoxForm`e$]]]\)] &}
Out[1]=