We present an optimized local ejection procedure using a glass micro-pipette and a fast two-photon hyperstack imaging method, which allows precise measurement of capillary diameter changes and investigation of its regulation in three dimensions.