@vitessce/image-utils 3.5.10 → 3.5.12
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/dist/{deflate-db077ef9.js → deflate-1b7f84df.js} +1 -1
- package/dist/{index-895079ae.js → index-7cd9a821.js} +16 -12
- package/dist/index.js +1 -1
- package/dist/{jpeg-538d6217.js → jpeg-e6befff5.js} +1 -1
- package/dist/{lerc-b87bdc1b.js → lerc-3f737256.js} +1 -1
- package/dist/{lzw-b8bc714f.js → lzw-a121adc1.js} +1 -1
- package/dist/{packbits-94f00132.js → packbits-896bb499.js} +1 -1
- package/dist/{raw-be48f963.js → raw-03199f90.js} +1 -1
- package/dist/{webimage-66c7a27c.js → webimage-1e977884.js} +1 -1
- package/package.json +5 -5
|
@@ -124378,8 +124378,15 @@ class SelectionLayer extends CompositeLayer {
|
|
|
124378
124378
|
if (!nodePolygonContainsSelectedPolygon && !nodePolygonWithinSelectedPolygon && !nodePolygonOverlapsSelectedPolgyon) {
|
|
124379
124379
|
return true;
|
|
124380
124380
|
}
|
|
124381
|
-
if (node2.data
|
|
124382
|
-
|
|
124381
|
+
if (node2.data) {
|
|
124382
|
+
let current = node2;
|
|
124383
|
+
while (current) {
|
|
124384
|
+
const pointCoords = [].slice.call(getObsCoords(current.data));
|
|
124385
|
+
if (booleanPointInPolygon$1(point$1(pointCoords), selectedPolygon)) {
|
|
124386
|
+
pickingInfos.push(current.data);
|
|
124387
|
+
}
|
|
124388
|
+
current = current.next;
|
|
124389
|
+
}
|
|
124383
124390
|
}
|
|
124384
124391
|
return false;
|
|
124385
124392
|
});
|
|
@@ -125557,16 +125564,16 @@ function addDecoder(cases, importFn) {
|
|
|
125557
125564
|
}
|
|
125558
125565
|
cases.forEach((c) => registry$1.set(c, importFn));
|
|
125559
125566
|
}
|
|
125560
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
125561
|
-
addDecoder(5, () => import("./lzw-
|
|
125567
|
+
addDecoder([void 0, 1], () => import("./raw-03199f90.js").then((m) => m.default));
|
|
125568
|
+
addDecoder(5, () => import("./lzw-a121adc1.js").then((m) => m.default));
|
|
125562
125569
|
addDecoder(6, () => {
|
|
125563
125570
|
throw new Error("old style JPEG compression is not supported.");
|
|
125564
125571
|
});
|
|
125565
|
-
addDecoder(7, () => import("./jpeg-
|
|
125566
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
125567
|
-
addDecoder(32773, () => import("./packbits-
|
|
125568
|
-
addDecoder(34887, () => import("./lerc-
|
|
125569
|
-
addDecoder(50001, () => import("./webimage-
|
|
125572
|
+
addDecoder(7, () => import("./jpeg-e6befff5.js").then((m) => m.default));
|
|
125573
|
+
addDecoder([8, 32946], () => import("./deflate-1b7f84df.js").then((m) => m.default));
|
|
125574
|
+
addDecoder(32773, () => import("./packbits-896bb499.js").then((m) => m.default));
|
|
125575
|
+
addDecoder(34887, () => import("./lerc-3f737256.js").then((m) => m.default));
|
|
125576
|
+
addDecoder(50001, () => import("./webimage-1e977884.js").then((m) => m.default));
|
|
125570
125577
|
function decodeRowAcc(row, stride) {
|
|
125571
125578
|
let length2 = row.length - stride;
|
|
125572
125579
|
let offset = 0;
|
|
@@ -139906,9 +139913,6 @@ function physicalSizeToMatrix(xSize, ySize, zSize, xUnit, yUnit, zUnit) {
|
|
|
139906
139913
|
sizes.push(unit(`${zSize} ${zUnit}`.replace("µ", "u")));
|
|
139907
139914
|
}
|
|
139908
139915
|
const scale2 = sizes.map((i2) => divide(i2, unit("1 um")));
|
|
139909
|
-
if (!sizes[0].equals(sizes[1])) {
|
|
139910
|
-
scale2[1] = divide(sizes[1], sizes[0]);
|
|
139911
|
-
}
|
|
139912
139916
|
if (!scale2[2]) {
|
|
139913
139917
|
scale2[2] = 1;
|
|
139914
139918
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
|
|
2
|
-
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-7cd9a821.js";
|
|
3
3
|
import "react";
|
|
4
4
|
const LercParameters = {
|
|
5
5
|
Version: 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/image-utils",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.12",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@hms-dbmi/viv": "~0.16.0",
|
|
20
|
-
"@vitessce/types": "3.5.
|
|
21
|
-
"@vitessce/spatial-utils": "3.5.
|
|
22
|
-
"@vitessce/utils": "3.5.
|
|
23
|
-
"@vitessce/globals": "3.5.
|
|
20
|
+
"@vitessce/types": "3.5.12",
|
|
21
|
+
"@vitessce/spatial-utils": "3.5.12",
|
|
22
|
+
"@vitessce/utils": "3.5.12",
|
|
23
|
+
"@vitessce/globals": "3.5.12"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"vite": "^4.3.0",
|