Join TSR now and get all your revision questions answeredSign up now

Image processing Watch

    • Thread Starter
    Offline

    0
    ReputationRep:
    Can anybody help me with this: Name:  pic1.png
Views: 24
Size:  7.1 KB
    • Study Helper
    Online

    3
    (Original post by john212)
    Can anybody help me with this: Name:  pic1.png
Views: 24
Size:  7.1 KB
    Can't say as I know anything about this, but from a small bit of Google'ing, I would suggest, since your gamma transform is an increasing function, then the highest value input will map to the highest value output. Since this is 255 in each case (assuming it maps onto the whole interval), we have:

    255= c(255)^\gamma

    And rearrange to make "c" the subject.

    Best guess!
    • Thread Starter
    Offline

    0
    ReputationRep:
    Ok, thanks very much!
    Offline

    3
    ReputationRep:
    (Original post by ghostwalker)
    Can't say as I know anything about this, but from a small bit of Google'ing, I would suggest, since your gamma transform is an increasing function, then the highest value input will map to the highest value output. Since this is 255 in each case (assuming it maps onto the whole interval), we have:

    255= c(255)^\gamma

    And rearrange to make "c" the subject.

    Best guess!
    As it happens, I know rather a lot about this, but what you say is absolutely correct.

    It's a bit of a weird question through, I think the most common way of doing it is to scale 0-255 to the range 0-1, do the \gamma exponentiation, and then scale back up to the rang 0-255. Reduces the potential for getting scarily large values when raising 255 to an arbitrary power etc.

    [Note also that any "real" image processing app will use a 256 entry lookup table to avoid actually doing calculations for every pixel in the image].
 
 
 
Poll
Is GoT overrated?
Useful resources

Make your revision easier

Maths

Maths Forum posting guidelines

Not sure where to post? Read the updated guidelines here

Equations

How to use LaTex

Writing equations the easy way

Student revising

Study habits of A* students

Top tips from students who have already aced their exams

Study Planner

Create your own Study Planner

Never miss a deadline again

Polling station sign

Thinking about a maths degree?

Chat with other maths applicants

Can you help? Study help unanswered threads

Groups associated with this forum:

View associated groups

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Quick reply
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.