Color dislocation atoms

Hi, dear developers, how to use ovito to color atoms about different dislocation types as in the figure above? Thanks!

Hi, can you let me know the original reference that this picture is taken from?
This is the link of the paper. Thanks!

The authors of that paper probably used OVITO’s Dislocation Analysis modifier. The latter also includes a Common neighbor analysis, so you can select, delete and color atoms according to their structure type using several instances of Select Type, Assign Color and Delete Selected modifiers.