comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » about co-occurance matrix
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: about co-occurance matrix [message #60156 is a reply to message #60022] Sun, 27 April 2008 19:34 Go to previous message
Magic.Zhou is currently offline  Magic.Zhou
Messages: 16
Registered: April 2008
Junior Member
On 4月27日, 下午6时01分, Magic.Z...@gmail.com wrote:
> 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=0
;for i=0,x-1 do begin
; for j=0,x-1 do begin
; for k=0,x-2 do begin
; matrix_tmp_00=Oimage(*,k)
; matrix_tmp_01=Oimage(*,k+1)
; matrix_search=where(matrix_tmp_00 eq j)
; tag=n_elements(matrix_search)
; for l=0,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=point+1
; endif
; endif
; endfor
; endfor
; matrix_04(i,j)=point
; endf
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ROI outlining of 3D volumes (multi-slice 2D)
Next Topic: Re: ROI outlining of 3D volumes (multi-slice 2D)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 02:29:21 PDT 2025

Total time taken to generate the page: 1.51804 seconds