Histogram Improvements
AbandonedPublic

Authored by eingerman on Jun 4 2016, 9:21 PM.

Details

Summary
  1. Improved histogram display in Layers->Histogram. Show multiple colors.

New


Old:

  1. Added histogram docker widget.

  1. Improved Ko*HistogramProducer classes. They were not handling displaying different color space histograms correctly - data was just converted to different bit depth. Histogram data has to be converted to the requested color space for the histogram to make sense.

Sorry about the massive patch.

Test Plan
  1. Open an image.
  2. Layers->Histogram. Check that histogram makes sense.
  3. Select different color channel (e.g. CMYK or Lab). Make sure histogram changes and displays correctly.
  4. Close dialog.
  5. Enable 'Histogram' docker. Make sure it is visible.
  6. Convert image to different color space (e.g. CMYK). Check that histogram changes.
  7. Change image brightness/color. Check that image changes correctly.

Diff Detail

Repository
R37 Krita
Lint
Lint Skipped
Unit
Unit Tests Skipped
eingerman updated this revision to Diff 4206.Jun 4 2016, 9:21 PM
eingerman retitled this revision from to Histogram Improvements.
eingerman updated this object.
eingerman edited the test plan for this revision. (Show Details)
eingerman added reviewers: Deevad, dkazakov, rempt.
eingerman set the repository for this revision to R37 Krita.
rempt accepted this revision.Jun 5 2016, 12:42 PM
rempt edited edge metadata.

Pretty good! Fix the copyrights, and we can push it. Do you already have commit access?

plugins/dockers/histogram/histogramdocker.h
3

This is a new docker, right? Then it should have your copyright, not Cyrille's!

This revision is now accepted and ready to land.Jun 5 2016, 12:42 PM
eingerman updated this revision to Diff 4212.Jun 5 2016, 5:38 PM
eingerman edited edge metadata.

Fixed copyright notices.

I don't have commit access. Please merge if the changes are Ok.

Reminder to merge this diff.

rempt requested changes to this revision.Jun 18 2016, 10:59 AM
rempt edited edge metadata.

The histogram docker is currently killing performance in master so I have had to disable it: can you please fix the performance issue? See https://bugs.kde.org/show_bug.cgi?id=364406 . This is really urgent!

This revision now requires changes to proceed.Jun 18 2016, 10:59 AM

It may take me a few days to fix it properly. Working on it.

dkazakov edited edge metadata.Aug 17 2016, 7:08 AM

Hi, @eingerman!

Has this patch/branch been merged into master?

eingerman abandoned this revision.Aug 17 2016, 4:17 PM

This change has been merged as part of D1979 revision. Closing.