Created
July 31, 2012 21:21
-
-
Save pingswept/3220679 to your computer and use it in GitHub Desktop.
Testing OpenCV on the Rascal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@rascal14:/var/www/public/static/images]: python | |
Python 2.6.6 (r266:84292, Jun 18 2012, 19:18:49) | |
[GCC 4.3.3] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import cv | |
>>> im = cv.LoadImageM('rascal.png', 1) | |
>>> dst = cv.CreateImage(cv.GetSize(im), cv.IPL_DEPTH_16S, 3) | |
>>> laplace = cv.Laplace(im, dst) | |
>>> cv.SaveImage('rascal-laplace.png', dst) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment