Skip to content

About vectorization of Warping code #1

@lavz94

Description

@lavz94

Hello ybhan great respository , I have changed some part of your code like Cylindrical warping to vectorized ones and achieved significant speedup ,but i could not vectorize this part of your code .
In stitch.py ,Line number 38

for i in range(-y_min, h2 - y_min):  
        for j in range(-x_min, w2 - x_min):
            if np.any(img2[i + y_min][j + x_min]):
                img_output[i][j] = img2[i + y_min][j + x_min]

Any ideas ?

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