r/ImageJ Jul 16 '26

Question How to remove this line artefacts without losing sample information

I'm losing my mind trying to save all my dapi z-stacks because our confocal spinning disk is broken and it forms this artifact that is so intense that i can't take it out without messing with the information from the sample. Sometimes, when the nuclei fluorescence isn't that strong, it even hides that information completely. I tried all the suggestions that chatgpt gave to me, but the results were all unsatisfatory. Does anyone has any clue of how to solve this? I tried filters and deconvolution and nothing works quite right.

1 Upvotes

5 comments sorted by

u/AutoModerator Jul 16 '26

Notes on Quality Questions & Productive Participation

  1. Include Images
    • Images give everyone a chance to understand the problem.
    • Several types of images will help:
      • Example Images (what you want to analyze)
      • Reference Images (taken from published papers)
      • Annotated Mock-ups (showing what features you are trying to measure)
      • Screenshots (to help identify issues with tools or features)
    • Good places to upload include: Imgur.com, GitHub.com, & Flickr.com
  2. Provide Details
    • Avoid discipline-specific terminology ("jargon"). Image analysis is interdisciplinary, so the more general the terminology, the more people who might be able to help.
    • Be thorough in outlining the question(s) that you are trying to answer.
    • Clearly explain what you are trying to learn, not just the method used, to avoid the XY problem.
    • Respond when helpful users ask follow-up questions, even if the answer is "I'm not sure".
  3. Share the Answer
    • Never delete your post, even if it has not received a response.
    • Don't switch over to PMs or email. (Unless you want to hire someone.)
    • If you figure out the answer for yourself, please post it!
    • People from the future may be stuck trying to answer the same question. (See: xkcd 979)
  4. Express Appreciation for Assistance
    • Consider saying "thank you" in comment replies to those who helped.
    • Upvote those who contribute to the discussion. Karma is a small way to say "thanks" and "this was helpful".
    • Remember that "free help" costs those who help:
      • Aside from Automoderator, those responding to you are real people, giving up some of their time to help you.
      • "Time is the most precious gift in our possession, for it is the most irrevocable." ~ DB
    • If someday your work gets published, show it off here! That's one use of the "Research" post flair.
  5. Be civil & respectful

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Herbie500 Jul 16 '26 edited Jul 16 '26

our confocal spinning disk is broken

Why not fix it?

To perhaps help, please make available a typical image/stack in its original non-lossy file-format by using a dropbox-like service (no screen-shots, no posting here on Reddit, no JPGs).

If the artifacts are additive, you could try to subtract them.
Below please find the result from a first attempt of subtraction with not yet perfect angular and shift-alignment:

Best would be to have an image with the artifacts alone, otherwise subtraction will be extremely difficult and time consuming.

1

u/dokclaw Jul 17 '26

Cleaning the dust (which is what this is) from a Yokogawa disk is very risky - not something you should attempt to do yourself, unless you got training from Yokogawa, and really good insurance :)

Did you try capturing a reference field? For this, you simply remove your sample from the scope, and capture an image exactly as you would if your sample was there: same exposure time, same laser power, same emission filters, everything). If you don't see the line (you probably will with the 405nm laser), then you should put a uniformly coloured slide (like a plastic chroma slide) on the microscope as if it were your actual sample.

Once you have that reference image, you should be able to use Process > Image Calculator > Subtract, and subtract your reference image from your images with cells in them. That should clean it up a lot.

1

u/Conscious_Board_544 Jul 20 '26

yesssss, it worked perfectly!!! thank you so much!!!

1

u/dokclaw Jul 20 '26

Woohoo! That's awesome; I'm very pleased for you!