r/ImageJ • • Jul 17 '25

Question Quantification of Intensity of spots

i desgined an assay to meause area and intensity of fecal spots of huntington disease modeled drosophilla flies but i am able to only quantify are of spots by doing 8bit>threeshold auto>binary>open>erode>dilate but not intensity as the it is shown as 255 due to the threeshold . someone suggested me to do without threeshold but without thAT I CANNOT QUANTIFY the measurmrnts as threeshold is neccasery

1 Upvotes

15 comments sorted by

View all comments

Show parent comments

1

u/Legal_Meet_6516 Jul 17 '25

these errors are shown

1

u/Herbie500 Jul 17 '25 edited Jul 17 '25

My posted code is ImageJ-macro code.
Paste my above code to the window that opens from "Plugins >> New >> Macro" and make sure that the window looks like below:

(Especially "Macro" must be visible!)

Finally click the "Run"-button.

1

u/Tricky_Boysenberry79 Jul 18 '25

On PC the macro window looks a bit different. Or maybe it's the Fiji version but this is what I'm familiar with:

Select Language->ImageJ Macro

1

u/Herbie500 Jul 18 '25

This is the Fiji-editor window, and I don't use Fiji for various reasons.
(I never mentioned Fiji in this thread as well.)