fish-quant / fq-imjoy

ImJoy plugins to run different smFISH analysis in a user-friendly setting.
https://fq-imjoy.readthedocs.io/en/latest/
MIT License
2 stars 2 forks source link

Can't properly preprocess the images #52

Closed HaofeiGe closed 6 months ago

HaofeiGe commented 2 years ago

Hi~I'm a fresher and have a problem here. I can only successfully preprocess the example images from fq-segmentation. But when I use the example images from fq-imjoy or my images, it gives me wrong results like this ↓ 。I am using a Windows 10 device. D$UIO_0@Z5MJK)8(PO 90B

muellerflorian commented 2 years ago

Hello, we will nee more information to check what you think is going on. the above shown screenshot looks not wrong to me. you would expect for a given channel (dapi in this case) to have a settings file (.json) and an image file (.png). that's what you have. what do you think it not working? if you have error messages, please also provide them.

HaofeiGe commented 2 years ago

Hello, we will nee more information to check what you think is going on. the above shown screenshot looks not wrong to me. you would expect for a given channel (dapi in this case) to have a settings file (.json) and an image file (.png). that's what you have. what do you think it not working? if you have error messages, please also provide them.

Hello. I'm sorry about my discription. Firstly, intuitively, the image file (.png) from preprocess program are different. ~G_LX GPSDM@HANTJPPXHCD Secondly, it will error in "SegmentObjects" or "SegmentCellsNuclei". Here are Log (Preprocess), Log(SegmentObjects) and Log (SegmentCellsNuclei). In addition, the example from "fq-segmentation" will not meet this problem. PreProcess_iul3d1657536566481.txt SegmentObjects_9zhve1657536571643.txt SegmentCellsNuclei_u91lb1657536569410.txt Looking forward to your reply. Thanks a lot!

muellerflorian commented 2 years ago

Hello, sorry for the late reply. was traveling.

not sure what's going on. can you send the raw 3d images and also the projected ones (wetransfer or something like that)?

my email: muellerf.research@gmail.com

HaofeiGe commented 2 years ago

Hello, sorry for the late reply. was traveling.

not sure what's going on. can you send the raw 3d images and also the projected ones (wetransfer or something like that)?

my email: muellerf.research@gmail.com

Hello~I'm so sorry for my naive. I've found the reason—— if the input image for "preprocess" is a 2D (max indensity), it will cause this problem. When I convert the raw image to 3D tif image in ImageJ, no wrong occurs. Thx a lot for your attention.

But resently, I have a New Problem. TaT. Some smFISH images stuck in Filter image, when sigma-xy ≤0.5. DO0{@{8QOQ39D3_3I72@4QE Log(FISH-QUANT) is offered. FISH-QUANT_ia8bn1659579753942.txt The raw image is sent to your email. Thanks for help~

Mariateresa91 commented 6 months ago

Hi all, I am having the same problem discussed above. I am trying to segment my 2D .png images to perform then spot quantification: all images are single-plane, 2221x2221px each. However, when I use PreProcess and SegmentObjects I get something like this:

image

I have also tried using .tif files, and I get the same problem.

Do you know what could be the reason of this?

Here are the parameters I use:

image

Thank you in advance! Mariateresa

HaofeiGe commented 6 months ago

Hi all, I am having the same problem discussed above. I am trying to segment my 2D .png images to perform then spot quantification: all images are single-plane, 2221x2221px each. However, when I use PreProcess and SegmentObjects I get something like this:

image

I have also tried using .tif files, and I get the same problem.

Do you know what could be the reason of this?

Here are the parameters I use:

image

Thank you in advance! Mariateresa

Hi~I give up processing smFISH image on Imjoy. Using the Python version of BigFISH(https://big-fish.readthedocs.io/en/stable/) is a better choice. It really runs very well, whether it's looping through multiple smFISH images or the running speed.