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

missing compressed_segmentation_block_size with multiple mip levels #525

Open
xiuliren opened this issue Feb 7, 2022 · 1 comment
Open
Assignees
Labels
bug The code is not performing according to the design or a design flaw is seriously impacting users.

Comments

@xiuliren
Copy link
Member

xiuliren commented Feb 7, 2022

this only works when max_mip=0, if max_mip is larger than 0, it will have an error reporting that there are missing compressed_segmentation_block_size in other scales.

def test_write_compressed_segmentation():
  delete_layer()
  cv, data = create_layer(size=(128,64,64,1), offset=(0,0,0))

  cv.info['num_channels'] = 1
  cv.info['data_type'] = 'uint32'
  cv.scale['encoding'] = 'compressed_segmentation'
  cv.scale['compressed_segmentation_block_size'] = (8,8,8)
  cv.commit_info()
@william-silversmith william-silversmith added the bug The code is not performing according to the design or a design flaw is seriously impacting users. label Feb 7, 2022
@william-silversmith william-silversmith self-assigned this Feb 7, 2022
@william-silversmith
Copy link
Contributor

Hi Jingpeng! I'll give this a look. Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The code is not performing according to the design or a design flaw is seriously impacting users.
Projects
None yet
Development

No branches or pull requests

2 participants