Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: OpenJPH compression issues - temporarily publish debug #46

Merged
merged 4 commits into from
Sep 5, 2024

Conversation

wayfarer3130
Copy link
Contributor

Updated to the latest openjph version, and switched the dicom-codec libraries to use >= includes for easy linking of test versions. Seems to improve the HTJ2K stability enormously.

@@ -27,8 +27,8 @@
"@cornerstonejs/codec-charls": ">=1.2.3",
"@cornerstonejs/codec-libjpeg-turbo-8bit": ">=1.2.2",
"@cornerstonejs/codec-little-endian": ">=0.0.6",
"@cornerstonejs/codec-openjpeg": "^1.2.4",
"@cornerstonejs/codec-openjph": "^2.4.5",
"@cornerstonejs/codec-openjpeg": ">=1.2.4",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes it easy to test newer versions as the linking doesn't get messed up.

@wayfarer3130
Copy link
Contributor Author

Please merge aous72/OpenJPH#149 after this PR is merged/status checked

@@ -1,8 +1,8 @@
#!/bin/sh
mkdir -p build
mkdir -p dist
#(cd build && CXXFLAGS=-msimd128 emcmake cmake -DCMAKE_BUILD_TYPE=Debug ..)
(cd build && CXXFLAGS=-msimd128 emcmake cmake ..)
(cd build && CXXFLAGS=-msimd128 emcmake cmake -DCMAKE_BUILD_TYPE=Debug ..)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is temporary until we figure out why the build is failing

@@ -38,7 +38,7 @@ class HTJ2KDecoder
{
// Use the following for debugging to ensure updated version info
// Update the XX to check that reload has completed
// OJPH_INFO(0x00010002, "vXX HTJ2K Decoder");
OJPH_INFO(0x00010002, "v06 HTJ2K Decoder");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Temporary while we figure out why the code fails to decode

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as talked, this makes it bigger but gives stack trace etc

@sedghi sedghi changed the title fix: OpenJPH compression issues fix: OpenJPH compression issues - temporarily publish debug Sep 5, 2024
@sedghi sedghi merged commit e1addb6 into main Sep 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants