일출 직후의 사진.
아파트에 걸려있길때 눌러댔더니 휴대폰 기지국 안테나와 달이 나란하게 나왔다.

달까지 휴대폰으로 통화가 되면 얼마나 좋을까?
만렙토끼형~ 떡 한박스요~

'개소리 왈왈 > 사진과 수다' 카테고리의 다른 글

옛날사진들  (2) 2010.06.02
자전거 4시간의 흔적  (8) 2010.05.30
반포대교 분수 야경 (달빛무지개분수)  (2) 2010.05.21
보헤미안 안녕~ 2  (0) 2010.05.21
달, 별  (0) 2010.05.17
Posted by 구차니
예전에 GIMP에서 이미지 합성을 통해 파노라마 이미지를 만들어 보려했는데 처참하게 실패를 했었다.
왜 그랬을까? 하고 검색을 하다 보니, '노달 포인트' 라는 것이 나왔다.

nodal [nóudl] a.
마디 (모양)의, 결절(結節)의; 〖천문학〗 교점의; 〖수학〗 맺힘점의; 〖물리〗 파절(波節)의.

㉺∼ly ―ad.
㉺nodality [noudǽləti] ―n.

[출처 : 한글과컴퓨터 사전]

nodal은 node에서 파생되어 맺힘점/교점이라는 의미로
굳이 번역하자면 맺힘점이 동일한 지점이라고 하면 될듯하다.

일단 nodal point가 맞지 않으면 생기는 문제로
합성시 가까운 물체를 맞추면 먼 물체의 위치가 틀어지고,
먼 물체를 맞추면 가까운 물체의 위치가 틀어지는 문제가 발생한다.


간단하게 이넘의 Nodal Point는 촛점이 생기는 지점으로,
이 지점을 축으로 돌려야지 피사체의 상대거리들이 유지가 되어 이상없이 파노라마를 할 수 있다고 한다.

디지털카메라 또는 일반필림 카메라에 여러 장의 사진을 렌즈 종류마다 각각 다른 촛점거리 (Focal Length)에 따라 달라지는, 렌즈의 교차점인 Nodalpoint를 중심으로 카메라가 회전되면서 촬영하여야 하며, 노달포인트가 맞지 않게 촬영된 사진은 나중에 합성이라는 스티칭 작업을 할수 없거나 연결 부분에 에러가 발생합니다.

[링크 : http://www.3dqtvr.com/swf/panonodal1516v.htm]
    [링크 : http://en.wikipedia.org/wiki/Cardinal_point_%28optics%29]
    [링크 : http://www.kingpano.com/nodal_tut.htm]

렌즈거리는, 렌즈의 중심(렌즈는 두께가 존재하므로)에서 필름면까지의 거리이며,
망원렌즈의 경우 여러장의 렌즈로 구성되는데, 이 경우에는 가상의 렌즈를 동원한다.
아무튼 이 가상의 렌즈에서 굴절이 시작되는데, 이 지점을 제 2 주점이라고 한다.



[링크 : http://www.roundshot.ch/documents/Roundshot_VR_Drive_Instruction_Manual.pdf]

이렇게 생겨먹은 녀석으로, 노달 포인트를 맞추어 360도 구형/원형으로 찍도록 해주는 장비도 있다.



결론 : 포기하면 편해~ OTL
Posted by 구차니
프로그램 사용/GIMP2010. 5. 27. 11:17
다음 뷰에서 HDR로 합성하는 내용이 있어서 봤더니
포토매틱스(photomatix) 라는 프로그램을 쓴다고 한다.
혹시나 해서 GIMP에서도 가능하지 않을까 해서 검색을 해봤는데 현재로서는.. 이미지도 없고 -ㅁ-
집에가서 확인해봐야겠다.

[링크 : http://www.instructables.com/id/HDR-photos-with-the-GIMP/]

[링크 : http://www.hdrsoft.com/] photomatix
    [링크 : http://toycamera.tistory.com/1174]
    [링크 : http://mindman.tistory.com/385]


Posted by 구차니
개소리 왈왈2010. 5. 27. 09:32

아침에 출근해서 메일을 확인하는데..
헉! 갑자기 변해서 놀랬잖아~!

'개소리 왈왈' 카테고리의 다른 글

생애 첫 SATA 하드!  (5) 2010.05.29
리눅스 마스터 1급 최종합격  (8) 2010.05.28
자살에 대한 짧은 생각 - 강 / 바다  (0) 2010.05.24
복귀자 신고?  (0) 2010.05.22
반포대교 분수 분출(!) 시간  (0) 2010.05.21
Posted by 구차니
프로그램 사용2010. 5. 26. 21:57
웹초보님의 구글 크롬 5.0 공식 릴리즈 (맥 & 리눅스 정식 버전 포함) 글을 보고
집에와서 우분투 10.04에서 설치를 하려니...



일단 코리아 우분투 아카이브 폭발(?)로 인해 업데이트 불가.
그래서, 구글 홈페이지에서 deb로 받으니 설치완료


하.지.만
파이어폭스에서도 여전했던, 티스토리 이미지 업로드 시 '사진추가' '확인' 등의 버튼이 가출하는 문제가
크롬에서도 여전히 발생했다.


Posted by 구차니

[공식 : http://www.freetype.org/]
    [freetype 1 : http://freetype.sourceforge.net/freetype1/index.html] << freetype 2로 프로젝트 넘어감
    [freetype 2 : http://freetype.sourceforge.net/freetype2/index.html]


libfreetype은 freetype 프로젝트의 부산물(?)이며, 이녀석은 글꼴을 그려주는 라이브러리이다.
  • By default, FreeType 2 supports the following font formats.

    • TrueType fonts (and collections)
    • Type 1 fonts
    • CID-keyed Type 1 fonts
    • CFF fonts
    • OpenType fonts (both TrueType and CFF variants)
    • SFNT-based bitmap fonts
    • X11 PCF fonts
    • Windows FNT fonts
    • BDF fonts (including anti-aliased ones)
    • PFR fonts
    • Type 42 fonts (limited support)
보다시피 거의 모든 폰트를 지원하며, 벡터/TrueType 폰트/외곽선 폰트 및 비트맵 폰트를 지원한다.
말이 복잡하지만, 간단하게 말해서 확대해도 안깨지는 글꼴과 확대하면 깨지는 글꼴을 지원한다.

그리고 두가지 라이센스를 제공한다. 머 BSD-like 가 GPL보다는 숨통이 트이니 사용자 입장에서는 좋긴하다.
FreeType 2 is released under two open-source licenses: our own BSD-like FreeType License and the GPL.


아무튼, 애플에서 이러한 힌팅기술에 대한 특허를 가지고 있으므로
특허권에 의해서 patented bytecode를 무시하여 약간은 부드럽지 못하게 나온다고 한다.
(아래의 사진을 보면 K R W Z 가 약간 깨어져 보인다.)
What Is Patented

It is important to clarify that the patents only cover a small subset of the TrueType instructions (not the whole process of hinting glyphs with specific bytecode programs). Unfortunately, the patented bytecodes are relatively often used in high-quality glyph programs.

For example, here is a picture showing the ‘Arial’ font with a specific version of the FreeType bytecode interpreter that simply ignores the patented bytecodes.

As you can see, some rather unpleasant artifacts make the font unacceptable for normal reading use.

Is FreeType 2 Affected by the Patents?

The answer is no for any recent build of FreeType 2, since it comes with an ‘auto-hinting’ module that was specifically designed to completely ignore the TrueType bytecode instructions.

However, the source code for the bytecode interpreter is still available and can be toggled on at compile time, for those that want to use it anyway (because they purchased a license from Apple, or because they are in a country where the patents do not apply, etc.). For details please check the documentation that comes with your FreeType source package (it normally involves changing one configuration macro).

Note that some beta versions of FreeType 2 did use the bytecode interpreter (since the auto-hinter wasn't available yet).

Finally, many Linux distributions seem to distribute a patched version of FreeType 2 with the bytecode interpreter activated, unlike the sources we distribute. Of course, we can only deny any kind of responsibility in this case. It further means that in the event where you need to update the version of FreeType installed on your system from our sources, you should better manually activate the bytecode interpreter at compile time in order to prevent any loss of quality.

[링크 : http://freetype.sourceforge.net/patents.html]


트루타입(TrueType)은 외곽선 글꼴 표준으로, 1980년대 말에 애플 컴퓨터어도비포스트스크립트에 쓰이는 타입 1 글꼴에 대항하기 위해 개발하였다. 트루타입의 주된 이점은 글꼴 개발자들에게 글꼴이 다양한 글꼴 크기에서 어떻게 표시될 것인지에 대한 높은 수준의 제어를 할 수 있다는 것이며 이를 힌팅기술 혹은 힌팅 인스트럭션이라고 한다.

[링크 : http://ko.wikipedia.org /wiki/트루타입]
[링크 : http://en.wikipedia.org/wiki/TrueType]

Posted by 구차니
파일명이 사라졌지만, 파일명에 유의
i'm not ok.PNG

메시지 추려내는 작업하다가 문득 Acroedit에 보이는 저 우울한 문구들...
Win32 프로그래밍 하는 분은 문득 깨달을지도?


ValueMeaning
MB_ABORTRETRYIGNORE
0x00000002L

The message box contains three push buttons: Abort, Retry, and Ignore.

MB_CANCELTRYCONTINUE
0x00000006L

The message box contains three push buttons: Cancel, Try Again, Continue. Use this message box type instead of MB_ABORTRETRYIGNORE.

MB_HELP
0x00004000L

Adds a Help button to the message box. When the user clicks the Help button or presses F1, the system sends a WM_HELP message to the owner.

MB_OK
0x00000000L

The message box contains one push button: OK. This is the default.

MB_OKCANCEL
0x00000001L

The message box contains two push buttons: OK and Cancel.

MB_RETRYCANCEL
0x00000005L

The message box contains two push buttons: Retry and Cancel.

MB_YESNO
0x00000004L

The message box contains two push buttons: Yes and No.

MB_YESNOCANCEL
0x00000003L

The message box contains three push buttons: Yes, No, and Cancel.


[링크 : http://msdn.microsoft.com/en-us/library/ms645505%28VS.85%29.aspx]

Posted by 구차니
expat은 아래와 같은 기본 코드로 작동된다. (링크 참조)
2010/03/23 - [프로그램 사용/expat / XML] - expat-2.0.1 example

문제는 위의 main() 함수에서 fread()를 이용하여 버퍼 사이즈 만큼 읽어오기 때문에
최악의 경우 데이터나 elemet가 잘리는 경우가 발생할수 있다는 것이다.
예를 들어

<entry gd:etag="W/"CUQFRX47eCp7ImA9WxFXF0s."">
    <id>tag:youtube.com,2008:video:qlZjYvHWTo4</id>
    <published>2010-05-19T07:13:31.000Z</published>
    <updated>2010-05-25T04:55:14.000Z</updated>
</entry>

이러한 XML이 있고, "id" 태그의 데이터를 읽으려고 할때 최악의 경우
버퍼의 경계에 걸릴경우,
tag:youtube.com,2008:vide
o:qlZjYvHWTo4
이런식으로 두번을 읽어 오게 된다.

일단은 버퍼를 늘리는 것 외에는 딱히 다른 방법은 찾지 못했다.

'프로그램 사용 > expat & XML' 카테고리의 다른 글

GPX TCX 포맷  (0) 2013.06.22
Javascript DOM API / XML  (2) 2010.07.13
expat으로 smi 자막파일 파싱은 불가?  (0) 2010.05.03
SAX (Simple API for XML)  (0) 2010.04.23
xml 트리 탐색 - XML tree navigation  (0) 2010.04.17
Posted by 구차니
그냥 벙커에서 얏홍보고 자위나 하세요
먼 자위권 들먹이고 GR이래 ㄱ-


[링크 : http://media.daum.net/politics/view.html?cateid=1019&newsid=20100524100305837&p=yonhap]

'개소리 왈왈 > 정치관련 신세한탄' 카테고리의 다른 글

한국주요정당 계보도  (2) 2010.06.01
선거전단이 안온다.  (4) 2010.05.28
아래한글 마저 나라에서 버릴려고 하는고얌?  (4) 2010.05.23
5.18  (0) 2010.05.18
2010.05.17 시끌벅적한 하루  (0) 2010.05.18
Posted by 구차니
개소리 왈왈2010. 5. 24. 00:08
기분이 우울할때
완전 바닥에 가라앉았을때

강을 봐도 이 넓은 강이 나를 받아들여주지 않을까? 하는 생각이 불현듯 들었다.



아.. 이래서 사람들이 자살을 하려고 강이나 바다의 품으로 뛰어드는구나 싶었다.

'개소리 왈왈' 카테고리의 다른 글

리눅스 마스터 1급 최종합격  (8) 2010.05.28
우리 한메일이 달라졌어요(응?)  (4) 2010.05.27
복귀자 신고?  (0) 2010.05.22
반포대교 분수 분출(!) 시간  (0) 2010.05.21
netffice를 기억하시나요?  (0) 2010.05.12
Posted by 구차니