글
디스플레이 장치에서 감마(gamma)란 무엇인가?
(구식 TV에 쓰인 장치를 참고로 한다..)
디스플레이 장치는 input voltate를 받아서 illumination을 만들어내는데,
이 때 input voltage와 illumination 간의 관계는 linear하지 않고, exponential 한 관계를 보인다.
이 때 exponent(power) number를 우리가 이야기하는 gamma라고 부른다.
따라서 우리가 카메라로 찍은 영상을 voltage로 변환하여 그대로 TV로 보냈다가는 실세계와 illumination에 엄청난 차이가 있을 수밖에 없었다.
그래서 TV 엔지니어들이 사용했던 방식은 inverse funtion을 집어넣는 것이었다.
그 결과, 실세계와 diplay 장치 간의 illumination에 linear한 관계를 얻을 수 있었다.
우리가 디스플레이 장치의 gamma를 조절하는 것은 이와 같은 수치를 조절하여 illumination을 조절하는 것이라고 보면 되겠다.
* Ref
[1] https://moocs.qut.edu.au/courses/791/learn
'Research > Robot Vision' 카테고리의 다른 글
Aliasing (0) | 2015.06.29 |
---|---|
Morphology - Erode / Dilate image (0) | 2015.05.27 |
Correlation and Convolution (1) | 2015.05.22 |
Monadic operation, Diadic operation, Spatial operation (0) | 2015.05.22 |
글
MATLAB에서 Figure docking (default)
MATLAB을 사용하다보면 figure를 main GUI에 docking하고 싶을 때가 있다. (default로..)
아래를 참조하면 된다!!
I just wanted to pass along a small tip that you might find useful. If you’ve become as big of a fan of docked figures as I have, you might be looking for a way to have figures docked by default when they are created. This is easy to do (but not obvious) by modifying default figure properties. The following command will cause all subsequent new figures in the current MATLAB session to open docked:
Put this command in your startup.m file for this to be the default behavior for every MATLAB session.
Don’t like it?
This will set things back to normal.
Want to understand how this command works?
This is the standard graphics set command. The first argument is the handle to the root graphics object, i.e. the screen. This applies to all subequently generated graphics objects. When a figure is docked, it’s WindowStyle property is set to ‘docked’. Since this is a Figure property, I can modify it’s default behavior by appending DefaultFigure to WindowStyle. Hence,
* Ref.
[1] http://blogs.mathworks.com/pick/2005/11/15/default-docked-figures/
'Skills > Programming' 카테고리의 다른 글
[OpenGL] 3D coordinates from 2D mouse click ( Convert Screen Coordinate to World Coordinate ) (0) | 2015.06.22 |
---|---|
KB954430 자꾸만 다시 설치하라고 할 때.. (0) | 2015.06.08 |
[Assertion failed] wincore.cpp error line 952 (0) | 2015.01.15 |
C++ 반전 연산자~와 논리 연산자 !의 차이 (0) | 2014.12.16 |
공유 메모리를 이용한 IPC (0) | 2014.12.15 |