Pipeline analysis through images acquired via ultrasonnic scanning