Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: about co-oc...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 7 Topic 5682 of 5741
Post > Topic >>

Re: about co-occurance matrix

by Magic.Zhou@[EMAIL PROTECTED] Apr 27, 2008 at 07:34 PM

On 4=D4=C227=C8=D5, =CF=C2=CE=E76=CA=B101=B7=D6, Magic.Z...@[EMAIL PROTECTED]
> is there anyone who can give me some idea about how to program a
> 256*256 co-occurance matrix? mine takes quite a long time, and now it
> is still working......probably it is wrong:(
> thank you!

this is mine, one matrix total 4 matrix

;matrix_04::(i+1,j-1)<-->(i,j)
;point=3D0
;for i=3D0,x-1 do begin
;	for j=3D0,x-1 do begin
;        for k=3D0,x-2 do begin
;           matrix_tmp_00=3DOimage(*,k)
;           matrix_tmp_01=3DOimage(*,k+1)
;           matrix_search=3Dwhere(matrix_tmp_00 eq j)
;           tag=3Dn_elements(matrix_search)
;           for l=3D0,tag-2 do begin
;               if(matrix_search(l)-1 gt 0) then begin
;               if((matrix_tmp_00(matrix_search(l)) eq
matrix_tmp_01(matrix_search(l)-1))) then begin
;                 point=3Dpoint+1
;               endif
;               endif
;            endfor
;         endfor
;         matrix_04(i,j)=3Dpoint
;     endf




 7 Posts in Topic:
about co-occurance matrix
Magic.Zhou@[EMAIL PROTECT  2008-04-27 01:01:16 
Re: about co-occurance matrix
Magic.Zhou@[EMAIL PROTECT  2008-04-27 19:34:13 
Re: about co-occurance matrix
David Fanning <news@[E  2008-04-27 21:00:43 
Re: about co-occurance matrix
David Fanning <news@[E  2008-04-27 21:03:47 
Re: about co-occurance matrix
David Fanning <news@[E  2008-04-27 21:10:33 
Re: about co-occurance matrix
Bob Crawford <Snowman4  2008-04-28 11:48:42 
Re: about co-occurance matrix
David Fanning <news@[E  2008-04-28 12:49:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 5:45:40 CDT 2008.