Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

imaqBCGLookup

Hi,

 

What kind of formula does imaqBCGLookup perform brightness conversion?

I assume it's y = 255*((tan(contrast)(x-128) + brightness)/255)^gamma.

Is it right?

 

 

0 Kudos
Message 1 of 3
(982 Views)

How did you come up with this formula?

Did you see it somewhere? I could not find it.

0 Kudos
Message 2 of 3
(857 Views)

@tottorico wrote:

Hi,

 

What kind of formula does imaqBCGLookup perform brightness conversion?

I assume it's y = 255*((tan(contrast)(x-128) + brightness)/255)^gamma.

Is it right?

 

 


Almost right.

 

Quick and dirty test:

 

Screenshot 2021-05-05 16.43.53.png

0 Kudos
Message 3 of 3
(852 Views)