That’s a good catch, but I still think that a better fitted rectangle would help in most cases. I don’t know the behind-the-scenes of LB, but in my opinion, using something like the cv.minAreaRect() in OpenCV would provide better results in most cases.
Though, you would need to translate this to the original coordinate system orientation, which will result in the green rectangle again. So might not help that much. Or use a convex hull and translate that to the next fitting minimal rectangular shape.
What might help would be to select the smallest fitting rectangle that has 0° orientation, that would solve the 45° problem case of this thread, at least
I understand the reason you didn’t do it that way yet, it might get complex and have many corner cases.
So sorry for late response.
I’ll say this for sure: Im so happy Im not in program development. Stuff like this makes me dizzy @_@
Anyway, Yes, changing coordinates might solve the immediate problem, but causes additional work to make adjustments to the rest of the project for alignment.
Though Lightburn isn’t a design program per say, It surprised me that the mask, even flattened, still effects the overall coordinates, and that there isn’t a simple option to “reset bounding box” like in some design programs. I figured this was a glitch, or that I overlooked some option. The obvious solution would be to go back into an editing/design program, like Photoshop or Illustrator, Open the image, make the needed adjustment, export, go back into Lightburn and import. This would probably take no more than 5-10mins. But this is about the efficiency Lightburn and the streamlining(?) of projects.
If it’s not a glitch, can a feature be added? I think thats the question at this point of the thread. I appreciate what Melvin said, that it might get complex to integrate such a feature, So I wouldn’t expect anything immediately. But to know it’s in the pipeline would be awesome. Honestly, Im extremely surprised that this might be the first time it’s being brought up.
I want to make sure you all know I deeply appreciate your help and feed back. Your suggestions are practical and helpful. I don’t mean to complain.
Certainly! We host feature requests on the Feature Suggestion site. There is a long list of requests. Priorities are made and remade as the Dev team continues to refine the code. Feature suggestions are important to us, but they’re rarely ‘everyone Drop everything’ important. I can’t offer a timeline for implementation. Please follow the next link and upvote the suggestion.
You’re right! I found one that would be good to upvote.
You’ve been very gracious in asking. Your comments are welcome and appreciated. If you see anything else that impedes your work feel free to reach out.