AllenInstitute / brain_observatory_qc

Other
2 stars 0 forks source link

Add QC for difference in image quality between target and parent image #318

Open matchings opened 10 months ago

matchings commented 10 months ago

Feature Request Motivation

I noticed an example session recently where the target session average image was so much dimmer than the parent session image that it was very difficult to even tell whether it was the same field of view.

image (35)

From qc report: http://mouse-seeks/qc/ophys/experiment/1296263299

Requested Feature/Solution

I think we should have some kind of quantitative and/or qualitative QC check on the difference in appearance between the two images. This could include comparison of pixel intensity histograms, SNR of the image, etc.

samiamseid commented 7 months ago

One quantitative way we could measure this would be to compare the physio intensity histograms between parent and child sesssions: Example: Parent plane: parent_histogram Child plane: child_histogram

We could either just compare these two plots, or even better have them overlayed in a new plot. Mean physio intensity could be used in this proposed module as well. Perhaps we could analyze the typical variance we see within a container and determine some thresholds, but before that happens just being able to easily compare parent/child intensity histograms would allow QCers to quickly notice issues and give appropriate feedback to operators to change power values accordingly