cloud-pipeline icon indicating copy to clipboard operation
cloud-pipeline copied to clipboard

[HCS images] Ability to lock ranges of the channels

Open NShaforostov opened this issue 2 years ago • 4 comments

Background

Once the #2489 is implemented, users can preview HCS images, selecting plate, well, field, etc. to view. Also, they can configure the contrast for any of the available channel of the image. Currently, value of the channel contrast range is being set automatically (autofluorescence regimen, for the best displaying). This happens every time when user select another field or another well, or something else. But in some cases, user may want to "lock" the selected contrast range for the channel - so that selecting another field will not change that range. We should add such ability.

Approach

Add a new checkbox to the Settings panel of the preview pop-up, e.g.: image

By click this checkbox, current shown ranges for each channel and their extreme values should be fixed:

  • if user will change the field, for example, then the contrast settings for channels shall not be changed and shall remain the same (this shall apply to both - channel boundary values (min and max) and the configured range). I.e. if for the channel1 boundaries were from 100 to 2000 and selected range from 150 to 370 - all these values should be applied for the channel1 for any other selected field
  • channel sliders should become disabled image And when the user changes the field, for example, then channels contrast settings shall remain: image

If user unticks the "Lock" checkbox - for the current shown field:

  • autofluorescence regimen shall be enabled again and channels contrast settings shall be autoconfigured
  • channel sliders should become enabled image

NShaforostov avatar Feb 24 '22 17:02 NShaforostov

@sidoruka @NShaforostov Persist channels state option implemented (#2542)

rodichenko avatar Mar 03 '22 12:03 rodichenko

@rodichenko Bug: Channels settings aren't kept at changing view from Well view to Field view or back.

maryvictol avatar Aug 05 '22 07:08 maryvictol

Channels settings aren't kept at changing view from Well view to Field view or back.

40915c3841c40c05cf01e41c3b761295aa292ed7 should fix that

rodichenko avatar Sep 13 '22 16:09 rodichenko

Channels settings aren't kept at changing view from Well view to Field view or back.

40915c3 should fix that

Verified as fixed

maryvictol avatar Sep 15 '22 09:09 maryvictol

Test case was created by #2786 and located here.

maryvictol avatar Jan 20 '23 11:01 maryvictol