Articles
DevASP - ASP and XML Articles, Samples, Toturials, Sample Chapters and resources for Developers Sunday, November 23, 2014
Home
Articles & Samples
Dev Search
Sample Chapters
Link to US
Contact
Search Directory
Applications
Articles & Samples
Components
Community
Database
Developer Sites
Downloads
Hosting Services
Introduction
Knowledge Base
Sample Chapters
WebCasts
ASP Directory
Applications
Articles & Samples
Components
Developer Sites
Knowledge Base
Sample Chapters
WebCasts
XML Directory
Applications
Articles & Samples
Developer Sites
Error, Bugs & Fixes
Downloads
Introduction
Knowledge Base
Sample Chapters
WebCasts

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Add Review and Rate the listing.

Home > Search > Downloads > Visual Studio 6.0
Brightness and Contrast       
Total Hits: 806  |  Today: 1 Author: http://www.vbaccelerator.com       Rating:  
Read Reviews | Write Review |              Your Rating: 

To apply a brightness filter you simply add a fixed amount to every pixel in the image and then clamp the result to ensure it remains in the range 0 - 255. To apply a contrast filter, you determine if a pixel is lighter or darker than a threshold amount. If it's lighter, you scale the pixel's intensity up otherwise you scale it down. In code this is done by subtracting the threshold from a pixel, multiplying by the contrast factor and adding the threshold value back again. As with the brighness filter the resulting value needs to be clamped to ensure it remains in the range 0 - 255.

If you would like to add your review of the above resource please complete the form below. All reviews are screened before they are posted on the website. Any malicious, vulgar, or unsubstantiated reviews will be removed.

Review Title:   *
Your Full Name:   *
Email Address:  
Email address will not be displayed with review.
Your Comments: *
Your Rating: *
   

<< Back to listing

DevASP - Privacy - Disclaimer
Copyright 2008 DevASP.com