open-plant 1.2.13 → 1.2.15
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/README.md +2 -0
- package/dist/index.cjs +30 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1856 -1778
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/react/overview-map.d.ts +7 -2
- package/dist/types/react/overview-map.d.ts.map +1 -1
- package/dist/types/react/wsi-viewer-canvas.d.ts +10 -4
- package/dist/types/react/wsi-viewer-canvas.d.ts.map +1 -1
- package/dist/types/wsi/types.d.ts +5 -0
- package/dist/types/wsi/types.d.ts.map +1 -1
- package/dist/types/wsi/wsi-tile-renderer.d.ts +4 -1
- package/dist/types/wsi/wsi-tile-renderer.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -134,6 +134,7 @@ import { WsiViewerCanvas } from "open-plant";
|
|
|
134
134
|
<WsiViewerCanvas
|
|
135
135
|
source={imageSource}
|
|
136
136
|
viewState={viewState}
|
|
137
|
+
imageColorSettings={{ brightness: 0, contrast: 0, saturation: 0 }}
|
|
137
138
|
ctrlDragRotate
|
|
138
139
|
rotationResetNonce={rotationResetNonce}
|
|
139
140
|
authToken={bearerToken}
|
|
@@ -191,6 +192,7 @@ import { WsiViewerCanvas } from "open-plant";
|
|
|
191
192
|
`brushOptions.clickSelectRoi`를 `true`로 두면 브러시 모드에서 클릭(드래그 없음) 시 ROI hit-test로 선택을 시도하고, ROI 밖 클릭은 기존 브러시 점찍기 동작을 유지합니다.
|
|
192
193
|
`brushOptions.edgeDetail`/`edgeSmoothing`으로 브러시 경계의 해상도와 스무딩 정도를 조절할 수 있습니다.
|
|
193
194
|
`brushOptions.radius`는 world 좌표가 아니라 HTML/CSS px 단위이며, 줌 변화와 무관하게 on-screen 크기가 고정됩니다.
|
|
195
|
+
`imageColorSettings`는 이미지 타일에만 적용되며, cell marker/ROI/draw overlay에는 영향을 주지 않습니다.
|
|
194
196
|
`pointData.fillModes`(선택, `Uint8Array`)를 주면 포인트별 렌더 모드를 제어할 수 있습니다. `0`은 ring(stroked), `1`은 solid(fill)이며 `0`이 아닌 값은 solid로 처리됩니다.
|
|
195
197
|
`roiRegions[].coordinates`는 단일 링뿐 아니라 hole이 포함된 Polygon(`[[outer],[hole1], ...]`)과 MultiPolygon(`[[[...]], [[...]], ...]`)도 지원합니다.
|
|
196
198
|
|