별로 도움은 안되지만,
http://www.phys.huji.ac.il/~barak_kol/HDGR/proceedings/Brustein.pps 
  


f(R) gravity에서 Wald entropy 계산:
D.N. Vollick, Phys. Rev. D76 (2007) 124001, "Noether charge and black hole entropy in modified theories of gravity". http://arxiv.org/abs/0710.1859
 ==> based on the Palatini formalism. connection이 일반적으로 metric compatible 하지 않음. 따라서 covariant derivative에 compatible인 새로운 metric을 이용해서 connection을 표현해야 한다. 이 새로운 metric을 이용하면 metric formalism을 그대로 적용 가능함.


R. Brustein, D. Gorbonos, M. Hadad and A.J.M. Medved, Phys.Rev. D84 (2011) 064011, "Evaluating the Wald entropy from two-derivative terms in quadratic actions". http://arxiv.org/abs/1106.4394   

horizon에서 벗어난 영역에서의 Wald entropy 계산: 
R. Brustein, and A.J.M. Medved, "Gravitational entropy and thermodynamics away from the horizon", http://arxiv.org/abs/1201.5754

728x90
Posted by helloktk
,
728x90
Posted by helloktk
,
728x90
Posted by helloktk
,

WEB cam의 영상에 들어오는 QR코드의 FinderPattern (topLeft, topRight, bottomLeft ==> 붉은색 십자)와 Alignment pattern(==> 초록색 십자)을 찾고, 이를 이용해서 perspective 변환을 구해서 code의 bounding box을 찾는다. Alignment Pattern을 못 찾는 경우에는 bottomRight의 코너(==> 초록색 십자)를 찾고, 그마저도 실패하면, FinderPattern 3 개를 이용하여서 Affine 변환으로 bounding box을 찾는다.

웹  카메라:  이미지 형식: RGB24만 지원 (마이크로소프트의 vx-1000으로 테스트함)
                  이미지 크기: 640x480만 지원
                  영상을 보여주는 Callback함수 내에서 알고리즘을 호출하여서 빠른 컴퓨터에서는 마크가 보이지 않을 수 있음.
테스트용이므로 상업적 사용을 허용하지 않음.
 

 



실행 파일 (detector + decoder 포함):

 

webcamQRv1.1.zip
다운로드

 

 

 

 

 

 

728x90
Posted by helloktk
,

32 비트 머신에서 float 형의 변수는 4 바이트의 메모리 공간을 차지한다. 즉, int와 같은 크기의 메모리가 할당된다. 그리고 4 바이트의 최상위 비트가 1로 세팅이 되면 이 float형의 변수는 음수를 의미한다. 따라서 float 형의 변수의 절댓값을 구하고 싶으면 메모리에 접근해서 4 바이트를 얻어 온 다음 최상위 비트만 0으로 만들고 나머지는 그대로 두면 된다. 비트 마스크를 이용해서 이 과정을 수행하고 싶으면 비트 마스크를

01111111 11111111 11111111 11111111 = 2^31 - 1 = 0x7F FF FF FF

처럼 잡아서 and 연산을 수행하면 된다:

float fast_abs(float fx) {
    int ix = *(int *)&fx ;    // 4 바이트 비트 데이터 정수로 변환;
    ix &= 0x7FFFFFFF;         // MSB 지우기
    return *(float *)&ix ;    // float 형으로 되돌려 줌;
}


 

 

728x90

'Image Recognition > Fundamental' 카테고리의 다른 글

삼각형의 외접원: 외접원의 반지름  (0) 2012.10.13
Ellipse Parameters  (0) 2012.10.13
x 보다 크거나 같은 가장 작은 2^n ?  (0) 2012.02.13
Is Pow of 2  (0) 2012.02.13
Fixed-point RGB2Gray  (0) 2012.01.25
Posted by helloktk
,