2012년 5월 20일 일요일

Cross processing

사진 처리 효과 중 하나.

Cross processing (sometimes abbreviated to Xpro) is the procedure of deliberately processing photographic film in a chemical solution intended for a different type of film.





2012년 5월 19일 토요일

생활의 지혜

우연히 길가에서 발견한 화분. 머리 좋다. 

2012년 5월 18일 금요일

Matlab 정수로 파일 저장

1) 실수 형태로 저장이 됨.
savefile = 'a.txt';

save savefile B -ascii;

2) Matlab 정수로 파일 저장

fid = fopen('data.txt', 'wt');
for i = 1:length(B)
    fprintf(fid,'% g\t% g\t% g\t% g\n',B(i,1), B(i,2), B(i,3), B(i,4) );
end
fclose(fid);

bb = uint8(B); 로 하면 정수형태가 되나 save 명령으로 저장이 안됨.



http://www.mathworks.com/matlabcentral/newsreader/view_thread/255696

2012년 5월 12일 토요일

민방위

첫 민방위 출격.
유성 온천대축제 보조 요원.
일요일의 아침을 축제장에서 보낼 수 있어 나름 의미 있었다.



2012년 5월 11일 금요일

OpenOCD


make flash 부분을 보면..


flash: all
@echo ---------------------------------------------
@echo  Flash programming...
@../OpenOCD/OpenOCD_ftdi.exe --file fury_ft2232_flash.cfg


The Open On-Chip Debugger (OpenOCD) aims to provide debugging, in-system programming and boundary-scan testing for embedded target devices.

OpenOCD for Stellaris JTAG 을 깔아서 설정했음.

관련 문서
http://fun-tech.se/stm32/OpenOCD/index.php

2012년 5월 7일 월요일

커피 삼촌

어제 분갈이를 완료하고 사진찍는 누리를 뒤에서 촬영.
예쁜 iPad 배경이 되다.


Sweet Basil


올해로 3년째 기르는 Basil.
모종으로 키워주시는 부분은 아빠가 해주신다.
뭔가 연례행사가 된 거 같다.

2012년 5월 5일 토요일

Multiple Inheritance

 ... cannot access public member declared in class ...

뭔 소리야.. private도 아니고..
결국은 Multiple Inheritance 에서 public keyword를 안붙여 일어난 일 -_-

class CGLWnd : public CWnd, ddUDP
class CGLWnd : public CWnd, public ddUDP

2012년 5월 2일 수요일

Picking & Dragging

유용하게 자주 쓰는 코드 한 줄

void DWnd::OnLButtonDown(UINT nFlags, CPoint point)
{
PostMessage( WM_NCLBUTTONDOWN, HTCAPTION,
MAKELPARAM( point.x, point.y));
CWnd::OnLButtonDown(nFlags, point);
}

2012년 4월 22일 일요일

배



관점에 따라서는 교체한 Cable TV 단자도
멋진 배가 될 수 있다. 

- 누리의 관점


2012년 4월 21일 토요일

Skipping items in a legend

Each curve has a handle, which can be obtained from the properties.



h1 = plot(rand(1,10));      % Blue line
hold on;
h2 = plot(rand(1,10),'r');  % Red line
h3 = plot(rand(1,10),'g');  % Green line
legend([h1 h3],{'hello','world'});  % Only the blue and green lines appear
                                    %   in the legend


http://www.mathworks.com/matlabcentral/answers/406-how-do-i-skip-items-in-a-legend

2012년 3월 16일 금요일

Gaussian profile of Illustrator format


Illustrator source : Download
profile calculated from Matlab

첫 아침

한국에서의 1년만의 첫 아침. 
날씨만큼 좋은 기분.

2012년 2월 19일 일요일