A Parallel Algorithm of Texture Analysis for Liquid Crystal Investigation