FAQ: How do I cite ImageJ in a publication?

This is explained on the ImageJ website. For Fiji, the primary reference is listed on the Fiji website.