tomdoel / imagesplit Goto Github PK
View Code? Open in Web Editor NEWA utility for splitting and recombining large image volumes into slices or multiple overlapping sub-volumes.
License: BSD 3-Clause "New" or "Revised" License
A utility for splitting and recombining large image volumes into slices or multiple overlapping sub-volumes.
License: BSD 3-Clause "New" or "Revised" License
Data types should be definable using different variations of standard notations, e.g. uint8, uchar, MET_UCHAR etc.
See file_descriptor.header_from_descriptor. If file_format is not mhd, we do not load in an original-header file.
OS: Ubuntu 20.04 LTS
Installation: pip install imagesplit
version: ImageSplit==0.3.1
File used: tiff file
Command: imagesplit --input input_data/b2dc8411c.tiff --out output_data/split_image -s c --format tiff -z --rescale -50 350 --type uchar
Output:
Traceback (most recent call last):
File "/home/user/programs/anaconda3/envs/detctron2/bin/imagesplit", line 8, in
sys.exit(main())
File "/home/user/programs/anaconda3/envs/detctron2/lib/python3.6/site-packages/imagesplit/applications/split_files.py", line 274, in main
test=args.test)
File "/home/user/programs/anaconda3/envs/detctron2/lib/python3.6/site-packages/imagesplit/applications/split_files.py", line 43, in split_file
descriptor_filename, input_file_base, start_index, input_file_base)
File "/home/user/programs/anaconda3/envs/detctron2/lib/python3.6/site-packages/imagesplit/applications/split_files.py", line 74, in specify_input_descriptors
generate_input_descriptors(input_file_base, start_index)
File "/home/user/programs/anaconda3/envs/detctron2/lib/python3.6/site-packages/imagesplit/utils/file_descriptor.py", line 273, in generate_input_descriptors
format_factory)
File "/home/user/programs/anaconda3/envs/detctron2/lib/python3.6/site-packages/imagesplit/utils/file_descriptor.py", line 418, in parse_header
return factory.get_factory(format_string).load_and_parse_header(filename)
AttributeError: type object 'TiffFileReader' has no attribute 'load_and_parse_header'
Other:
I have tried with different TIFF files, even with a smaller 10MB file ranging upto 2GB file size
Error is same.
Am I giving the correct input? ie; TIFF file or should I be giving some header ??
Regards,
Anup
Add a flag which allows you to control whether existing files are overwritten
Docs should be updated following a successful pypi submission
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.