Skip to content

How can l get the patch when l denoise the sequence with code “test.py”. #4

@shentu95

Description

@shentu95

First,suppose l am denoising a sequence which number of frame is 150,and Non-local search parameters:the patch size is 41 , the number of frames on which we search patches is 3.

If l understand right ,the variate "img_noised_patch_stack" here https://github.com/axeldavy/vnlnet/blob/master/test.py#L183 means 3 frames of the sequence which will input the network.The first and the third frame consist of the most similar patch which we search on the corresponding frames and the second frame needs to be denoised.

So how can l get the similar patches from the first and third frame and the corresponding frame from the second frame.

In the code "train.py",it is a patch of the image that goes into the network,but it is a whole image in the code "test.py".So l think the similar patches in the code "test.py" just like this.

1567132489(1)

Patch A,B and C is three corresponding frames.Because of padding,So the size of first patch in frame-1 is only 20*20.So can l just get the patch just like this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions