[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: Review Request: Krita: Gaussian Blur Filter
From: "Cyrille Berger" <cberger () cberger ! net>
Date: 2009-12-19 9:33:00
Message-ID: 20091219093300.14184.28842 () localhost
[Download RAW message or body]
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/2369/#review3454
-----------------------------------------------------------
Out of curiosity, I wondered about the speed impact on using floats instead of \
integers for convolution. But a bigger concern is why the use of "float" instead of \
"double" (or "qreal") ?
Also, the UI for the gaussian blur mention the use of radius, I think it would makes \
more sense to use sigma (as it was done in the krita-plugin, and in (future version \
of) gimp), and compute the radius from the sigma.
- Cyrille
On 2009-12-14 10:30:27, antiquark wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/2369/
> -----------------------------------------------------------
>
> (Updated 2009-12-14 10:30:27)
>
>
> Review request for KOffice.
>
>
> Summary
> -------
>
> This patch adds a real Gaussian Blur Filter (floating point kernel).
>
> The horizontal and vertical components are computed separately (significant speed \
> gains especially with larger radii) by performing convolution twice.
> In the process a number of changes have been made:
>
> - Convolution computation is performed using floating point numbers.
> - Kernels are defined using matrices provided by the Eigen Library.
> - Removed older 3x3 Gaussian Blur Filter.
> - Updated all other convolution filters to new system.
>
>
> Diffs
> -----
>
> /trunk/koffice/krita/image/kis_convolution_kernel.h 1062217
> /trunk/koffice/krita/image/kis_convolution_kernel.cc 1062217
> /trunk/koffice/krita/image/kis_convolution_painter_impl.h 1062217
> /trunk/koffice/krita/image/kis_generic_colorspace.h 1062217
> /trunk/koffice/krita/image/tests/kis_convolution_painter_test.cpp 1062217
> /trunk/koffice/krita/plugins/colorspaces/ctlcs/KoCtlConvolutionOp.h 1062217
> /trunk/koffice/krita/plugins/colorspaces/ctlcs/KoCtlConvolutionOp.cpp 1062217
> /trunk/koffice/krita/plugins/filters/blur/CMakeLists.txt 1062217
> /trunk/koffice/krita/plugins/filters/blur/blur.cpp 1062217
> /trunk/koffice/krita/plugins/filters/blur/kis_blur_filter.cpp 1062217
> /trunk/koffice/krita/plugins/filters/blur/kis_gaussian_blur_filter.h PRE-CREATION
> /trunk/koffice/krita/plugins/filters/blur/kis_gaussian_blur_filter.cpp PRE-CREATION \
>
> /trunk/koffice/krita/plugins/filters/blur/kis_wdg_gaussian_blur.h PRE-CREATION
> /trunk/koffice/krita/plugins/filters/blur/kis_wdg_gaussian_blur.cpp PRE-CREATION
> /trunk/koffice/krita/plugins/filters/blur/wdg_gaussian_blur.ui PRE-CREATION
> /trunk/koffice/krita/plugins/filters/convolutionfilters/convolutionfilters.h \
> 1062217
> /trunk/koffice/krita/plugins/filters/convolutionfilters/convolutionfilters.cpp \
> 1062217
> /trunk/koffice/krita/plugins/filters/imageenhancement/kis_simple_noise_reducer.cpp \
> 1062217
> /trunk/koffice/krita/plugins/filters/unsharp/kis_unsharp_filter.cpp 1062217
> /trunk/koffice/libs/pigment/KoColorSpace.h 1062217
> /trunk/koffice/libs/pigment/KoColorSpaceAbstract.h 1062217
> /trunk/koffice/libs/pigment/tests/TestConvolutionOpImpl.cpp 1062217
>
> Diff: http://reviewboard.kde.org/r/2369/diff
>
>
> Testing
> -------
>
> No visible regressions.
>
> Sometimes the filter does not work correctly (esp. with larger kernels).
>
>
> Thanks,
>
> antiquark
>
>
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic