Conversation
- Added support for local TIFF images, including view options and data source creation. - Implemented percentile-based default intensity estimation for composite images. - Updated image control state management to handle new image defaults. - Enhanced background image rendering logic to accommodate local TIFF sources. - Introduced new utility functions for estimating composite min-max values. - Improved map resolution handling for GeoTIFF images. - Added tests for new functionality, including local TIFF handling and intensity estimation. Signed-off-by: Chaichontat Sriworarat <csriwor1@jh.edu>
…alues and overviews - Added tests to ensure histogram allocation is managed correctly when extreme outliers are present in imgIntensity. - Introduced a GuardedUint32Array to prevent oversized histograms in imgIntensity. - Updated imgIntensity to clamp histogram values and optimize memory usage. - Enhanced localTiffSource to build overview levels dynamically based on image dimensions. - Modified resolution calculations for local TIFF images to include intermediate zoom levels. - Updated Mapp class to conditionally show scale line based on image properties. - Added type definitions for jpegxr module to support JPEG XR image decoding. Signed-off-by: Chaichontat Sriworarat <csriwor1@jh.edu>
Signed-off-by: Chaichontat Sriworarat <csriwor1@jh.edu>
…d enhance splash page instructions Signed-off-by: Chaichontat Sriworarat <csriwor1@jh.edu>
Deploying loopy-browser with
|
| Latest commit: |
8da0b1b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://a875c2df.loopy-browser.pages.dev |
| Branch Preview URL: | https://autotif.loopy-browser.pages.dev |
…cessing Signed-off-by: Chaichontat Sriworarat <csriwor1@jh.edu>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ebe7805a06
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| const nonSpatialAxes = parsed.axes.replace(/[XY]/g, ''); | ||
| if (channelAxis < 0 || nonSpatialAxes !== 'C') { | ||
| return null; |
There was a problem hiding this comment.
Accept singleton time/depth axes in JSON TIFF metadata
parseImageDescriptionChannelMetadata currently rejects any non-spatial axes combination except exactly "C", so metadata like {"axes":"TCYX","shape":[1,2,...]} or {"axes":"ZCYX","shape":[1,2,...]} is treated as unsupported even though it is still a valid 2D channel stack. In those cases explicitChannelNames becomes null and validateTiffLayout rejects the import, so legitimate TIFFs with singleton T/Z dimensions cannot be loaded.
Useful? React with 👍 / 👎.
…on in Background class Signed-off-by: Chaichontat Sriworarat <csriwor1@jh.edu>
…-page grayscale TIFFs Signed-off-by: Chaichontat Sriworarat <csriwor1@jh.edu>
…apse behavior Signed-off-by: Chaichontat Sriworarat <csriwor1@jh.edu>
Introduce support for direct TIFF image loading