Skip to content

Incorrect usage of upConv with res in reconSpyr.m and reconSpyrLevs.m #4

@yubeic

Description

@yubeic

In reconSpyr.m, line 94, the original code was:
res = upConv( subMtx(pyr, pind(1,:)), hi0filt, edges, [1 1], [1 1], size(res), res);

And it seems the result matrix will not be returned when res is passed to this function, just as mentioned in the 'help' instruction. After I changed this line to:
upConv( subMtx(pyr, pind(1,:)), hi0filt, edges, [1 1], [1 1], size(res), res);

The problem is solved.

A similar issue is seen in reconSpyrLevs.m, line 41.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions