Scripting with OperationMask #510
nmilnercollabora
started this conversation in
Scripts
Replies: 2 comments 1 reply
-
You need to see the source file OperationMask.cs However i don't have any method to load the mask from file directly (I may add/change that in next patch) var operation = new OperationMask(SlicerFile)
{
Mask = CvInvoke.Imread("path_to_image.png", ImreadModes.Grayscale);
}; Note that Mask must be same size as your ROI or slicer resolution Here the sample from UI: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you @sn4k3 . I have to say I am very impressed with UVTools. I found out about it via and it's the best post slicing tool I've ever used. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Please could you let me know how I can use OperationMask inside a script in particular specify the mask .png file?
Thanks,
Nick
Beta Was this translation helpful? Give feedback.
All reactions