write python script to cat out RIO from npy images Dependence on mask image
Budget: $30 – $250 USD
I need to write script that read 3 folder of npy images and the another folder of masks ot these image.
mask number 1 in folder 4 is the mask for image number 1 from folder 1,2, and 3.
mask images value is (0-1) or (0-255)
so I need to cut ROI from the npy images in folder 1,2, and 3, where the pixels in mask are 1 or 255.
i need to crop the smallest rectangle including in this rectangle all pixels from the npy image ( these pixels valu in mask is 1 or 255), so we will have the smallest number of pixeles represent 0 in the mask.
mask number 1 in folder 4 is the mask for image number 1 from folder 1,2, and 3.
mask images value is (0-1) or (0-255)
so I need to cut ROI from the npy images in folder 1,2, and 3, where the pixels in mask are 1 or 255.
i need to crop the smallest rectangle including in this rectangle all pixels from the npy image ( these pixels valu in mask is 1 or 255), so we will have the smallest number of pixeles represent 0 in the mask.