Rank: 3635 based on 34 downloads (last 30 days) and 1 file submitted
photo

duncanpo Po

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by duncanpo
Updated   File Tags Downloads
(last 30 days)
Comments Rating
08 Nov 2010 Hidden Markov Tree model of Contourlet Transform MATLAB files that fit a hidden Markov tree model Author: duncanpo Po contourlet, denoise, denoising, hidden markov tree, hmt, image 34 5
Comments and Ratings on duncanpo's Files View all
Updated File Comment by Comments Rating
25 Jul 2013 Hidden Markov Tree model of Contourlet Transform MATLAB files that fit a hidden Markov tree model Author: duncanpo Po abbasi, ashkan

wih VC++ 2005
Creating library C:\Users\ashkan\AppData\Local\Temp\mex_OG4cvB\templib.x and object C:\Users\ashkan\AppData\Local\Temp\mex_OG4cvB\templib.exp
pdfbcalc_KLD.obj : error LNK2019: unresolved external symbol "double __cdecl KLD_upb(class THMT,class THMT)" (?KLD_upb@@YANVTHMT@@0@Z) referenced in function "double __cdecl pdfbcalc_KLD(struct mxArray_tag const *,struct mxArray_tag const *,int *)" (?pdfbcalc_KLD@@YANPBUmxArray_tag@@0PAH@Z)
pdfbcalc_KLD.obj : error LNK2019: unresolved external symbol "public: __thiscall THMT::THMT(struct mxArray_tag const *,int *)" (??0THMT@@QAE@PBUmxArray_tag@@PAH@Z) referenced in function "double __cdecl pdfbcalc_KLD(struct mxArray_tag const *,struct mxArray_tag const *,int *)" (?pdfbcalc_KLD@@YANPBUmxArray_tag@@0PAH@Z)
pdfbcalc_KLD.mexw32 : fatal error LNK1120: 2 unresolved externals

C:\PROGRA~1\MATLAB\R2012A\BIN\MEX.PL: Error: Link of 'pdfbcalc_KLD.mexw32' failed.

07 Mar 2013 Hidden Markov Tree model of Contourlet Transform MATLAB files that fit a hidden Markov tree model Author: duncanpo Po Wen, Bruce

Dear Duncan Po:
I was trying to use your toolbox to analyze an image ‘sample.gif’ using the self-made texture dictionary with 50 files named ‘1.gif,2.gif,3.gif…50.gif’
I used following lines in Matlab:
tdb = {'1','2'…’50’};

LibraryPath='C:\Users\WonderVS\Desktop\Texture Retrieval\program\Library\';
ModelPath='C:\Users\WonderVS\Desktop\Texture Retrieval\program\mdir\';

kld = pdfbclassify_texture('sample','gif', tdb, LibraryPath, ModelPath, 1);

However I got the feedback from matlab as following:
Error using imread (line 410)
File "C:\Users\WonderVS\Desktop\Texture
Retrieval\program\Library\101" does not exist.

Error in contourlet (line 18)
pic = imread(imname,imformat);

Error in pdfbtrainimagethmt (line 22)
coef = contourlet(pyrfilter, dirfilter, levndir, imname,
imformat);

Error in pdfbcalc_imagekld (line 47)
[model1, dummy] = pdfbtrainimagethmt(image1, imf1, '',
0.01);

Error in pdfbtestall_imagekld (line 35)
[kld((i-1)*N+j), kld2((i-1)*N+j)] = ...

Error in pdfbclassify_texture (line 35)
[kld, kld2] = pdfbtestall_imagekld(qimage, qformat, tdb, tdir,
mdir, N, firsttime);

Error in test (line 18)
kld = pdfbclassify_texture('sample','gif', tdb, LibraryPath,
ModelPath, 1);

I think it is because I did not generate the proper contourlet sub-image for ‘pdfbcalc_imagekld
.m’ when generating the kld distance. I am wondering whether the pdfbtestall_imagekld.m miss the code generating contourlet subimage, or I just did it wrong?

Thank you for your attention to this matter.

Sincerely
Bruce Wen

07 Mar 2013 Hidden Markov Tree model of Contourlet Transform MATLAB files that fit a hidden Markov tree model Author: duncanpo Po Wen, Bruce

hi, Duncan Po. I was trying to use your toolbox to analyse a image

12 Mar 2012 Hidden Markov Tree model of Contourlet Transform MATLAB files that fit a hidden Markov tree model Author: duncanpo Po Po, Duncan

Hi Huang Xiaoxia,
I believe you are using a C compiler? You need a C++ compiler. .cc files are C++ source code.

11 Mar 2012 Hidden Markov Tree model of Contourlet Transform MATLAB files that fit a hidden Markov tree model Author: duncanpo Po xiaoxia, huang

how to compiler the *.cc files?I compilered the *.cc files as the readme file tell us to do,but there are erros-Command line warning D4024 : unrecognized source file type 'pdfbcalc_KLD.cc', object file assumed
Command line warning D4027 : source file 'pdfbcalc_KLD.cc' ignored
Command line warning D4021 : no action performed

D:\MATLAB7.0\BIN\WIN32\MEX.PL: Error: Compile of 'pdfbcalc_KLD.cc' failed.

??? Error using ==> mex
Unable to complete successfully

Contact us