빅스데이 할인으로 싸게 구할 수 있는 노트북!

삼성마감이 떨어지는 것도 아닌데, 굳이 외산 pc사봤자 피곤하기만 하네요
가격이나 성능이나 뭐하나 부족한게 없습니다.
물론 게임하실려면 외장달린 피씨로 마련하셔야겠죠.
하지만 게임외의 업무만 놓고보면 하나도 부족한게 없네요.
적극 추천합니다

by 고민고민하지마~* 2022. 11. 2. 19:10

http://msdn.microsoft.com/ko-kr/library/s8e39b8h.aspx


생성자 안에서는 아직 상속관계가 형성되지 않아

자식 클래스의 추상 함수가 호출되지 않고 현재 생성자의 추상 함수가 호출된다.



by 고민고민하지마~* 2014. 11. 22. 16:02

mkdir 쉘 커맨드 사용.

ex)

bool MakePathIter(string path)

{

#ifdef _WIN32

system((string("mkdir ") + path).c_str());

#endif

return true;

}


by 고민고민하지마~* 2014. 8. 18. 22:07

주소줄에서 cmd -> 현재 폴더가 기본 경로인 cmd 창 생성


응용 : 주소줄에서 matlab.exe -> 현재 폴더가 기본 경로인 matlab 실행

by 고민고민하지마~* 2014. 8. 18. 14:07

일반 용도 : (/MD 옵션)

mkdir build\amd64\v110

bjam --toolset=msvc-11.0 architecture=x86 address-model=64 link=static runtime-link=static variant=release,debug --without=mpi --without=python --stagedir=build/amd64/v110 stage -j 2

mkdir build\x86\v110

bjam --toolset=msvc-11.0 architecture=x86 address-model=32 link=static runtime-link=static variant=release,debug --without=mpi --without=python --stagedir=build/x86/v110 stage -j 2


mkdir build\amd64\v100

bjam --toolset=msvc-10.0 architecture=x86 address-model=64 link=static runtime-link=static variant=release,debug --without=mpi --without=python --stagedir=build/amd64/v100 stage -j 2

mkdir build\x86\v100

bjam --toolset=msvc-10.0 architecture=x86 address-model=32 link=static runtime-link=static variant=release,debug --without=mpi --without=python --stagedir=build/x86/v100 stage -j 2


Matlab 용도 : (/MT 옵션을 사용해야한다?)

mkdir build_mt\amd64\v100

bjam --toolset=msvc-10.0 architecture=x86 address-model=64 link=static runtime-link=shared variant=release,debug --without=mpi --without=python --stagedir=build_mt/amd64/v100 stage -j 2

mkdir build_mt\x86\v100

bjam --toolset=msvc-10.0 architecture=x86 address-model=32 link=static runtime-link=shared variant=release,debug --without=mpi --without=python --stagedir=build_mt/x86/v100 stage -j 2



문제 사항 : bootstrap 실행 안됨

해결 : 환경변수에 visual studio 경로 설정 안 되었음

C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\amd64;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64;


참고 : http://anster.egloos.com/2157882

by 고민고민하지마~* 2014. 8. 13. 13:42

1. Mask 사용

CopyTo를 이용

ex) 

cv::Mat MaskClone(cv::Mat &_Src, const cv::Mat &_Mask, cv::Scalar Def)

{

Mat NewMat(_Src.size(), _Src.type(), Def);


_Src.copyTo(NewMat, _Mask);


return NewMat;

}


2. Mat 내부 벡터 초기화

Mat_ 초기화 사용

ex)

m_CameraMatrix = (Mat_<float>(4, 4) <<

_fu, 0, _cu, 0, 

0, _fv, _cv, 0,

0, 0, 0, _fu*_base,

0, 0, 1, 0);


3. Vector to Mat, Mat to Vector

Mat a(Vector<Point2f>)로 초기화시에 생성되는 Mat의 크기는 cols = 1 rows =  vector.size

ex)

cv::Mat CvtKeyPoints2PosMat(vector<KeyPoint> &_Src)

{

vector<Point2f> Src_Vector;

KeyPoint::convert(_Src, Src_Vector);

Mat Src_Channel[2];

split(Mat(Src_Vector).t(), Src_Channel);


return JMU::VCat(Src_Channel[0], Src_Channel[1]);

}


4. Reshape (Vector -> Mat)


5. Reshape (Mat -> Vector)


6. Unique 

딱히 Uniqe 함수는 없으며 std의 unique를 사용해야한다. (General하게 Mat을 받는 것은 차후에)

ex) unique한 mask를 생성

template<typename _Ty>

cv::Mat HUniq_PosMat(const cv::Mat &_Src)

{

assert(_Src.rows == 2);

Mat Temp = VCat(_Src, MakeSeq<_Ty>(Size(_Src.cols, 1)));

Temp = Temp.reshape(3, 1);


vector<Point3_<_Ty>> VecTemp(Temp.begin<Point3_<_Ty>>(), Temp.end<Point3_<_Ty>>());


std::unique(VecTemp.begin(), VecTemp.end(), 

[](const Point3_<_Ty> &a, const Point3_<_Ty> &b)

{

return a.x==b.x && a.y==b.y;

});

Mat Mask = Mat::zeros(1, _Src.cols, CV_8UC1);

unsigned char *pMask = Mask.data;


for(int i=0; i<VecTemp.size(); i++)

{

pMask[int(VecTemp[i].z)] = 1;

}


return Mask;

}

by 고민고민하지마~* 2014. 7. 18. 12:43

기기 : 갤탭8.4프로


잘 쓰다가 킷캣 업데이트로 차단당한 외장 메모리 쓰기 기능 ...


http://blog.naver.com/PostView.nhn?blogId=luta007&logNo=220012035227&redirect=Dlog&widgetTypeCall=true


루팅은 죽기보다 싫으니


이분 게시글을 참고해서 es파일 탐색기의 ftp기능을 다시 살려보자


es파일 탐색기의 패키지 이름은 com.estrongs.android.pop


외장 메모리의 root폴더에서 Android > data  에 com.estrongs.android.pop 이름의 폴더를 만들어준다


es파일 탐색기의 ftp 서버 대상 폴더를 새로 만들어준 폴더로 지정하고 ftp를 재기동하면 끝


by 고민고민하지마~* 2014. 5. 31. 16:13

1. Copy the file npFoxitReaderPlugin.dll from C:\Program Files\Foxit Software\Foxit Reader\plugins to C:\Program Files\Google\Chrome\Application\plugins

==>> C:\Users\"USER-NAME"\AppData\Local\SwingBrowser\Application 밑에 Plugins 폴더 만들고 npFoxitReaderPlugin.dll 파일 복사

2. 스윙브라우저 설정 -> 고급설정 -> 콘텐츠 설정 -> Foxit외의 개별 플러그인 사용 중지(Adobe PDF, ePapyrus PDF등)

3. References -> Trust Manager -> Internet Access From ... -> Change Settings ... -> Allow PDF files to access all web sites 활성화

4. 재시작 후 PDF 열어보기


참고 : http://www.geekrant.org/2009/07/08/use-foxit-reader-in-chrome/

by 고민고민하지마~* 2014. 1. 14. 13:57
by 고민고민하지마~* 2013. 12. 11. 14:29

end 부분에 들어가는 것은 1 base Index이다 .. (2.6.4현재 수정 안됨)

 

관련 Link

https://code.ros.org/trac/opencv/ticket/1272

by 고민고민하지마~* 2013. 8. 26. 13:23
| 1 2 |