Skip to content

Comments

Preserve mask colors when resizing the image#9

Open
vsevolod-oparin wants to merge 1 commit intomasterfrom
seva-postdev
Open

Preserve mask colors when resizing the image#9
vsevolod-oparin wants to merge 1 commit intomasterfrom
seva-postdev

Conversation

@vsevolod-oparin
Copy link

Alas, OpenCV lose colors even if we use nearest or area interpolation.
I just switched to getting colors by the grid.

Pros: it's a quick fix, cons: we may lose very small masks.

image

Alas, OpenCV lose colors even if we use nearest or area interpolation.
I just switched to getting colors by the grid.

Pros: it's a quick fix, cons: we may lose very small masks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant