Skip to content

equivalent function for "imfilter" and "filter2" in torch? #233

Description

@rgp90

Hi,
I am trying to write these matlab code in torch, but I do not know what is the true function to do this?

> mu1 = filter2(win, img1, 'valid');
> filtered_im1 = imfilter(im1, downsample_filter, 'symmetric', 'same');
> 

I would really appreciate it if anyone can tell how to do this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions