mtex-toolbox / mtex

MTEX is a free Matlab toolbox for quantitative texture analysis. Homepage:
http://mtex-toolbox.github.io/
GNU General Public License v2.0
275 stars 182 forks source link

FMC technique for grain calculation fails #539

Open xajezade opened 3 years ago

xajezade commented 3 years ago

What do you want to do? I have an EBSD map with a gradient in orientation. I want to analyze grains with clustering techniques. What data do you have? I used the Mtex data (single). What code do you use? mtexdata single grains_FMC = calcGrains(ebsd('indexed'),'FMC',3.8)

What result do you get I get an error.

Error Message Error using Incorrect dimensions for matrix multiplication. Check that the number of columns in the first matrix matches the number of rows in the second matrix. To perform elementwise multiplication, use '.'. What MTEX version do you use? MTEX 5.5.beta.3

ralfHielscher commented 3 years ago

Thank you for reporting this bug. Are you able to use make use of the previous commit?

Ralf.

xajezade commented 3 years ago

Hi Ralf, Thanks! The problem is resolved in the previous commit! Also, could you add more documentation for the "Markovian Clustering Algorithm"? MFC couldn't give the results that I am looking for! When I calculate grains based on the angle threshold, there are some grains that have more than one distinct single orientation space. on the pole figure plot, it is like that you are plotting three distinct single crystals orientations, for example. I was wondering if I can use any clustering on the overall orientation space to separate these grains? I visually can see different grains but I cannot distinguish them based on an angle threshold. I've added one example of such grain (Here, I used 10 degrees, if I use a small threshold, it actually gives me subgrains which is not what I am looking for). example4grainSplit2DistinctOrientations2 copy

ralfHielscher commented 3 years ago

Could you please provide your data?

Ralf

xajezade commented 3 years ago

Hi Ralf,

Sorry for my late reply! I totally forgot about it! Please download the raw osc file from my Google drive! https://drive.google.com/file/d/1amj1D4-b8fzgLVPtYLhQ99glx-D1AwaM/view?usp=sharing

I am trying to analyze the initial parent grains which are elongated! The picture that I had sent you before is a grain cropped from this microstructure. I have been trying to make use of MFC and angle threshold to analyze elongated grains but they failed to give me all of the parent grains.

Kindest Regards, Ali