xiongzhu666/Sky-Segmentation-and-Post-processing

Image resolution

lknnnli opened this issue · 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

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.