크게 쓸일이 느껴지진 않지만....

그래도 지원하는게 의외로 얼마 안되는구나..


[링크 : http://support-kr.canon-ci.co.kr/contents/KR/KR/8201440300.html]

'이론 관련 > 사진 광학 관련' 카테고리의 다른 글

크롭바디 EF / EF-S 렌즈 화각 테스트  (0) 2016.08.29
back focus  (0) 2016.07.22
센서 사이즈별 크기  (0) 2016.05.26
focus peak 찾아내기  (0) 2016.05.25
FEL - Flash Exposure Lock  (0) 2016.05.13
Posted by 구차니

사이즈는... 영어고 크기는 한글? ㅋㅋ

센서 사이즈는 대개 대각선 인치 단위인데

크기는 가로세로 mm 단위


그나저나.. 1인치 라고 해도 의외로 크진 않겠구나 싶어지네..

2/3 인치만 해도 CCTV에서 크다고 하는데..

암만 그래봤자 APS-C(canon) 보다 작다는게...



[링크 : http://photohistory.tistory.com/11906]

'이론 관련 > 사진 광학 관련' 카테고리의 다른 글

back focus  (0) 2016.07.22
eos m 다중노출 미지원  (0) 2016.05.26
focus peak 찾아내기  (0) 2016.05.25
FEL - Flash Exposure Lock  (0) 2016.05.13
플래시 사용방법  (0) 2016.05.12
Posted by 구차니
Programming/xml2016. 5. 26. 11:15


[링크 : http://xmlstar.sourceforge.net/]

[링크 : https://en.wikipedia.org/wiki/XMLStarlet]

[링크 : http://newmkka.tistory.com/382]



$ apt-cache search xml | grep let

xmlstarlet - command line XML toolkit

'Programming > xml' 카테고리의 다른 글

libxml2 - xmlNodeDump()  (0) 2019.07.09
libxml2  (0) 2019.07.04
DOM vs SAX  (0) 2014.11.21
xml parser 선택 / 종류  (0) 2014.11.21
DTD / XSD  (0) 2014.11.11
Posted by 구차니
embeded/raspberry pi2016. 5. 25. 19:42

오랫만에 가지고 놀아 보려고 했더니..

망했어 ㅠㅠ

FFC 저거 구하기 빡센데 ㅠㅠ


일단.. sudo apt-get update; sudo apt-get upgrade로 시스템 업그레이드의 여파인가...

config.txt에서는 gpu_mem=128 였는데...


불 들어 옴

$ raspivid -t 0

mmal: mmal_vc_component_enable: failed to enable component: ENOSPC

mmal: camera component couldn't be enabled

mmal: main: Failed to create camera component

mmal: Failed to run camera app. Please check for firmware updates



불 안들어 옴

$ raspivid -t 0

mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM)

mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1)

mmal: Failed to create camera component

mmal: main: Failed to create camera component

mmal: Camera is not detected. Please check carefully the camera module is installed correctly



선 뽑고..

$ raspivid -t 0

mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM)

mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1)

mmal: Failed to create camera component

mmal: main: Failed to create camera component

mmal: Camera is not detected. Please check carefully the camera module is installed correctly




Last login: Wed May 25 19:49:45 2016

pi@raspberrypi:~ $ sudo rpi-update

 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom

 *** Performing self-update

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100 10670  100 10670    0     0  24776      0 --:--:-- --:--:-- --:--:-- 24756

 *** Relaunching after update

 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom

 *** We're running for the first time

 *** Backing up files (this will take a few minutes)

 *** Backing up firmware

 *** Backing up modules 4.1.19-v7+

#############################################################

This update bumps to rpi-4.4.y linux tree

Be aware there could be compatibility issues with some drivers

Discussion here:

https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=144087

##############################################################

 *** Downloading specific firmware revision (this will take a few minutes)

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100   168    0   168    0     0    188      0 --:--:-- --:--:-- --:--:--   188

100 50.5M  100 50.5M    0     0  1059k      0  0:00:48  0:00:48 --:--:-- 1381k

 *** Updating firmware

 *** Updating kernel modules

 *** depmod 4.4.11-v7+

 *** depmod 4.4.11+

 *** Updating VideoCore libraries

 *** Using HardFP libraries

 *** Updating SDK

 *** Running ldconfig

 *** Storing current firmware revision

 *** Deleting downloaded files

 *** Syncing changes to disk

 *** If no errors appeared, your firmware was successfully updated to 2b9c0bfacfc11ee8bb9b30dc9cdb36289698f8a8

 *** A reboot is needed to activate the new firmware


[링크 : http://raspberrypi..../what-causes-enospc-error-when-using-the-raspberry-pi-camera-module]


/boot/cmdline.txt:

dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait bcm2708.w1_gpio_pin=18

[링크 : https://www.raspberrypi.org/...?f=28&t=61922&p=477860&hilit=enospc#p478550]


그냥... 현재 기준 신펌웨어로 바꾸니 문제 없다.

rpi-update로도 펌웨어 변경은 적용 안되는 듯?


Posted by 구차니
이론 관련/전기 전자2016. 5. 25. 18:06

TV system별 클럭차이..

결론(?)은 서브캐리어의 차이인데.. CVBS는 음성 없이 영상만 NTSC/PAL을 실어나르는데..

왜 27MHz로 30fps로 동일하지 -ㅁ-?


28.6363MHz for NTSC or 28.375MHz for PAL

CVBS (30 fps @ 27Mhz)


27MHz crystal clock for subcarrier generation

[링크 : http://datasheet.octopart.com/TW9920-BC1-GR-Intersil-datasheet-14388706.pdf]


In PAL system, the frequency of the system clock and the subcarrier signal are 28.375 MHz and 4.4336 MHz

[링크 : http://www.google.com/patents/US5946053]



In the PAL system, the color subcarrier is 4.43 MHz above the video carrier, while in the NTSC system it is 3.58 MHz above the video carrier. 

[링크 : https://en.wikipedia.org/wiki/Chrominance]


The frequency of this subcarrier is 4.43361875 MHz for PAL, compared to 3.579545 MHz for NTSC. The SECAM system, on the other hand, uses a frequency modulation scheme on its two line alternate colour subcarriers 4.25000 and 4.40625 MHz.

[링크 : https://en.wikipedia.org/wiki/PAL]


[링크 : http://wodnrrns.tistory.com/entry/NTSC-PAL-비교]


'이론 관련 > 전기 전자' 카테고리의 다른 글

27MHz에 1Mohm 저항을 왜 달까?  (2) 2016.10.26
Load Capacitor - CL  (0) 2016.10.26
bayer 포맷 출력...?  (0) 2016.04.14
패럿(farad) / 암페어(ampere) 변환  (0) 2016.04.14
genlock  (0) 2016.04.05
Posted by 구차니

결론(?)은 HPF(High Pass Filter) 인가?


The simplest way to detect microcontrast is through a high pass filter (HPF). In the areas in focus, the detail will trigger a threshold set in the HPF, while out of focus areas wont's do so for being totally blurred in terms of high spatial frequencies.

[링크 : http://forum.luminous-landscape.com/index.php?topic=56246.0]


The simple recipe is to convolve with a Laplacian of Gaussian kernel (3x3, with 8 in the middle surrounded by -1 and take the abs(result)) .

[링크 : http://photo.stackexchange.com/questions/32388/how-can-i-focus-peak-a-photograph]

'이론 관련 > 사진 광학 관련' 카테고리의 다른 글

eos m 다중노출 미지원  (0) 2016.05.26
센서 사이즈별 크기  (0) 2016.05.26
FEL - Flash Exposure Lock  (0) 2016.05.13
플래시 사용방법  (0) 2016.05.12
포칼 리듀서 / 스피드 부스터  (0) 2016.04.26
Posted by 구차니

18-55mm 용 줌렌즈 캡이 없어서 하나 지르면서

겸사겸사 질렀으나...


한 업체에서 ND8을 팔지 않아 그냥 ND 필터는 포기...

22mm f2.0 렌즈 는 확실히 실외에서는 노출 오버라.. ND8 정도로 43mm 짜릴 사야 하는데...

호루스벤누 ND8이 만원으로 가장 싸나.. 취급하는데가 적은 듯 .. ㅠㅠ


나중에 아빠가 살일 있음 꼽사리 껴서 사야지 ㅠㅠ




Posted by 구차니








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

블루베리.. 그리고 우담바라?  (0) 2016.06.11
퇴근길 저녁노을  (0) 2016.06.06
점심 시간의 여유  (0) 2016.05.23
걍 밤에는 포기하자.jpg  (0) 2016.05.22
한강공원, 개복이  (0) 2016.05.21
Posted by 구차니

회사 근처 한바퀴 돌면서 찰칵!

그나저나.. AF 느림, IS 없음, 심도 드럽게 얕음의 삼중고

+ 내 손고자 + 실력고자..

노답 ㅠㅠ




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

퇴근길 저녁노을  (0) 2016.06.06
퇴근길 + 출근길 비  (0) 2016.05.24
걍 밤에는 포기하자.jpg  (0) 2016.05.22
한강공원, 개복이  (0) 2016.05.21
등, 길  (0) 2016.05.17
Posted by 구차니
embeded/raspberry pi2016. 5. 23. 11:41

음? mpeg2 decoder?




[링크 : http://www.raspberrypi.com/license-keys/]

    This key will enable a single Raspberry Pi to decode MPEG-2 video in hardware.

    [링크 : http://www.raspberrypi.com/mpeg-2-license-key/]

    This key will enable a single Raspberry Pi to decode VC-1 video in hardware.

    [링크 : http://www.raspberrypi.com/vc-1-license-key/]



H.264 encode


Alongside MPEG-2 support (which you’ll have to pay for), we’re making H.264 encode available for free. The hardware has always been capable of supporting H.264 encode, but we were under the misapprehension that encode required an additional licence fee, so were waiting until the camera board release (which is still coming later in the year) before spending the money to enable it.

MPEG-2 지원과 동시에(지불해야 할 필요가 있는), H.264 인코더는 무료로 사용이 가능하도록 하였습니다. 하드웨어는 항상 h.264 인코드를 지원할 능력을 갖추고 있습니다만, 추가적인 라이센스 요금을 요구한다는 오해가 있었고, 그것을 활성화 하기 위해 돈을 쓰기 전에 (몇 년 후에나 나올) 카메라 보드가 릴리즈 되기 까지 기다렸습니다


During the course of talking to the MPEG LA about the MPEG-2 licence, we discovered that the existing licence fee that is already baked into the cost of the Raspberry Pi actually covers both encode and decode – I tell you, this stuff is arcane – so we’ve enabled the relevant OpenMAX components by default in the latest firmware. It may take a while for someone to produce an encoder application which uses these components, but once they do you should be able to use the Pi as a standalone transcoder.

MPEG LA와의 MPEG-2 라이센스에 대한 회의를 거쳐, 우리는  라즈베리 파이의 비용에 포함되어 있는 이미 존재하는 라이센스 비용은 실제로 인코딩과 디코딩을 모두 포함한다는 내용들을 발견했습니다 -당신에서 말하겠지만, 이것은 매우 불가사의한 사항입니다 - 그래서 우리는 최신 펌웨어에 기본으로 적절한 OpenMAX 콤포넌트를 가능하도록 하였습니다. 이 콤포넌트들을 사용할 엔코더 어플리케이션 누군가가 만드는데 시간이 걸리겠지만, 그들은 당신이 라즈베리 파이를 독립형 트랜스코더로 사용할 수 있수 있도록 할 것입니다. 

[링크 : https://www.raspberrypi.org/blog/new-video-features/]


[링크 : http://elinux.org/RPiconfig#Licensed_Codecs]


[링크 : http://raspberrypi.stackexchange.com/.../why-does-the-raspberry-pi-need-a-mpeg-2-licence]


DVD 재생시 영상을 디코딩 못하므로 MPEG-2 라이센스 필요?

[링크 : http://echo.tistory.com/93]

[링크 : http://echo.tistory.com/92]


vcgencmd codec_enabled MPG2

vcgencmd codec_enabled WVC1

[링크 : http://www.howtogeek.com/.../how-to-add-mpeg-2-and-vc-1-video-codec-...-raspberry-pi/]



mpeg 라이센스 활성화 시 ff-mpeg2video에서 omx-mpeg2로 변화된다고 한다.


[링크 : https://www.youtube.com/watch?v=3zToVK6U7AM]

Posted by 구차니