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

  • SEARCH
  • Home
  • 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 6139451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:59:30+00:00 2026-05-23T17:59:30+00:00

I am now looking for a lib that can change the color effect. Though

  • 0

I am now looking for a lib that can change the color effect.
Though the popular image processing lib such as opencv can do sufficient color transformation,
the details of the transformation matrix of a certain style remain unavailable to me.

So is there any book or lib that introduces how to apply a certain effect such as ones in lomography?

  • 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-05-23T17:59:30+00:00Added an answer on May 23, 2026 at 5:59 pm

    From the comments it seems you would like to replicate “step by step” the Photoshop tutorial pointed by @0x69.

    With Mathematica 8, I did the following:

    Step1. I copied the picture from the tutorial

    enter image description here

    Step2. Define the point-based function that will change the red channel and apply it

    redfun[x_, s_] := 1/(1 + E^(-((x - 0.5)/s)));
    Plot[{t, redfun[t, .1]}, {t, 0, 1}, AspectRatio -> 1]
    img2 = ImageApply[{redfun[#[[1]], .1], #[[2]], #[[3]]} &, img]
    

    enter image description here

    Step3. I don’t know the algorithm used for color balancing by Photoshop, so let’s skip those and create directly a vignette. The color balancing would change things quite a bit.

    Step4. Vignette creation:

    vignette = ColorNegate@ImageAdjust[
                   DistanceTransform[Image[1 - BoxMatrix[1, Reverse@ImageDimensions@img2]]],
                   {0, 0, 2}, {Automatic, Automatic}]
    

    enter image description here

    You can just multiply the two images, or use fancier overlaying modes (see the documentation of ImageCompose):

    ImageMultiply[img2, vignette]
    

    enter image description here

    It would be quick and easy to tweak things around and change the final result.

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

Sidebar

Related Questions

I'm looking for help with a one-liner that I can run from the Mac
I'm recently started to learn Twisted framework and now looking for some cheat sheets/reference
I've recently started down the road of programming in Objective-C, and I'm now looking
I've got Dim Tables, Fact Tables, ETL and a cube. I'm now looking to
For our site, Im using a lot of jQuery - right now Im looking
I asked this question a while back but now I'm looking to implement an
I'm familiar with .NET and with SQL. Now I'm looking at the new LINQ
I'm operating a neighbourhood WIFI network in a rural environment . Now I'm looking
I have been writing articles on the wordpress.com blog , now I am looking
I was looking through a code tutorial just now, and found something interesting --

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.