Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9242323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:33:28+00:00 2026-06-18T08:33:28+00:00

Was wondering whether anyone know how to do the following in SimpleCV. I would

  • 0

Was wondering whether anyone know how to do the following in SimpleCV. I would like to colour correct a photo, so that if it’s under or over exposed it is corrected. I believe cameras do this by taking an average of the colours and then adjusting the colours to turn the average into a 50% grey. This simple method should work ok for my scenario.

If anyone has some example Python code to do this or something more complex it would be much appreciated.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T08:33:29+00:00Added an answer on June 18, 2026 at 8:33 am

    There is a function built into SimpleCV:

    balanced_img = Image('myphoto.jpg').whiteBalance('GrayWorld') # 'Simple' or 'GrayWorld'
    

    You can read about the white balance methods from links in the SimpleCV docs for whiteBalance

    This does what you described you wanted – adjust the average to a gray-scale. The ‘Simple’ method basically stretches the color range for each channel from 0 – 255 after clipping some of the outliers.

    You can also do color correction with functions like applyRGBCurve.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Was wondering whether anyone would know why do we use the parentheses in this
I was wondering whether anyone knows of any tools available that perform the task
I'm just wondering, does anyone know, whether uniqid function in PHP has a certain
I was wondering whether Lua has any preemptive multitasking facilities built-in. I would like
Just wondering whether anyone knows how to get blogger labels into alt tags in
I was wondering whether anyone could assist me. When the user clicks the menu
I was wondering whether anyone knows definitively if LINQ to SQL has the capability
I'm wondering whether anyone has been able to use the Microsoft Chart control in
I was wondering whether anyone had any recommendations regarding populating multiple view models on
I was wondering if anyone knew whether taskmgr.exe in Windows Vista/7 was extend-able via

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.