-
Notifications
You must be signed in to change notification settings - Fork 14
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
Conversation
@@ -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", |
There was a problem hiding this comment.
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.
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 ..) |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
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.