fenning-research-group / PASCAL_TrainView

Analysis and optimization of PASCAL process parameters and resulting thin films
1 stars 0 forks source link

PL Cropping #4

Open kcw1375 opened 1 year ago

kcw1375 commented 1 year ago

Note to self: currently crop_pl in crop.py is based on thresholding the white edges of the PL image. However, these white edges are not always supposed to be there. TODO: use another method to create the sample crop.

dnzckn commented 1 year ago

maybe this could work

kcw1375 commented 1 year ago

I did try out opencv's canny edge detection but the images were a bit too noisy and it always picked up the texture of the holder. Maybe scikit's is better at that? I'll check it out, thanks!

dnzckn commented 1 year ago

try on batch 15, without the red channel blowing out, now crop.py fails quite often

kcw1375 commented 1 year ago

i don't see batch 15 on the drive yet

dnzckn commented 1 year ago

Example:

image