MyWikkaSite : murmuring

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Most recent edit on 2009-09-22 11:39:00 by YuKyung

Additions:
OpenCV 버그 리포팅



Edited on 2009-09-22 11:09:52 by YuKyung

Additions:
Ref)) http://zeroplus.tistory.com/26



Edited on 2009-09-22 11:08:55 by YuKyung

Additions:
App의 경우 InitInstance에서 다음 API를 사용한다.
BOOL AFXAPI AfxOleInit();
DLL(COM library)에서 OLE를 지원하고자 하는 경우
WINOLEAPI OleInitialize( LPVOID pvReserved /*Reserved; must be NULL */);
를 사용한다. DLL에서 AfxOleInit를 쓰면 오브젝트 생성시 실패발생한다.




Edited on 2009-09-22 11:01:35 by YuKyung

Additions:
해결2)



Edited on 2009-09-22 11:01:20 by YuKyung

Additions:
1. OLE를 초기화 할 수 없는 문제
2. 입력 경로 초기화되는 문제
해결1)
CKISTRecogApp.cpp
BOOL CKISTRecogApp::InitInstance()
...
...

OLE 라이브러리를 초기화합니다.
if (!AfxOleInit())
{
AfxMessageBox(IDP_OLE_INIT_FAILED);
return FALSE;
}
if( !OleInitialize(NULL))
{
AfxMessageBox(IDP_OLE_INIT_FAILED);
return FALSE;
AfxEnableControlContainer();

...
...



Edited on 2009-09-22 10:56:31 by YuKyung

Additions:
CGDlgCategoryRecog.cpp
m_strxxxDir의 업데이트 문제때문에 코드를 수정
void CGDlgCategoryRecog::OnBnClickedButtonBrowseModelDir()
if(::SelectNewPath(&m_ctrlComboModelDir)) {
UpdateModelName();
}
void CGDlgCategoryRecog::OnBnClickedButtonBrowseInputDir()
if(::SelectNewPath(&m_ctrlComboInputDir)) {
UpdateImageName();
OpenCurrentImage();
}
void CGDlgCategoryRecog::OnBnClickedButtonBrowseOutputDir()
::SelectNewPath(&m_ctrlComboOutputDir);
m_strxxxDir의 업데이트 문제때문에 코드를 수정


Deletions:
m_strInputDir의 업데이트 문제때문에 코드를 수정



Edited on 2009-09-22 10:53:06 by YuKyung

Additions:
void CGDlgCategoryLearn::OnBnClickedButtonBrowseInputDir()
::SelectNewPath(&m_ctrlComboInputDir);
void CGDlgCategoryLearn::OnBnClickedButtonBrowseBoxDir()
::SelectNewPath(&m_ctrlComboBoxDir);
void CGDlgCategoryLearn::OnBnClickedButtonBrowsePosDir()
::SelectNewPath(&m_ctrlComboPosDir);
void CGDlgCategoryLearn::OnBnClickedButtonBrowseNegDir()
::SelectNewPath(&m_ctrlComboNegDir);
void CGDlgCategoryLearn::OnBnClickedButtonBrowseOutputDir()
::SelectNewPath(&m_ctrlComboOutputDir);



Edited on 2009-09-22 10:43:54 by YuKyung

Additions:
m_strInputDir의 업데이트 문제때문에 코드를 수정



Edited on 2009-09-22 10:43:27 by YuKyung

Additions:
%%(cpp)
GDlgCategoryLearn.cpp


Deletions:
%%(GDlgCategoryLearn.cpp)



Edited on 2009-09-22 10:43:07 by YuKyung

Additions:
%%(GDlgCategoryLearn.cpp)

Deletions:
%%(cpp)
GDlgCategoryLearn.cpp




Edited on 2009-09-22 10:42:50 by YuKyung

Additions:
%%(cpp)

Deletions:
%%(c)
<?cpp
?>




Edited on 2009-09-22 10:42:31 by YuKyung

Additions:
<?cpp

Deletions:
<?c



Edited on 2009-09-22 10:42:01 by YuKyung

Additions:
%%



Edited on 2009-09-22 10:41:47 by YuKyung

Additions:
%%(c)

Deletions:
%%(php)



Edited on 2009-09-22 10:41:42 by YuKyung

Additions:

To. 김동환박사님..
%%(php)
<?c
GDlgCategoryLearn.cpp
void CGDlgCategoryLearn::OnBnClickedButtonCreateTrNeg()
{
UpdateData();
if(!IsValidPath(VP_NEG))
return;
int nType = K_TRNEG;
if(AfxMessageBox(_T("Create negative data for training?"), MB_YESNO)
IDNO) return;

CGCategoryUI kcr(this);
kcr.CreateTrainingData(g_szParamPathName, m_strModelName.GetBuffer(0), m_strInputDir.GetBuffer(0),
m_strBoxDir.GetBuffer(0), m_strPosDir.GetBuffer(0), m_strNegDir.GetBuffer(0), nType);
}
?>




Edited on 2009-09-22 10:18:02 by YuKyung

Additions:

IROS2010 아자아자 화이팅!!!!!!!




Edited on 2009-09-22 10:02:01 by YuKyung

Additions:
연구실 나가기 전에.. 논문 하나 쓰고 나가자...
어때? ㅎㅎ




Oldest known version of this page was edited on 2009-09-22 10:01:25 by YuKyung []
Page view:
ㅋㅋㅋ
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0423 seconds