Programming/openCV2015. 9. 25. 16:01

클릭할 경우 마우스 이벤트에서 좌표가 나오는군..

윈도우 사이즈랑은 따로 구해야 하려나?..


[링크 : http://opencv-srf.blogspot.kr/2011/11/mouse-events.html]

[링크 : http://docs.opencv.org/modules/highgui/doc/user_interface.html#setmousecallback]

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

openCV 에피폴라 기하 관련 내용  (0) 2015.09.28
opencv highgui trackbar  (0) 2015.09.27
opencv2.. VideoCapture 클래스..  (0) 2015.09.25
openCV Mat Class  (0) 2014.07.04
openCV2 관련 꿍시렁 꿍시렁  (0) 2014.07.04
Posted by 구차니
embeded/Cortex-M3 Ti2015. 9. 25. 11:30

driverlib 용량이 적진 않아 많이 줄을줄 알았더니..

gcc - 129KB

rvmdk - -1714 KB

ewarm - 945 KB


개노가다 한거 치고는.. 의외로 감소량이 적네... 2KB..

노력대비로는 크다면 클 수 있는 용량이지만 내가 필요로 하는 용량을 충족하진 못하니.. ㅠㅠ

Program Size: Code=64900 RO-data=35872 RW-data=1372 ZI-data=16028  적용전

Program Size: Code=62764 RO-data=35684 RW-data=1372 ZI-data=16028  적용후


감소량

Code      2136 byte

RO-data   188 byte


일단.. 함수들을 ROM_ 접두를 붙이고

#include "driverlib/rom.h"

#define TARGET_IS_DUSTDEVIL_RA0


타겟을 define 해주면 되고

driverlib 에서 누락된 소스들 끌어와주고 그러면 된다(어?)

TARGET_IS_DUSTDEVIL_RA0 The application is being built to run on a DustDevil-class device, silicon revision A0.

TARGET_IS_TEMPEST_RB1 The application is being built to run on a Tempest-class device, silicon revision B1.

TARGET_IS_TEMPEST_RC1 The application is being built to run on a Tempest-class device, silicon revision C1.

TARGET_IS_TEMPEST_RC3 The application is being built to run on a Tempest-class device, silicon revision C3.

TARGET_IS_TEMPEST_RC5 The application is being built to run on a Tempest-class device, silicon revision C5.

TARGET_IS_FIRESTORM_RA2 The application is being built to run on a Firestorm-class device, silicon revision A2.

TARGET_IS_BLIZZARD_RA1 The application is being built to run on a Blizzard-class device, silicon revision A1.


[링크 : http://www.ti.com/lit/ug/spmu019p/spmu019p.pdf] 



그리고는 ROM_ 접두를 붙여주면 끝

단, target class나 함수에 따라 지원하지 않는 녀석들도 있으니 주의


'embeded > Cortex-M3 Ti' 카테고리의 다른 글

lm3s spi / ssi  (0) 2015.10.06
lm3s stellarisware SPI  (0) 2015.10.05
LM3S Stellarisware - GPIOIntTypeSet  (0) 2015.08.03
bitband / cortex-m3  (0) 2013.08.16
LM3S1968과 H-JTAG(wiggler)  (0) 2013.06.28
Posted by 구차니
Programming/openCV2015. 9. 25. 10:09

예전에 받아둔걸로 다시 해보는데..

음.. 비디오가 몇개 있는진 알 수 없다 인가?!

새로운 API가 나오기 전까지는 일일이 open 해보고 리턴값으로 체크해야 할 듯..


[링크 : http://docs.opencv.org/.../reading_and_writing_images_and_video.html?highlight=videocapture]

[링크 : http://stackoverflow.com/questions/24630158/how-to-get-video-capture-devices-information]

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

opencv highgui trackbar  (0) 2015.09.27
opencv2 마우스 이벤트 / 클릭 위치  (0) 2015.09.25
openCV Mat Class  (0) 2014.07.04
openCV2 관련 꿍시렁 꿍시렁  (0) 2014.07.04
opencv2 highgui  (0) 2014.07.03
Posted by 구차니

먼가 맨날 부족한 기분인데 이번 연휴에 풀고 cpu 갈궈볼까?


[링크 : http://forums.steampowered.com/forums/showthread.php?t=1295862]

Posted by 구차니



[링크 : http://xmodulo.com/how-to-speed-up-x11-forwarding-in-ssh.html]

 [링크 : http://blog.famzah.net/2010/06/11/openssh-ciphers-performance-benchmark/]

[링크 : http://www.cyberciti.biz/faq/speeding-up-ssh-x11-forwarding-with-unix-osx-linux-bsd/]

[링크 : http://ubuntuforums.org/showthread.php?t=1855933]


rpi2 + putty + xming 에서는

vlc 실행에 걸리는 시간이 차이가 거의 안나서.. 다른 좀 더 영상이 많다거나 하는 걸로 테스트 해봐야 할 듯..




Turn on compression to speed up your connection, and bring Blowfish to the top of the list. Blowfish is still relatively secure, but will be a heck of a lot quicker than AES at passing information as your computer doesn’t have to encrypt things so heavily.

[링크 : http://irrationale.com/2009/11/10/x11-over-ssh/]





Nagle 알고리즘은 패킷의 갯수를 줄이는 것

일단 적은 데이터(MTU 미만)에서는 응답속도와 tradeoff가 일어난다.

기본값은 off니까 빠릿빠릿하게 ssh 응답을 하는 듯?


4.12.4 "Disable Nagle's algorithm"


Nagle's algorithm is a detail of TCP/IP implementations that tries to minimise the number of small data packets sent down a network connection. With Nagle's algorithm enabled, PuTTY's bandwidth usage will be slightly more efficient; with it disabled, you may find you get a faster response to your keystrokes when connecting to some types of server.


The Nagle algorithm is disabled by default.

[링크 : http://the.earth.li/~sgtatham/putty/0.52/htmldoc/Chapter4.html]

Posted by 구차니
embeded/raspberry pi2015. 9. 24. 10:35

그래도 너무 이것저것 하는 기분이라..

잠시 접어두고 블로그나 해야하려나..

끄응...




Posted by 구차니
Programming/openGL2015. 9. 24. 10:06

어느게 나을진 모르겠지만.. openGL에서 openCV로 그린걸 받아와서 띄우는게 더 간단할 기분이다.


[링크 : http://babytiger.tistory.com/entry/OpenCV...] openGL에서 openCV 이미지 그리기

[링크 : http://babytiger.tistory.com/entry/OpenGL...] openCV에서 openGL 이미지 그리기


[링크 : http://r3dux.org/2010/12/how-to-manipulate-webcam-streams-with-opencv-and-opengl/]

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

opengl camera의 이해  (0) 2016.02.02
myAHRS cube 예제  (0) 2016.02.02
openGL triangle winding  (0) 2015.07.22
openGL super bible 3rd ed - 깊이, 은면처리  (0) 2015.07.21
openGL super bible 3rd ed - 점선면 관련  (0) 2015.07.21
Posted by 구차니
Programming/css2015. 9. 24. 09:31

마진은 밖으로

패딩은 안으로


[링크 : http://blognike.tistory.com/8]

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

css 문법 - id / class  (0) 2016.01.11
html css 적용 방법  (0) 2016.01.11
css body background  (0) 2015.09.22
CSS / JS 파일 용량 줄이기  (0) 2015.09.18
css selector  (0) 2015.09.14
Posted by 구차니

와. 알수록 신기하네.. ㄷㄷ


[링크 : http://www.w3schools.com/css/css3_borders.asp]

[링크 : http://www.w3schools.com/html/html_blocks.asp]

'Programming > javascript & HTML' 카테고리의 다른 글

setTimeout()와 setInterval()  (0) 2016.01.07
html5 live video streaming...  (0) 2015.11.23
ul / li로 메뉴 꾸미기  (0) 2015.09.16
<link> 관련 약어 정리  (0) 2015.09.14
node.js / angular.js ...  (0) 2015.09.11
Posted by 구차니
embeded/AVR (ATmega,ATtiny)2015. 9. 23. 11:36


AT90USB


[링크 : http://www.atmel.com/Images/doc7604.pdf]

[링크 : http://nexp.tistory.com/1119]



Virtual USB 라이브러리?


V-USB is a software-only implementation of a low-speed USB device for Atmel’s AVR® microcontrollers, making it possible to build USB hardware with almost any AVR® microcontroller, not requiring any additional chip.



[링크 : https://www.obdev.at/products/vusb/index.html]

    [링크 : http://magicom9.tistory.com/52]

'embeded > AVR (ATmega,ATtiny)' 카테고리의 다른 글

wiring  (0) 2016.02.29
Arduino Uno freeRTOS 강좌  (0) 2015.11.11
키보드 DIY 자료  (0) 2015.09.23
avr-gcc -mmcu 관련 작동 내용  (0) 2015.08.02
ubuntu 에서 AVR 컴파일하기  (0) 2015.07.30
Posted by 구차니