aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image.c
AgeCommit message (Collapse)Author
2020-07-29Pass HDF5 path down to load_hdf5_hyperslab()Thomas White
2020-07-29Allow skipping placeholders when loading from HDF5Thomas White
This allows a static mask as a multi-dimensional array in a multi-event file, for example: data: { 148, 124, 1000, 16 } = { fs, ss, eventnum, panelnum } mask: { 148, 124, 16 } = { fs, ss, panelnum }
2020-07-29Add image_expand_frames()Thomas White
2020-07-29FussinessThomas White
2020-07-29Implement CXI peak listsThomas White
Can't test just yet
2020-07-29Add image_read_peaks()Thomas White
Automatically detects file type, including HDF5 vs CXI
2020-07-29Remove "parent" from struct imagefeatureThomas White
It's not used anywhere, and removing it means that the image structure is no longer needed to search peaks
2020-07-29DS9K compatibilityThomas White
2020-07-29Actually load the maskThomas White
2020-07-29Add missing castThomas White
2020-07-29Factorise HDF5 hyperslab loadingThomas White
2020-07-29Use bad regions, no_index and NaN/inf flags in new image loading APIThomas White
2020-07-29Add a couple of FIXMEsThomas White
2020-07-29Check that dp/mask/sat exist before freeingThomas White
2020-07-29Push CBF/GZ split point further downThomas White
2020-07-29Remove bad pixel mask stuff from unpack_panels_dtempl and image_read_hdf5Thomas White
Will be replaced shortly by dedicated routines
2020-07-29Catch some error conditionsThomas White
2020-07-29Implement basic CBF loading via new APIThomas White
2020-07-29Add image_get_feature_const() and image_feature_list_copy()Thomas White
2020-07-29ImageFeatureList: Store panel number, not pointerThomas White
This makes the conversion to DataTemplate/detgeom MUCH easier.
2020-07-29image_free(): Free more stuffThomas White
2020-07-29create_detgeom(): Set n_panelsThomas White
2020-07-29image_read_hdf5(): Allocate bad mapsThomas White
2020-07-29Create detgeom structure on image loadThomas White
2020-07-29Basic image loading via new DataTemplate APIThomas White
2020-02-11Don't use gzbuffer if it's not availableThomas White
Enables compatability with zlib < 1.2.3.5
2020-01-10Mass update of copyright datesThomas White
2019-09-10sort_peaks(): Handle NULL peak listThomas White
2019-07-17Merge branch 'tom/zmq'Thomas White
2019-06-05Fix obvious bug in image_add_feature()Thomas White
Introduced by aa1676f35317df92840b27ba78f13c13308bc7d4
2019-05-14Remove "valid" item from "struct imagefeature"Thomas White
2019-05-07Update all source code comments to Doxygen formatThomas White
2019-04-16Recognise (if not handle) all CBF formatsThomas White
2019-04-16Basic CBF reader with byte offset decompressionThomas White
2019-04-15Strip ouf CBFlib referencesThomas White
2019-04-03Consider pixel as bad if its value is NaN or infinityThomas White
2019-03-14Clean up MessagePack stuffThomas White
2019-01-03Use gzclose() instead of gzclose_r()Thomas White
The only downside to this is that the zlib library will be twice the size if statically linked into libcrystfel. Since we don't anticipate much use for static linking, and since the extra space is unlikely to be a serious problem anyway, this seems fine.
2018-11-02Fix possibly uninitialised dataf in read_cbf_data()Thomas White
2018-09-20Allow cbf.gz buffer to grow if the file is largeThomas White
2018-09-20Handle gzipped CBF filesThomas White
2018-09-20Stop reading "simply" if file type is unknownThomas White
2018-09-20Factorise CBF data readThomas White
2018-09-19Stop opening file if it's not recognisedThomas White
2018-09-19Handle 16bpp CBFs (as well as 32bpp)Thomas White
2017-09-27remove_flagged_crystals(): Remove multiple bad crystalsThomas White
A silly bug
2017-09-21Improve error message when using CBF files and a multi-event geometryThomas White
2017-09-07remove_flagged_crystals(): Return the number of crystals removedThomas White
2017-06-23Accept either cbf/cbf.h or cbflib/cbf.hThomas White
You get cbflib/cbf.h if you install CBFlib from source, and cbf/cbf.h if using the package manager in Fedora, probably other systems as well. We definitely don't want to include the cbf or cbflib folder in the include path, because CBFlib may bring its own HDF5 headers, which we don't want to touch with a bargepole.
2017-06-21Don't compile CBF stuff without CBFlibThomas White