@thi.ng/pixel-analysis 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/README.md +1 -1
- package/hues.d.ts +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 209 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
package/hues.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import type { IntBuffer } from "@thi.ng/pixel/int";
|
|
|
9
9
|
* @param maxHue
|
|
10
10
|
* @param minSat
|
|
11
11
|
*/
|
|
12
|
-
export declare function selectHueRangeHsv(img: IntBuffer | FloatBuffer, minHue: number, maxHue: number, minSat: number): Generator<
|
|
12
|
+
export declare function selectHueRangeHsv(img: IntBuffer | FloatBuffer, minHue: number, maxHue: number, minSat: number): Generator<Uint8Array<ArrayBufferLike> | Float32Array<ArrayBufferLike> | Uint8ClampedArray<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, void, unknown>;
|
|
13
13
|
/**
|
|
14
14
|
* Similar to {@link selectHueRangeHsv}, but only returns a count of HSV pixel
|
|
15
15
|
* values/colors matching given hue range and minimum saturation (all
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/pixel-analysis",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Image color & feature analysis utilities",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@thi.ng/color": "^5.7.
|
|
43
|
-
"@thi.ng/compare": "^2.4.
|
|
44
|
-
"@thi.ng/math": "^5.11.
|
|
45
|
-
"@thi.ng/pixel": "^7.5.
|
|
46
|
-
"@thi.ng/pixel-convolve": "^1.1.
|
|
47
|
-
"@thi.ng/pixel-dominant-colors": "^1.1.
|
|
48
|
-
"@thi.ng/transducers": "^9.
|
|
49
|
-
"@thi.ng/vectors": "^8.
|
|
42
|
+
"@thi.ng/color": "^5.7.40",
|
|
43
|
+
"@thi.ng/compare": "^2.4.21",
|
|
44
|
+
"@thi.ng/math": "^5.11.29",
|
|
45
|
+
"@thi.ng/pixel": "^7.5.1",
|
|
46
|
+
"@thi.ng/pixel-convolve": "^1.1.1",
|
|
47
|
+
"@thi.ng/pixel-dominant-colors": "^1.1.48",
|
|
48
|
+
"@thi.ng/transducers": "^9.4.1",
|
|
49
|
+
"@thi.ng/vectors": "^8.3.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"esbuild": "^0.25.5",
|
|
@@ -106,5 +106,5 @@
|
|
|
106
106
|
"status": "beta",
|
|
107
107
|
"year": 2024
|
|
108
108
|
},
|
|
109
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "14e994e531d32053e948768998324d443436a542\n"
|
|
110
110
|
}
|