Closed seantrons closed 7 months ago
Let's consider both scan line analysis and ROI analysis (rectangle selection only). I believe PyQTGraph does provide this out of the box as well, so to that end it shouldn't be difficult to implement.
However, if it isn't provided out of the box by the library, this will need to wait until https://github.com/seantronsen/qtviewer/issues/22 is completed.
So this is actually provided out of the box with the library, at least for the most part. If you launch a viewer with an image pane, click the ROI button and it will pop open a new display pane beneath the main image pane. In the top right of the image view will be a little box that you can drag around and resize. The new pane below will a line graph detailing the intensities inside the box.
Essentially, you can get a scan line by making a super tiny box.
Closing. No need to attend to this now.
If there is a need for parallel rendering on this in the future (assuming pyqtgraph doesn't do this already), then the floor can be re-opened on this issue.
At some point, it would be nice to add a different option of the image display pane which enables the user to conduct scan line analysis. This would require creating a new pane which combines the features of the line plot pane with the regular image pane. The end result being a user interface where the regular image pane is displayed with the scan line at its' initial position and a line graph beneath it plotting the sequence of pixels underneath the scan line.