キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Particle Orientation Modification

解決済み
解決策を見る

Hi,

 

I'm trying to modify ni's Particle Orientation Example, so I'll be able to extract additional data from it.

I've tried to modify the "unbundle" function in the loop for the new data, but it's impossible to extend the "unbundle" tool.

Any suggestions?

 

Thank you, 

0 件の賞賛
メッセージ1/7
4,169件の閲覧回数

You can use a reshape array and convert it into a 1d array

 

20201i48375303A83DE0BF

 

 

 

0 件の賞賛
メッセージ2/7
4,156件の閲覧回数

***Double post***

 

 

20203i12ABEFC7CA60BFC5

 

And if you want to unbundle it and use it you can also avoid the for loop

 

 

 

0 件の賞賛
メッセージ3/7
4,155件の閲覧回数

Thanks for your approach Muks, but will I still need the analysis and the option to choose the background (i.e... white on black, black on white, and etc...). So I think I still need the for loop for that, don't I?

 

0 件の賞賛
メッセージ4/7
4,147件の閲覧回数

Also, just for curiousity, why do they subtract 25 from the x center of mass in the example (inside the for loop)? I wonder if an ni person could answer that.

0 件の賞賛
メッセージ5/7
4,144件の閲覧回数
解決策
受理者 simply_me

You have define your own cluster size in array to cluster. Right click the array to cluster and define the same.

 

20211iCF188636C535A19E

メッセージ6/7
4,127件の閲覧回数

The 25 is subtracted so that the numbers can be overlayed in the image properly. Change the number to say 100 and you will change the overlayed test to change. The 25 is subtracted from the centre of mass x.

メッセージ7/7
4,126件の閲覧回数