jo-mueller / RadiAiDD

Positioning Software for mouse brain irradiation
MIT License
6 stars 0 forks source link

Histogram broken after plan image flip #8

Open Theresa-S opened 2 years ago

Theresa-S commented 2 years ago

If the plan image is loaded with the wrong configuration, the histogram of the atlas overlay will show instead of the X-Ray image. If images are then flip, the gray value ranges of the atlas are maintained - but which are completely off for the X-Ray image.

This could be adressed by a) either scaling the gray value range of both images (X-Ray layer & Plan layer) to the same range b) updating the histogram when image is flipped