Changeset View
Changeset View
Standalone View
Standalone View
libs/image/kis_edge_detection_kernel.h
Show First 20 Lines • Show All 97 Lines • ▼ Show 20 Line(s) | 96 | static void applyEdgeDetection(KisPaintDeviceSP device, | |||
---|---|---|---|---|---|
98 | qreal xRadius, qreal yRadius, | 98 | qreal xRadius, qreal yRadius, | ||
99 | FilterType type, | 99 | FilterType type, | ||
100 | const QBitArray &channelFlags, | 100 | const QBitArray &channelFlags, | ||
101 | KoUpdater *progressUpdater, | 101 | KoUpdater *progressUpdater, | ||
102 | FilterOutput output = pythagorean, | 102 | FilterOutput output = pythagorean, | ||
103 | bool writeToAlpha = false); | 103 | bool writeToAlpha = false); | ||
104 | /** | 104 | /** | ||
105 | * @brief converToNormalMap | 105 | * @brief converToNormalMap | ||
106 | * Convert a channel of the device to a normal map. The channel will be interpretted as a heightmap. | 106 | * Convert a channel of the device to a normal map. The channel will be interpreted as a heightmap. | ||
107 | * @param device the device | 107 | * @param device the device | ||
108 | * @param rect the rectangle to apply this to. | 108 | * @param rect the rectangle to apply this to. | ||
109 | * @param xRadius the xradius | 109 | * @param xRadius the xradius | ||
110 | * @param yRadius the yradius | 110 | * @param yRadius the yradius | ||
111 | * @param type the edge detection filter. | 111 | * @param type the edge detection filter. | ||
112 | * @param channelToConvert the channel to use as a grayscale. | 112 | * @param channelToConvert the channel to use as a grayscale. | ||
113 | * @param channelOrder the order in which the xyz coordinates ought to be written to the pixels. | 113 | * @param channelOrder the order in which the xyz coordinates ought to be written to the pixels. | ||
114 | * @param channelFlags | 114 | * @param channelFlags | ||
Show All 15 Lines |