meghalithic / DeepBryo_micro

A web app for AI-assisted segmentation of cheilostome bryozoan colonies
Other
1 stars 0 forks source link

tasks #1

Open meghalithic opened 1 week ago

meghalithic commented 1 week ago
meghalithic commented 1 week ago
lilysandstrom commented 1 week ago

Screenshot from 2024-06-25 16-32-17 Screenshot from 2024-06-25 16-40-45

I've been trying to add the optional command padding in the command line, but getting error messages; mostly either: app-cli.py: error: argument -p/--padding: invalid float value or app-cli.py: error: unrecognized arguments

lilysandstrom commented 1 week ago

Images that have a 118 pixel wide black boarder at the bottom where the scale bare is: MHR.4325 - MHR.8794. Of these, all are x50 magnificaction, except 11 images, which are: MHR.4625 (x40) MHR.4626 (x40) MHR.4827 (x60) MHR.5026 (x30) MHR.6751 (x40) MHR.6752 (x40) MHR.7197 (x40) MHR.7198 (x40) MHR.8541 (x60) MHR.8542 (x60) MHR.8543 (x60) (MHR.8679 is flipped upside down but is x50)

lilysandstrom commented 1 week ago

Images that have no black scale-bar boarder are MHR.8805 - MHR.12836. All of these are x50. MHR.8994 and MHR.12257 are flipped 90 degrees counter-clockwise.

lilysandstrom commented 1 week ago

All the x50 seem to have a scale/conversion factor of 1.00864 pixels per micrometer. Edit: yes, you're right! The scale bar is 1.00 mm (which is not 100 micrometers, but 1000 micrometers)!

meghalithic commented 1 week ago

I've been trying to add the optional command padding in the command line, but getting error messages; mostly either: app-cli.py: error: argument -p/--padding: invalid float value or app-cli.py: error: unrecognized arguments

I messaged Arthur about this

meghalithic commented 1 week ago

All the x50 seem to have a scale/conversion factor of 10.0864 pixels per micrometer.

Is it not 1.009?

meghalithic commented 1 week ago

Images that have no black scale-bar boarder are MHR.8805 - MHR.12836. All of these are x50. MHR.8994 and MHR.12257 are flipped 90 degrees counter-clockwise.

Can you show me an example?

lilysandstrom commented 1 week ago

Screenshot from 2024-06-26 11-13-39 Output with no autofiltering: I have not turned on the autofilter gradient boosting algorithm here. In image MHR.4625 for example, only a few autozooids seemed useable (so I would remove all others from the csv output). It seems that DeepBryro has not detected any ascopores even though some ascopores are visible to me in the jpg. I can try to play around with the confidence and the autofiltering settings to try to get it to detect the ascopores. Of the useable autozooids that DeepBryo seems to have detected well, I can see for example that the avicularial area marked 22 is a bit overestimated. The area for autozooid 2 also seems to be off, and it has not detected the orifice. I'll move on to the other images for now. It may be that images like this should just be discarded, but some data could potentially be extracted.

lilysandstrom commented 6 days ago

Note to self: try -p and numbers, without brackets or commas, only spaces.

lilysandstrom commented 5 days ago

Padding works when input is whole numbers separated by spaces only, without brackets, parentheses, or commas. Eg. -p 5 5 5 5 There were however multiple user warnings. They may be irrelevant, but could also be an issue when processing a larger set of images. Userwarnings-padding-command

lilysandstrom commented 4 days ago

Padding: for images MHR4325 - MHR.8794 with 118 pixel wide black boarder, padding can be 5 5 5 125 for example. Padding for images MHR.8805 - MHR.12836 can be 5 5 5 5