GSoC/2019/StatusReports/hellozee: Difference between revisions
Line 26: | Line 26: | ||
'''Goal:''' Implement the worker for the algorithm and the corresponding unit test. | '''Goal:''' Implement the worker for the algorithm and the corresponding unit test. | ||
'''Current Status''' | '''Current Status''' Done | ||
==== Related blog posts ==== | ==== Related blog posts ==== | ||
Line 46: | Line 45: | ||
* [https://invent.kde.org/kde/krita/commit/51e0986a4748e8d9abf1302cb5024bc91854eaa1Distance heuristic function takes threshold into account now] | * [https://invent.kde.org/kde/krita/commit/51e0986a4748e8d9abf1302cb5024bc91854eaa1Distance heuristic function takes threshold into account now] | ||
* [https://invent.kde.org/kde/krita/commit/1ca04c3f8b3c13f83f2492661dc39194ac268842 Fixed the intensity function] | * [https://invent.kde.org/kde/krita/commit/1ca04c3f8b3c13f83f2492661dc39194ac268842 Fixed the intensity function] | ||
* [https://invent.kde.org/kde/krita/commit/463a9b1891503f6eb46d00067db56af929789c75 Finished the Algorithm] | |||
* [https://invent.kde.org/kde/krita/commit/58c2ab7acc3e67531a3f75e5d00873a1dbee076e Added docs and completed the test] |
Revision as of 15:26, 18 June 2019
Porting Magnetic Lasso to Krita
Summary
- Project Name: Porting Magnetic Lasso to Krita
- Proposal: View Proposal
- Abstract: The Magnetic Lasso was lost during the port from Qt3 to Qt4, this project tries to continue the working to port the tool to the current version of Krita
Project Goals
- Add the Magnetic Lasso Selection Tool in Krita.
- The tool when used should stick to the edges found in the picture.
- Starts after user left clicks and makes an anchor, edges are scanned from the anchor point.
- After the mouse moves a fixed amount of distance the tool automatically places another anchor point and uses it as a reference.
- The user can also manually set an anchor point, him/herself.
- The search radius which is used to determine, upto what area the tool would search for an edge as well as the frequency of anchors can be adjusted by the user.
- The above-mentioned parameters as well as the threshold for determining edges can be adjusted using the tool options widget.
Implementations Status
Status report on each goal implementation.
KisMagneticWorker
Goal: Implement the worker for the algorithm and the corresponding unit test.
Current Status Done
Related blog posts
Commits and Differentials
- Adding an initial framework for the test
- Applying Laplacian of Gaussian on KisPaintDevice
- Added the heuristic function for the boost::astar_search
- Implemented boost::graph interface for KisPaintDevice
- an intesity function to the graph for reading threshold
- Implemented boost::astar_search using the KisMagneticGraph wrapper
- heuristic function takes threshold into account now
- Fixed the intensity function
- Finished the Algorithm
- Added docs and completed the test