Generate IPF colors multiphase error

Skip to first unread message


May 3, 2022, 5:16:54 AMMay 3
to dream3d-users

I had data for 2 phase material and I created a DREAM3D file based on this data. 
Dream3D is able to read the file. And also I was able to perform segmentation based on the misorientation. 
However, when I try to use the "Generate IPF colors" filter, I get this error:
"The Ensemble Phase information only references 2 phase(s) but 15184 cell(s) had a phase value greater than 2. This indicates a problem with the input cell phase data."

I checked the attributes and dataset values and compared them to 2 phase dream3d file generated from synthetically. It seems that the key attributes and arrays are correctly defined. Therefore, I do not understand the error. 

Can you let me know what is missing? 

I have attached the dream3d file.

Looking forward to hearing from you.

With regards,
Vitesh Shah

Michael Jackson

May 3, 2022, 12:47:24 PMMay 3
to Vitesh, dream3d-users

I don’t think you sent me the correct file.


The error is plainly stating that range of values if the “Phases” array are from 0 to some value greater than 2.


Read in the data, immediately write out a .dream3d file. Now open the file in ParaView and color by Phases. You should see that the scalar bar has a range from 0 to something. What is that something?


Or add a MultiObjects Threshold filter and create a mask for Phases > 2. Run the pipeline. View the “mask” array in ParaView and see if more than a single color shows up.


I did run some basic checks on the file you provided (which looks like a synthetic, but not from DREAM.3D) using DREAM3D Version 6.5.163 and I was able to generate IPF Colors correctly.



Michael Jackson | Owner, President

      BlueQuartz Software



You received this message because you are subscribed to the Google Groups "dream3d-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit


May 4, 2022, 5:34:40 AMMay 4
to dream3d-users

Thanks for the reply. Sorry to bother you, even though it was a mistake from my side. My code that generated the file led to some bad values in the phases array. 
I fixed the code and it works now! 
Thanks a lot for pointing me in the right direction

Yes the file was not generated from dream3D but from crystal plasticity output from DAMASK. I wanted to use Dream3D for further microstructure analysis. 

With regards,

Reply all
Reply to author
0 new messages