Prev: using TESTHET - statistical tests for heteroskedasticity
Next: www.cnnikebrand.com wholesale Nike Sneakers,jordans sneaker
From: Christian on 25 May 2010 15:00 Hallo, I have got a question regrading bwlabel: I am analysing various bone-layer by bwlabel. For each layer I get the indices of each area which is air in the bone. But: The air-in-bone areas change from layer to layer. That's why also the indices change - although they often belong to the same air-in-bone area. Example: Layer 1= [0 0 1 1 0 0 0 2 2 2 0 3] Layer 2= [1 0 2 2 0 0 0 3 3 3 0 4] But I need this result: Layer 1= [0 0 1 1 0 0 0 2 2 2 0 3] Layer 2= [4 0 1 1 0 0 0 2 2 2 0 3] I need this result because I need the realtionship between the non-air-bone areas of each layer. Is there an simple extention for bwlabel to solve this - or any alternative? Otherwise I need to write a sort-algorithm which refers to the balace point of each area. But maybe you ' ve got an alternative hint for this idea, too. =) Thank you. Christian
From: ImageAnalyst on 25 May 2010 16:05 Christian: What do you mean by "layer"? Do you mean slice, as in a 3D volumetric image? If so, did you use bwlabeln()? Or does layer mean one row in the 2D matrix?
From: Christian on 25 May 2010 16:55
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <409080b2-563c-41ae-8147-83cc54409fd9(a)o12g2000vba.googlegroups.com>... > Christian: > What do you mean by "layer"? Do you mean slice, as in a 3D volumetric > image? If so, did you use bwlabeln()? > Or does layer mean one row in the 2D matrix? Yes, maybe slice fits better. In fact it is a 3D volumetric image but just with 0-1-data. I just checked out bwlabeln() for 3D data. That definitely goes into the right direction. Until now my algorithm walked from slice to slice. But bwlablen() does it "all-inclusice"!! Thank u. I ll check it out... |