Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image to pencil sketch android #2

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 2 comments
Open

image to pencil sketch android #2

GoogleCodeExporter opened this issue Mar 14, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Good day

I am doing an internship in Android. I am a novice right now. I have been 
allotted a project which requires converting an image into a pencil sketch.

I tried it using two methods
1. convert to grayscale
2. invert the image
3. GaussianBlur
4. colorDogde image 3 and image 1

and

1. SobelEdgeDetection
2. Invert the image

but both give a very hazy effect

Can anybody suggest me improvements on this?

Thanks

Original issue reported on code.google.com by dhwanich...@gmail.com on 4 Feb 2014 at 7:54

@GoogleCodeExporter
Copy link
Author

Hello, try using Minimum filter with radius 2-3 instead of Gaussian Blur filter.

Original comment by madfo...@gmail.com on 27 Apr 2014 at 7:32

@Droidude
Copy link

I will recommend you reading the algrorithm https://github.com/geraintluff/canvas-sketch here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants