A ferroelectric memory device has a high performance, includes no Pb, and can be directly mounted onto an Si substrate. The first top portions include a connector and the second top portions include a slot, and the connector of the first top portions are configured to extend through the slots of the second top portions. If the pixel signal exceeds a sampling threshold, the photosensitive element is reset. The cavity heights are each at least approximately 0.