11 #ifndef PRINCIPAL_ORIENTATIONS_HPP 12 #define PRINCIPAL_ORIENTATIONS_HPP 40 return operator()(mesh, parms[0].toFloat(), parms[1].toFloat());
46 return "Cell Axis/Fibril Orientations";
49 return "Compute Fibril Orientations";
53 return "Compute principle orientations of lines in the mesh signal.\n" 54 "Based on Boudaoud et al., 'FibrilTool, an ImageJ plug-in to\n" 55 "quantify fibrillar structures in raw microscopy images', Nature Protocols 2014";
60 <<
"Minimum inner area ratio";
65 <<
"Width of cell border that is not taken into account for the computation." 66 <<
"Minimum ratio of inner area (whole cell - border) vs. total area needed for compuation.";
74 return QIcon(
":/images/PrincipalOrientations.png");
97 return (*
this)(
currentMesh(), parms[0],
QColor(parms[1]), parms[2].toFloat(), parms[3].toFloat(),
98 parms[4].toFloat(), parms[5].toFloat());
102 float ScaleAxisLength,
float AxisOffset,
float OrientationThreshold);
105 return "Cell Axis/Fibril Orientations";
108 return "Display Fibril Orientations";
112 return "Display the orientations of fibrils on the image.\n" 113 "Only the maximal direction (main orientation) is displayed as a vector.";
126 return QStringList() <<
"Display orientation strength (= MaxDirection/MinDirection - 1) as a colormap." 129 <<
"Length of the vectors = Scale * orientation strength." 130 <<
"Draw the vector ends a bit tilted up for proper display on surfaces." 131 <<
"Minimal value of orientation strength required for drawing main direction.";
151 return QIcon(
":/images/PrincipalOrientations.png");
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: MeshProcessFibril.hpp:150
QStringList parmNames() const
List of named parameters.
Definition: MeshProcessFibril.hpp:115
Change the representation of the fibril orientation after it has been computed.
Definition: MeshProcessFibril.hpp:84
QString folder() const
Folder in which to place the process.
Definition: MeshProcessFibril.hpp:45
QString name() const
Returns the name of the process.
Definition: MeshProcessFibril.hpp:107
QStringList parmDefaults() const
List of default parms.
Definition: MeshProcessFibril.hpp:133
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: MeshProcessFibril.hpp:35
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: MeshProcessFibril.hpp:73
QStringList parmDescs() const
List of parameters descriptions.
Definition: MeshProcessFibril.hpp:124
Process()
Default constructor.
QStringList parmDescs() const
List of parameters descriptions.
Definition: MeshProcessFibril.hpp:62
CheckState checkState()
Call this function and convert the result to a boolean.
QStringList parmNames() const
List of named parameters.
Definition: MeshProcessFibril.hpp:57
This class holds the actual mesh as a VV Graph and all sort of properties for it, including visualiza...
Definition: Mesh.hpp:177
QString folder() const
Folder in which to place the process.
Definition: MeshProcessFibril.hpp:104
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: MeshProcessFibril.hpp:92
This namespace contains all the API of MorphoGraphX.
Definition: Assert.hpp:26
QStringList parmDefaults() const
List of default parms.
Definition: MeshProcessFibril.hpp:68
QString name() const
Returns the name of the process.
Definition: MeshProcessFibril.hpp:48
File containing the definition of a Process.
Mesh * mesh(int i)
Returns the ith mesh.
Show the signal.
Definition: Process.hpp:681
This namespace contains all the classes needed to define processes.
QString description() const
Returns a description of the process for the GUI.
Definition: MeshProcessFibril.hpp:51
Non-empty mesh.
Definition: Process.hpp:674
Compute principle orientations of lines in the mesh signal.
Definition: MeshProcessFibril.hpp:27
Mesh * currentMesh()
Returns the current mesh (i.e.
QString description() const
Returns a description of the process for the GUI.
Definition: MeshProcessFibril.hpp:110
Mesh processes have mutable access to meshes and non-mutable access to stacks.
Definition: Process.hpp:865
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: MeshProcessFibril.hpp:142