GSoC/2019/StatusReports/hellozee

From KDE Community Wiki
< GSoC‎ | 2019‎ | StatusReports

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.


Project related links

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

KisToolSelectMagnetic

Goal: Implement the frontend required for the tool

Current Status Done

Related blog posts

Commits and Differentials

KisToolSelectMagneticOptionsWidget

Goal: Implement Options Widget required for adjusting the factors

Current Status Kind of done, :3

Related blog posts

Commits and Differentials