Sky-Segmentation-and-Post-processing icon indicating copy to clipboard operation
Sky-Segmentation-and-Post-processing copied to clipboard

Image resolution

Open lknnnli opened this issue 2 years ago • 1 comments

Hi Xiong,

Recently I am reading that google paper, and I have a issue want to confirm with you. image As I see from the pipeline, in order to get coarse matte, we need to first down size the input raw image, And I think this down-sized image should be the input of matte inference network( for your case is U2net). and the following upsampled weighted guided filter is used to upsample the low resolution output from u2net to a high resolution same as input.

Am I correct? With warm regards Kangning Li

lknnnli avatar Jul 22 '22 10:07 lknnnli

Hi Xiong,

Recently I am reading that google paper, and I have a issue want to confirm with you. image As I see from the pipeline, in order to get coarse matte, we need to first down size the input raw image, And I think this down-sized image should be the input of matte inference network( for your case is U2net). and the following upsampled weighted guided filter is used to upsample the low resolution output from u2net to a high resolution same as input.

Am I correct? With warm regards Kangning Li

Yes

  1. the inference network give a low resolution mask and I resize the mask to original resolution by linear interpolation in opencv.
  2. the weighted guided filter is for refine mask and keep more details. its inputs are orignal RGB image and linear interpolation mask.

xiongzhu666 avatar Jul 23 '22 07:07 xiongzhu666