takes,colour,image,turns,into,black,white,out
Quick Search for:  in language:    
takes,colour,image,turns,into,black,white,out
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
RentACoder Stats

 Code:  lines
 Jobs: 0 postings

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for RentACoder.
Wrapping Scrolling Text
By Paranoid_Androi d on 7/2


Create A Dummy File
By AML on 7/2


Click here to see a screenshot of this code!Captionbar manipulation!
By Peter Hebels on 7/2

(Screen Shot)

A Game Of War
By Co0nest on 7/2


Click here to see a screenshot of this code!KeyGen Example
By Bengie|NET on 7/2

(Screen Shot)

Click here to see a screenshot of this code!OpenBrowser v1.9
By Orlando Jerez on 7/2

(Screen Shot)

SendMessageBySt ring() Example
By Jaime Muscatelli on 7/2


Click here to see a screenshot of this code!FirstSunday
By Jan Paul Penning on 7/2

(Screen Shot)

Click here to see a screenshot of this code!Ikonz v1.0
By Gaurav Creations on 7/2

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

Line Art and Edge Detection

Print
Email
 
winzip icon
Submitted on: 9/23/2000 7:43:24 AM
By: Arvinder Sehmi  
Level: Advanced
User Rating: By 30 Users
Compatibility:

Users have accessed this code 11920 times.
 

(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 :L
    //     ine 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 Winzipto 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.

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 langauges 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 4 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
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 9:58:15 AM:Jason Foral
Do you like Pokemon? Otherwise, great 
code! Keep it up!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/23/2000 1:37:41 PM:Teco
That's really cool. Good job
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/23/2000 10:14:26 PM:Nathan Chere
Nice work. It doesn't work well with 
pale colours or items scanned from 
magazines for me but otherwise tops. 5 
globes.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/24/2000 2:32:30 PM:xim
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.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/25/2000 12:37:39 PM:Arvinder 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.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/25/2000 1:29:31 PM:Simon Price
Well done, an interesting and useful 
app. 5 globes from me.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/19/2001 6:47:36 PM:Niall Mooney
Great (I have that picture of a weedle 
too) your advanced graphics progs 
deserve the masses of votes they get!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/20/2001 1:12:59 AM:DopePope
Way to be British. Good Job.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/25/2001 8:13:54 PM:Maher 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/rajabma
h
or
http://maher.rajab.all-saudi.com
or
http://maher.rajab.50megs.com
or
http://www.geocities.com/rajabmah
  
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/16/2001 11:42:39 AM:Al Moledina
Awesome, 5 globes
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/11/2001 4:28:53 AM:ashutosh
it does not found one dll file 
when
downloaded exe file is executed.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/8/2002 4:38:24 PM:David 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.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/30/2002 3:01:07 PM:Anup
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.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | RentACoder Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.