Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: import roi annotation preferences #102

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

moonayyur
Copy link
Collaborator

closes #97

Copy link

Deploying pixelium with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5c9847e
Status: ✅  Deploy successful!
Preview URL: https://2b3c74f3.pixelium.pages.dev
Branch Preview URL: https://97-add-pixelium-demo.pixelium.pages.dev

View logs

@moonayyur
Copy link
Collaborator Author

@stropitek in preferences, only roi columns were imported before
Now that I added the missing line to import annotations preferences, I get the error is not a function where method call on the roi instance doesn't work and plain method call fixes the problem :

const mask = getMask(roi)

instead of

const mask = roi.getMask()

But the error persists for the method calls inside getMask function in image-js-typescript (uncaught error: roi.getMapValue is not a function)

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.

Add pixelium demo
1 participant