====== Neurite Morph Macro ====== **Neurite Morphology Macro** ===== Introduction ===== This macro measures the neurite average length, area and perimeter per neuron from epifluorescence micrographs. This macro is currently maintained and supported by a NIH P20GM103354-04 grant. ===== Author ===== Ruben K. Dagda, Ph.D., University of Nevada School of Medicine Contact: rdagda@medicine.nevada.edu ===== Features ===== Semiautomated quantification of length (um), area (um^2) and perimeter (um) per epifluorescence micrograph. The Measure Neurites macro is optimized to measure neurites of GFP transfected, differentiated SH-SY5Y cells, and primary cortical neurons. However, the macro can be customized depending on the neuronal population being analyzed by changing the value of the average soma perimeter (line 34) that is subtracted from the total average cellular perimeter lengths to obtain average neurite perimeters. ===== Description ===== The macro opens up RGB images, splits them into individual channels, and performs photographic inversion of the green channel. The macro allows the user time to manually threshold the pixels (set a minimum pixel value for the structures to be analyzed in a given epifluorescent field) to trace the neurites The macro then computes the number of neurites, summation of the areas and perimeters of soma and neurites, and the average neuritic area and perimeter per epifluorescent field. The results can be pasted onto an Excel spreadsheet. The summated neurite perimeters for each image is divided by 2, assuming negligible contributions of neurite thicknesses, to yield the summed total of neurite lengths, then normalized to the number of cells analyzed in the image (determined by counting the number of green neurons with DAPI stained nuclei), prior to statistical analysis ===== Installation ===== Copy the macro code onto a Notepad file, save it as text file and move the file to the "Macros" folder of ImageJ. The macro uses "Wait for User" Plug-in. Download the "Wait for User" class and JAVA files and transfer them to the Plug-in folder prior to running the macro. Press the "F4" key to start the macro. ===== Download ===== Download "Wait for User" files first, then copy macro text and save it as a text file. {{:plugin:morphology:neurite_morphology_macro:wait_for_user.class|}} {{:plugin:morphology:neurite_morphology_macro:wait_for_user.java|}} // Measures the length of neurites in GFP transfected cells //fluorescence macro "Measure Neurite Length [F4]" // This macro was designed to measure the neurite lengths of SH-SY5Y cells at 20X //magnification // Creator: Ruben Dagda, Chu-Lab 030207 { print("Neurite Length Macro, Ruben Dagda 03/02/07"); wait(1000); open(); run("RGB Split"); close(); run("Invert"); run("Sharpen"); //run("Threshold..."); beep(); run("Wait For User", "Threshold your neurites now and press OK when done"); run("Set Measurements...", "area perimeter redirect=None decimal=2" ); run("Analyze Particles...", "minimum=700 maximum=500000 bins=100 show=Outlines display clear summarize"); for (i=0; i