Permalink
Browse files

No commit message

  • Loading branch information...
1 parent 98c019e commit 289cf7ed6a132bb338318d539ce1109e35f14756 @onelson committed Jan 19, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 buttercup/specimen/process.py
@@ -10,7 +10,7 @@ def DoCanny(infile, outfile, lowThresh=LOW, highThresh=HIGH, aperature=APERATURE
lowThresh = float(lowThresh)
highThresh = float(highThresh)
- pi = ImageOps.posterize(ImageOps.grayscale(Image.open(infile)), 6)
+ pi = ImageOps.grayscale(Image.open(infile))
cv_img = cv.CreateImageHeader(pi.size, IPL_DEPTH_8U, 1)
cv.SetData(cv_img, pi.tostring(), pi.size[0])
out = cv.CreateImage(cv.GetSize(cv_img), IPL_DEPTH_8U, 1)

0 comments on commit 289cf7e

Please sign in to comment.