Development of an apparatus for Bragg coherent X-ray diffraction imaging, and its application to the three dimensional imaging of BaTiO3 nano-crystals