HakaiInstitute / kelp-o-matic

Segmentation Tools for Remotely Sensed RPAS Imagery
http://kelp-o-matic.readthedocs.io
MIT License
15 stars 2 forks source link

Black screen #121

Closed noahkaefer closed 2 months ago

noahkaefer commented 2 months ago

Hello beginner here,

I'm not sure where I am going wrong. I followed the instructions and when the segmentation process completes it outputs a completely black image. Any suggestions would be very much appreciated! I attached the code and the image I used (cropped so it's not so big).

test3

kelp_o_matic_code

tayden commented 2 months ago

Hi @noahkaefer, did you try to visualize the output by classifying the pixel values? The output values are all going to be 0 or 1 (for kelp presence detection) or 0,2,3 (for species segmentation). So, because all the values are close to black, it will look black unless you change the visualization settings.

Otherwise, the image looks good. So I'd expect it to work. Let me know if that doesn't solve it.

tayden commented 2 months ago

image

noahkaefer commented 2 months ago

Hi Taylor,

Yes, this fixed my problem! Thank you!

From: Taylor Denouden @.> Sent: Wednesday, July 17, 2024 9:49 AM To: HakaiInstitute/kelp-o-matic @.> Cc: Noah Kaefer @.>; Mention @.> Subject: Re: [HakaiInstitute/kelp-o-matic] Black screen (Issue #121)

Hi @noahkaeferhttps://github.com/noahkaefer, did you try to visualize the output by classifying the pixel values? The output values are all going to be 0 or 1 (for kelp presence detection) or 0,2,3 (for species segmentation). So, because all the values are close to black, it will look black unless you change the visualization settings.

Otherwise, the image looks good. So I'd expect it to work. Let me know if that doesn't solve it.

— Reply to this email directly, view it on GitHubhttps://github.com/HakaiInstitute/kelp-o-matic/issues/121#issuecomment-2233753089, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BIK7I4N4SJD3RFFYZ7OIIETZM2N6HAVCNFSM6AAAAABK7ORMTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZTG42TGMBYHE. You are receiving this because you were mentioned.Message ID: @.**@.>>