aboutsummaryrefslogtreecommitdiff
path: root/src/process_image.c
AgeCommit message (Collapse)Author
2021-04-19Unify loading of image data and header valuesThomas White
This moves the entry point for loading MsgPack data to a new function, image_read_data_block. Inside image.c, the image structure can be created using exactly the same functions as for data files.
2021-04-15Separate ZMQ from MessagePack, switch to pub/sub socketThomas White
Indexamajig uses only ZMQ, to receive streaming data, while libcrystfel uses only msgpack to implement another type of image format. The two of these are eventually tied together in process_image, which does this: if ( have_zmq_data ) interpret_zmq_data_as_msgpack; - however, they would be easy to split up if we wanted to do something else (CBF data over ZMQ, anyone?). This commit also switches the ZMQ connector to use a pub/sub socket instead of a request/reply one. This matches changes in OnDA. At the moment, the MessagePack image reader simply dumps the object to disk.
2021-03-05Mass update of copyright dates in source code commentsThomas White
2020-08-19Make Stream responsible for its own DataTemplateThomas White
It makes no sense for a different DataTemplate to be used for every frame in a stream. And this way makes everything much easier for users ot the API.
2020-07-31Move spectrum loading out of indexamajig/process_imageThomas White
2020-07-29Add --no-image-data and --no-mask-dataThomas White
2020-07-29Fix some memory bugsThomas White
2020-07-29Remove unused includesThomas White
2020-07-29Convert indexamajig to new Stream APIThomas White
2020-07-29Move MessagePack stuff to separate fileThomas White
Note the nicer separation: ZMQ is in indexamajig only, whereas MessagePack becomes something generally accessible through libcrystfel.
2020-07-29Remove references to old headersThomas White
2020-07-29Convert more bits to detgeomThomas White
2020-07-29Convert stream to DataTemplateThomas White
2020-07-29Convert estimate_peak_resolution to detgeomThomas White
2020-07-29Get rid of imagefile_field_list and stuff_from_streamThomas White
The only place this is used is in geoptimiser, to get the average_camera_length, itself a very bad solution.
2020-07-29Port indexamajig to new API, part IIThomas White
This also removes a large chunk of legacy code
2020-07-29Port indexamajig to new API, part IThomas White
2020-07-29Split off parse_peaksearch()Thomas White
2020-07-29get_peaks_msgpack(): Convert to new APIThomas White
2020-07-29indexamajig: Create detgeom structure from old detectorThomas White
Intermediate solution on the path to DataTemplate everywhere.
2020-07-29ImageFeatureList: Store panel number, not pointerThomas White
This makes the conversion to DataTemplate/detgeom MUCH easier.
2020-01-10Mass update of copyright datesThomas White
2019-10-17indexamajig: Shut down gracefully after failed image loadThomas White
2019-09-12indexamajig: Get rid of --fix-bandwidth / use bandwidth from geometry fileThomas White
2019-09-10indexamajig: Add --peaks=noneThomas White
2019-07-24indexamajig: Free spectrum if it was generated for this imageThomas White
2019-07-24indexamajig: Set Gaussian spectrum if one is not providedThomas White
2019-03-15Add a couple more set_last_task callsThomas White
2019-03-14indexamajig: Add --no-image-dataThomas White
2019-03-14Tweak ZMQ messagesThomas White
2019-03-14More ZMQ/MsgPack logic fixesThomas White
2019-03-14Fix variable initialisation and decision about data sourceThomas White
2019-03-14Connect up hooks for unpacking MsgPack dataThomas White
2019-03-14Don't always dereference filename_p_eThomas White
2019-03-14ZMQ connection and setup stuffThomas White
2019-03-07indexamajig: Status message improvementsThomas White
1. Show the number of hits 2. Keep producing updates while the last patterns are being processed 3. Don't duplicate the code for displaying the status messages
2019-03-06indexamajig: Rename --min-gradient to --min-squared-gradientThomas White
The eventual aim of this is to deprecate the "--min-gradient" option, resolving the long-standing confusion about whether this option is the gradient or the squared gradient.
2018-12-03indexamajig: Add --wait-for-fileThomas White
2018-11-15indexamajig: Name and shame slow processing stagesThomas White
2018-09-27Write in stream whether crystal was selected as a "hit" or notThomas White
2018-09-10indexamajig: read pink beam spectrum from fileAlexandra Tolstikova
2018-07-27indexamajig: Complain if profile radius determination failsThomas White
2018-06-10indexamajig: Estimate resolution based on peaks onlyThomas White
2018-05-30Whitespace fussinessThomas White
2018-05-30Use only one min-snr optionThomas White
2018-05-30Changed parameter window-radius -> local-bg-radiusYaroslav Gevorkov
2018-05-30Changed sig_fac to min_snrYaroslav Gevorkov
2018-05-24Generalise peakfinder9 error messages, and fail if not compiled inThomas White
2018-05-24Update authorship and copyright datesThomas White
2018-05-24FormattingThomas White