Application of A* algorithm for microstructure and transport properties characterization from 3D rock images