We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
why is the Synchronizer synchronizing the left and right images,I don't want that, I want to just sync the stackIndex,and wwwcSynchronizer also。
You can see that the left side is replaced by the right side. Why is that
my Code
`cornerState.WWWCSynchronizer = new cornerstoneTools.Synchronizer( 'cornerstoneimagerendered', cornerstoneTools.wwwcSynchronizer )
cornerState.scrollSynchronizer = new cornerstoneTools.Synchronizer( 'cornerstonetoolsstackscroll', cornerstoneTools.stackImageIndexSynchronizer )
//loading image const loadImage = (element, stack) => { return cornerstone.loadAndCacheImage(stack.imageIds[0]).then((image) => { cornerstone.displayImage(element, image) cornerState.WWWCSynchronizer.add(element) cornerState.scrollSynchronizer.add(element) cornerstoneTools.addStackStateManager(element, ['stack', 'Wwwc']) cornerstoneTools.addToolState(element, 'stack', stack) }) } `
Is there any way to solve it?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
why is the Synchronizer synchronizing the left and right images,I don't want that, I want to just sync the stackIndex,and wwwcSynchronizer also。
You can see that the left side is replaced by the right side. Why is that
my Code
`cornerState.WWWCSynchronizer = new cornerstoneTools.Synchronizer(
'cornerstoneimagerendered',
cornerstoneTools.wwwcSynchronizer
)
//loading image
const loadImage = (element, stack) => {
return cornerstone.loadAndCacheImage(stack.imageIds[0]).then((image) => {
cornerstone.displayImage(element, image)
cornerState.WWWCSynchronizer.add(element)
cornerState.scrollSynchronizer.add(element)
cornerstoneTools.addStackStateManager(element, ['stack', 'Wwwc'])
cornerstoneTools.addToolState(element, 'stack', stack)
})
}
`
Is there any way to solve it?
The text was updated successfully, but these errors were encountered: