Important alert: (current site time 7/16/2013 3:30:51 AM EDT)
 

winzip icon

Line Art and Edge Detection

Email
Submitted on: 9/23/2000 7:43:24 AM
By: Arvinder Sehmi 
Level: Advanced
User Rating: By 39 Users
Compatibility: VB 5.0, VB 6.0
Views: 42555
author picture
(About the author)
 
     This App takes a colour image, and turns in into an black and white outline (see screenshot). This is useful for touching up scaned drawing or cartoon pictures. It was designed to help a teacher, that wants to scan pictures and get rid of the coulour, so that the kids could then colour it in.

 

Windows API/Global Declarations:

Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
'**************************************
'Windows API/Global Declarations for :Line Art and Edge Detection
'**************************************
Getpixel api
Setpixel api
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 3 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
9/23/2000 1:37:41 PMTeco

That's really cool. Good job
(If this comment was disrespectful, please report it.)

 
9/23/2000 10:14:26 PMNathan Chere

Nice work. It doesn't work well with pale colours or items scanned from magazines for me but otherwise tops. 5 globes.
(If this comment was disrespectful, please report it.)

 
9/24/2000 2:32:30 PMxim

Nice work. I would suggest playing with the tolerance for anyone having problems getting a quality image with "monochromatic" or low definition images. The results vary widely.
(If this comment was disrespectful, please report it.)

 
9/25/2000 12:37:39 PMArvinder Sehmi

Yes, I agree xim. I also suggest playing with the red, green and blue tick-boxes. If an image mainly consists of red, and you want to get rid of it,
try only having the red ticked. This should also give better results.

And Thanks For The Comments on My Code.
(If this comment was disrespectful, please report it.)

 
9/25/2000 1:29:31 PMSimon Price

Well done, an interesting and useful app. 5 globes from me.
(If this comment was disrespectful, please report it.)

 
1/19/2001 6:47:36 PMNiall Mooney

Great (I have that picture of a weedle too) your advanced graphics progs deserve the masses of votes they get!
(If this comment was disrespectful, please report it.)

 
1/20/2001 1:12:59 AMDopePope

Way to be British. Good Job.
(If this comment was disrespectful, please report it.)

 
6/25/2001 8:13:54 PMMaher I. Rajab

Dear Arvinder,

I am a PhD student in university of
nottingham, uk. School of electrical and electronic engineering.

My research is exactly in need of excellent work like the work you present.

Briefly, in these days I am finalizing by practical experiments in edge detectors arbitration using neural networks. I realy keen to include in my thesis the recent edge detectors.

Would you please e-mail me with your recent publications so that I can refer to them in my writing.

Many Thanks,
Maher I. Rajab
http://sites.netscape.net/rajabmah
or
http://maher.rajab.all-saudi.com
or
http://maher.rajab.50megs.com
or
http://www.geocities.com/rajabmah


(If this comment was disrespectful, please report it.)

 
7/16/2001 11:42:39 AMAl Moledina

Awesome, 5 globes
(If this comment was disrespectful, please report it.)

 
10/11/2001 4:28:53 AMashutosh

it does not found one dll file when
downloaded exe file is executed.
(If this comment was disrespectful, please report it.)

 
5/8/2002 4:38:24 PMDavid Moberg

Very nice app. Adobe should put a function like this into Photoshop. It's useful for me, as I don't make very good line art, yet your program does most of the work for me. Keep up the good work.
(If this comment was disrespectful, please report it.)

 
6/30/2002 3:01:07 PMAnup

I should say a really great work. You saved lot of my time for my project. Thanks a million for this. I'm also working on edge detectors and your code is the simplest I've seen so far. Really thankful to you.
(If this comment was disrespectful, please report it.)

 
12/17/2002 1:59:24 AMAgung Nugroho

OMG!! It really works! Thanks for sharing it..
(If this comment was disrespectful, please report it.)

 
3/3/2004 8:48:52 AMgurpreetsingh

Pajii ,Wadia kum J. Tusi baut agee javogeee. It works wonderfull. 5 * frm me also.
Regards
Er. Gurpreet Singh
(If this comment was disrespectful, please report it.)

 
4/29/2004 4:46:23 AMM.Subbarao

this is great, keep it up
(If this comment was disrespectful, please report it.)

 
3/26/2005 10:11:32 PM

It's realy great work man. keep it up.
(If this comment was disrespectful, please report it.)

 
3/26/2005 10:12:41 PM

This is realy great work

(If this comment was disrespectful, please report it.)

 
8/3/2007 5:24:55 AMsiblingjam

i like u'r design....
u rock..
(If this comment was disrespectful, please report it.)

 
8/8/2007 9:55:57 AMlopiga

god
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.