I am new in opencv. I am trying to make an application to transform an image to an "old picture" effect. can anybody help me with the algorithm? or is there any sample code for this? I am using C language...
Asked
Active
Viewed 3,377 times
1 Answers
3
Image transformations, including converting to sepia ("old picture" style), can be accomplished using matrix operations.
EDIT: A different transformation called "grain effect" can be accomplished by drawing on each frame:
- White specs of dust at random locations about the x- and y- axis,
- A white bar that spans the whole height of the frame at a random x-axis location, and;
- A circular flicker spanning out from the center of the frame of a random intensity.
This is a good tutorial for a flash-based version. Just translate what's done there into C.

jmkeyes
- 3,751
- 17
- 20
-
sepia is not exactly an "old picture" effect. there is one more effect that i found... "old movie" effect. how to achieve that? – Sayak Apr 20 '11 at 08:23
-
Edited the post and added another option for "Grain effect". Check out Wikipedia to learn about film grain for more about it. – jmkeyes Apr 20 '11 at 22:32