Barkhausen noise as a microstructure characterization tool