Re: [darktable-dev] possible data loss scenario

2017-10-10 Thread Alexander Rabtchevich

xdpyinfo | grep version
version number:11.0
X.Org version: 1.18.4

Mate is build as a consequence of gnome 2. Current version is based on 
gtk3. Linux Mint 18.2 uses Ubuntu 16.04 package base.


With respect,
Alexander Rabtchevich


Roman Lebedev wrote:



I have standard Mate from 18.2 Mint and proprietary AMD GPUpro video driver.

(Yes, but that does not answer the question.
I have no clue what mint does by default. Is it X or not?)




___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] possible data loss scenario

2017-10-10 Thread Roman Lebedev
On Tue, Oct 10, 2017 at 8:28 PM, Alexander Rabtchevich
 wrote:
> Yes, I'm pretty sure :)
>
> When cursor reaches another control somewhere within the main window, the
> edit window looses focus. It should be some control (slider, another edit
> window etc), not a label.

> I have standard Mate from 18.2 Mint and proprietary AMD GPUpro video driver.
(Yes, but that does not answer the question.
I have no clue what mint does by default. Is it X or not?)

> With respect,
> Alexander Rabtchevich
>
>
>
>
>
> Roman Lebedev wrote:
>>
>> The item 3 is the problematic one. Why does the edit control loose focus?
>> That sounds like a bug. It is *not* intended behavior.
>> Is this normal X or wayland/mir/etc?
>> Are you *sure* you don't accidentally mouseclick right after 3. and before
>> 4. ?
>>
>
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] possible data loss scenario

2017-10-10 Thread Alexander Rabtchevich

Yes, I'm pretty sure :)

When cursor reaches another control somewhere within the main window, 
the edit window looses focus. It should be some control (slider, another 
edit window etc), not a label.


I have standard Mate from 18.2 Mint and proprietary AMD GPUpro video driver.

With respect,
Alexander Rabtchevich




Roman Lebedev wrote:

The item 3 is the problematic one. Why does the edit control loose focus?
That sounds like a bug. It is *not* intended behavior.
Is this normal X or wayland/mir/etc?
Are you *sure* you don't accidentally mouseclick right after 3. and before 4. ?



___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] possible data loss scenario

2017-10-10 Thread Roman Lebedev
On Tue, Oct 10, 2017 at 8:11 PM, Alexander Rabtchevich
 wrote:
> Hello
>
> And the scenario is still working.
> 1. Select an image in the lighttable mode.
> 2. Click into the edit window Max size in the export dialog.
> 3. Move mouse just slightly outside the edit window. It loses focus
> immediately.
> 4. Type the digit you want. It is recognized as rating for the image being
> selected.

> The item 3 is the problematic one. Why does the edit control loose focus?
That sounds like a bug. It is *not* intended behavior.
Is this normal X or wayland/mir/etc?
Are you *sure* you don't accidentally mouseclick right after 3. and before 4. ?

> One haven't clicked outside the control. A mouse is not guaranteed to keep
> its exact position just after it has been released - and it _is_ released to
> type digits on a keyboard.
>
> With respect,
> Alexander Rabtchevich
Roman.
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] possible data loss scenario

2017-10-10 Thread Alexander Rabtchevich

Hello

And the scenario is still working.
1. Select an image in the lighttable mode.
2. Click into the edit window Max size in the export dialog.
3. Move mouse just slightly outside the edit window. It loses focus 
immediately.
4. Type the digit you want. It is recognized as rating for the image 
being selected.


The item 3 is the problematic one. Why does the edit control loose 
focus? One haven't clicked outside the control. A mouse is not 
guaranteed to keep its exact position just after it has been released - 
and it _is_ released to type digits on a keyboard.


With respect,
Alexander Rabtchevich
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev]

2017-10-10 Thread Roman Lebedev
On Tue, Oct 10, 2017 at 7:52 PM, Vlad Kuzba  wrote:
> I've got darktable cloned from GIT on my HDD. Today I did
>
> git pull
>
> and then
>
> ./build.sh
Start with $ rm -rf build/
Does it still happen then?

> and I got this error
>
> [ 21%] Building C object
> src/CMakeFiles/lib_darktable.dir/develop/masks/masks.c.o
> [ 21%] Building C object
> src/CMakeFiles/lib_darktable.dir/common/imageio_j2k.c.o
> [ 21%] Building C object src/CMakeFiles/lib_darktable.dir/lua/cairo.c.o
> [ 21%] Building C object src/CMakeFiles/lib_darktable.dir/lua/call.c.o
> /home/vlad/git/darktable/src/common/imageio_j2k.c:32:10: fatal error:
> openjpeg.h: Adresář nebo soubor neexistuje
>  #include 
>   ^~~~
> compilation terminated.
> make[2]: *** [src/CMakeFiles/lib_darktable.dir/build.make:2477:
> src/CMakeFiles/lib_darktable.dir/common/imageio_j2k.c.o] Chyba 1
> make[2]: *** Čeká se na nedokončené úlohy…
> make[1]: *** [CMakeFiles/Makefile2:1437:
> src/CMakeFiles/lib_darktable.dir/all] Chyba 2
> make: *** [Makefile:152: all] Chyba 2
>  ~/git/darktable  ⑂ master +  $
>
>
> What can I do to fix it? I'm on Arch Linux (4.13.4-1-ARCH). When I last
> built DT after "git pull" about 3 weeks ago everything went OK.
>
> Thanks for a reply.
> Vlad
Roman

> Vladimír Kuzba
> www.kuzbici.eu
> 4KvonRoudne
>
> ___
> darktable developer mailing list to unsubscribe send a mail to
> darktable-dev+unsubscr...@lists.darktable.org
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



[darktable-dev]

2017-10-10 Thread Vlad Kuzba
I've got darktable cloned from GIT on my HDD. Today I did

git pull

and then

./build.sh

and I got this error

[ 21%] Building C object
src/CMakeFiles/lib_darktable.dir/develop/masks/masks.c.o
[ 21%] Building C object
src/CMakeFiles/lib_darktable.dir/common/imageio_j2k.c.o
[ 21%] Building C object src/CMakeFiles/lib_darktable.dir/lua/cairo.c.o
[ 21%] Building C object src/CMakeFiles/lib_darktable.dir/lua/call.c.o
/home/vlad/git/darktable/src/common/imageio_j2k.c:32:10: fatal error:
openjpeg.h: Adresář nebo soubor neexistuje
 #include 
  ^~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/lib_darktable.dir/build.make:2477:
src/CMakeFiles/lib_darktable.dir/common/imageio_j2k.c.o] Chyba 1
make[2]: *** Čeká se na nedokončené úlohy…
make[1]: *** [CMakeFiles/Makefile2:1437:
src/CMakeFiles/lib_darktable.dir/all] Chyba 2
make: *** [Makefile:152: all] Chyba 2
 ~/git/darktable  ⑂ master +  $


​What can I do to fix it? I'm on Arch Linux (4.13.4-1-ARCH). When I last
built DT after "git pull" about 3 weeks ago​ everything went OK.

Thanks for a reply.
Vlad


Vladimír Kuzba
www.kuzbici.eu
4KvonRoudne


___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] Deconvolution and Python framework

2017-10-10 Thread Maurizio Paglia
Aurélien, this is really interesting.
I saw some output of Piccure+ and (if REAL and not otherwise handled) they
are really interesting!
I hope someone can help you with the porting.

Maurizio

2017-10-10 10:25 GMT+02:00 Aurélien PIERRE :

> Hi !
>
> Following my work from this Summer, I'm glad to propose my first blind
> deconvolution algorithm, written in Python, based on papers from 2011-2014
> : https://github.com/aurelienpierre/Image-Cases-Studies
>
> TL;DR :
>
> Blind deconvolution is a technique used in astronomy and microscopy to
> deblur pictures based on an estimation of the blur "profile" (SPF for the
> geeks). This work on motion blur, focus blur, etc. A commercial photo
> software get spectacular results with this technique :
> http://relaunch.piccureplus.com/ (although it's not really blind).
>
> My code is a proof of concept which runs now (barely optimized) between 50
> and 275 s on a 2 Mpx image.
>
> I'm still looking for some help to port it in a Darktable module, since
> I'm not a C developper (or at least some doc).
>
> Thanks !
>
> *Aurélien PIERRE*
> aurelienpierre.com
> --
>
> Le 2017-05-04 à 04:03, Coding Dave a écrit :
>
> I can only speak for myself but I find it very interesting.
>
> Am 04.05.2017 03:32 schrieb "Aurélien PIERRE"  >:
>
>> Hi,
>>
>> I got critics so I made it better ;-) My Richardson-Lucy implementation
>> now allows to set a mask. This mask is intended to specify the zone where
>> the focus is supposed to be, and thus compute the deconvolution matrix
>> estimation only there. This matrix is then used to deconvolute the whole
>> picture. I got faaar better results regarding the general
>> smudginess/sharpness ratio : https://github.com/aurelienpie
>> rre/Image-Cases-Studies/commit/bfaf6930abd873e568ee12f90427dad0206d6de6
>>
>> I don't know how much the community is interested in my experiments
>> though or if it's relevant here, so just tell me if I spam.
>>
>> Have a nice day,
>>
>> *Aurélien PIERRE*
>> aurelienpierre.com
>> --
>>
>> Le 2017-05-03 à 04:42, Aurélien PIERRE a écrit :
>>
>> Hi,
>>
>> being a Darktable user since 2010 (0.9 if I recall), a photographer for
>> many years and an almost engineer, I have looked for a long time to get
>> involved into DT development. I know 10 programming languages but I'm still
>> a newbie in C…
>>
>> Following my last email on adaptative deconvolution, I started a Python
>> framework to experiment on image processing algorithms. The Github repos is
>> here : https://github.com/aurelienpierre/Image-Cases-Studies
>>
>> I already have 3 case studies, with algorithms and before/after pictures :
>>
>>- Unsharp masking with bilateral filter in LAB space
>>- Defringing with bilateral filter in LAB space
>>- Focus correction/restoration with Richardson-Lucy deconvolution in
>>RGB and LAB spaces.
>>
>> I'm trying to keep my code as clean as possible to make it easy to
>> understand and possible to translate into C and (hopefully) into Darktable
>> modules. The framework is packaged with a Python setup file and optimized
>> with Cython and parallel computing.
>>
>> I will continue to experiment on deconvolution but any comment, code
>> review, scientific article, or contribution is welcome.
>> Have a nice day,
>> --
>>
>> *Aurélien PIERRE*
>> aurelienpierre.com
>> --
>>
>>
>> ___
>> darktable developer mailing list to unsubscribe send a mail to
>> darktable-dev+unsubscr...@lists.darktable.org
>>
>>
>>
>> ___
>> darktable developer mailing list to unsubscribe send a mail to
>> darktable-dev+unsubscr...@lists.darktable.org
>>
>
> ___
> darktable developer mailing list to unsubscribe send a mail to
> darktable-dev+unsubscr...@lists.darktable.org
>
>
>
> ___
> darktable developer mailing list to unsubscribe send a mail to
> darktable-dev+unsubscr...@lists.darktable.org
>

___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] Deconvolution and Python framework

2017-10-10 Thread Aurélien PIERRE
Hi !

Following my work from this Summer, I'm glad to propose my first blind
deconvolution algorithm, written in Python, based on papers from
2011-2014  : https://github.com/aurelienpierre/Image-Cases-Studies

TL;DR :

Blind deconvolution is a technique used in astronomy and microscopy to
deblur pictures based on an estimation of the blur "profile" (SPF for
the geeks). This work on motion blur, focus blur, etc. A commercial
photo software get spectacular results with this technique :
http://relaunch.piccureplus.com/ (although it's not really blind).

My code is a proof of concept which runs now (barely optimized) between
50 and 275 s on a 2 Mpx image.

I'm still looking for some help to port it in a Darktable module, since
I'm not a C developper (or at least some doc). 

Thanks !

*Aurélien PIERRE*
aurelienpierre.com 



Le 2017-05-04 à 04:03, Coding Dave a écrit :
> I can only speak for myself but I find it very interesting. 
>
> Am 04.05.2017 03:32 schrieb "Aurélien PIERRE"
> >:
>
> Hi,
>
> I got critics so I made it better ;-) My Richardson-Lucy
> implementation now allows to set a mask. This mask is intended to
> specify the zone where the focus is supposed to be, and thus
> compute the deconvolution matrix estimation only there. This
> matrix is then used to deconvolute the whole picture. I got faaar
> better results regarding the general smudginess/sharpness ratio :
> 
> https://github.com/aurelienpierre/Image-Cases-Studies/commit/bfaf6930abd873e568ee12f90427dad0206d6de6
> 
> 
>
> I don't know how much the community is interested in my
> experiments though or if it's relevant here, so just tell me if I
> spam.
>
> Have a nice day,
>
> *Aurélien PIERRE*
> aurelienpierre.com 
>
> 
>
> Le 2017-05-03 à 04:42, Aurélien PIERRE a écrit :
>>
>> Hi,
>>
>> being a Darktable user since 2010 (0.9 if I recall), a
>> photographer for many years and an almost engineer, I have looked
>> for a long time to get involved into DT development. I know 10
>> programming languages but I'm still a newbie in C…
>>
>> Following my last email on adaptative deconvolution, I started a
>> Python framework to experiment on image processing algorithms.
>> The Github repos is here :
>> https://github.com/aurelienpierre/Image-Cases-Studies
>> 
>>
>> I already have 3 case studies, with algorithms and before/after
>> pictures :
>>
>>   * Unsharp masking with bilateral filter in LAB space
>>   * Defringing with bilateral filter in LAB space
>>   * Focus correction/restoration with Richardson-Lucy
>> deconvolution in RGB and LAB spaces.
>>
>> I'm trying to keep my code as clean as possible to make it easy
>> to understand and possible to translate into C and (hopefully)
>> into Darktable modules. The framework is packaged with a Python
>> setup file and optimized with Cython and parallel computing.
>>
>> I will continue to experiment on deconvolution but any comment,
>> code review, scientific article, or contribution is welcome.
>>
>> Have a nice day,
>> -- 
>>
>> *Aurélien PIERRE*
>> aurelienpierre.com 
>>
>> 
>>
>>
>> 
>> ___
>> darktable developer mailing list to unsubscribe send a mail to
>> darktable-dev+unsubscr...@lists.darktable.org
>> 
>
>
> 
> ___
> darktable developer mailing list to unsubscribe send a mail to
> darktable-dev+unsubscr...@lists.darktable.org
> 
>
>
> ___
> darktable developer mailing list to unsubscribe send a mail to
> darktable-dev+unsubscr...@lists.darktable.org


___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org