Creating Simulated Synapse Images

Justin T Savage

Published: 2024-06-24 DOI: 10.17504/protocols.io.kxygxy7n4l8j/v1

Abstract

How to create simulated synapse images using FIJI.

Steps

Prepare images

1.

Copy some synapse images into a folder to serve as a source of synaptic puncta. Example images are available on Zenodo at DOI: 10.5281/zenodo.12191805

2.

Set up a larger folder for the code to use that contains a subfolder called "raw_images" that contains the images to use.

Run ImageJ Macro

3.

Open 20240312_sim_synapse_data_sparse.ijm from the SynBot GitHub by dragging it into FIJI

4.

Change the noise multiplier in line 7 of the code if necessary. You can also adjust the minimum pixel size and threshold values to use in lines 13-20. These values should be stringent since you only want to use good puncta for making the simulated images and aren't trying to capture everything.

5.

Choose the source folder prepared as explained in step 2.

6.

Simulated images will be saved to the ouput folder created within the source folder from step 2. Text files are also written there which have the coordinates of the green and red puncta to serve as the ground truth for future analysis.

推荐阅读

Nature Protocols
Protocols IO
Current Protocols
扫码咨询