Re: [darktable-user] Wishlist: Upscaling via Machine Learning

2017-08-09 Thread Andy
What you really want is deep nets trained for specific sensors/ISO 
combinations

for denoising. Looks like neat doesn't use deep learning (if they would,
I'm sure they'd mention it in their explanation).
So it's unlikely to be state of the art (last time I checked).

On 07/10/2017 12:05 PM, Tim Rolph wrote:

Hi, if I have to upscale an image I usually use Reshade from www.reshade.com
it is a free app the works very well although its only for windows but works
fine under wine. Oh and its also free. If I ever have a problem with noise I
use Neat Image https://ni.neatvideo.com/ they have a free linux version that
is limited to save only in jpg but has support for opencl / cuda GPU
processing and it gives unbelievably good results.

Tim.

On Sunday, 9 July 2017 17:16:12 BST Michael Below wrote:

Hi,

last week I took a couple of images at a concert, and it turned out
that only a small part of each image was interesting. I was too far
away, with a wide-angle lens, so the band I wanted to photograph was in
a small part in the center of the frame with lots of other stuff around
them, stage, audience etc.

Now this can be solved by taking better pictures, coming closer, being
prepared with a telephoto lens etc. - but there also seems to be a
solution that could find its way into darktable.

There have been a number of media reports about machine learning
experiments by Google etc. to add missing detail to images during
upscaling. It seems like the results are often quite convincing. Now I
stumbled upon a Github project for this that seems to offer a hands-on
solution which might be a basis for implementation in darktable:

https://github.com/lucasdupin/ml-image-scaling

What do you think? I imagine this would be useful...

Cheers
Michael

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org




darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



[darktable-user] Segfault when running out of memory?

2017-08-09 Thread Andy

Hi.
Another segfault. This was probably caused by running out of memory.
I got a "not enough memory to export thumbnail" message, then a crash:

[Thread 0x7fff646ec700 (LWP 12234) exited]
*** Error in `/usr/bin/darktable': double free or corruption (out): 
0x7fffc40069d0 ***

=== Backtrace: =
/lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x7739a08b]
/lib/x86_64-linux-gnu/libc.so.6(+0x82c3a)[0x773a3c3a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x773a7d2c]
/usr/bin/../lib/x86_64-linux-gnu/darktable/libdarktable.so(dt_dev_pixelpipe_cache_cleanup+0x47)[0x77a16ec7]
/usr/bin/../lib/x86_64-linux-gnu/darktable/libdarktable.so(dt_dev_pixelpipe_cleanup+0x33)[0x77a1bfc3]
/usr/bin/../lib/x86_64-linux-gnu/darktable/libdarktable.so(dt_imageio_export_with_flags+0x2f1)[0x779c1541]
/usr/bin/../lib/x86_64-linux-gnu/darktable/libdarktable.so(dt_mipmap_cache_get_with_caller+0x123e)[0x779d4b3e]
/usr/bin/../lib/x86_64-linux-gnu/darktable/libdarktable.so(+0xf56df)[0x779fb6df]
/usr/bin/../lib/x86_64-linux-gnu/darktable/libdarktable.so(+0xedcdd)[0x779f3cdd]
/usr/bin/../lib/x86_64-linux-gnu/darktable/libdarktable.so(+0xee888)[0x779f4888]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76da)[0x776ef6da]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x5f)[0x77429d7f]
=== Memory map: 


Again, using the unstable ppa.

Cheers,
Andy

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



[darktable-user] segfault in 2.2.5 from ppa in demosaic_ppg

2017-08-09 Thread Andy

Hey.
I got some segfaults today when trying to adjust the temperature, and 
started running in gdb.

For some reason adjusting temperature worked, but after a while I got

Thread 8 "darktable" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd2ae1700 (LWP 11606)]
0x7fffaa37c71b in demosaic_ppg (thrs=0, filters=, 
roi_in=0x7fffd2ad0e10, roi_out=0x7fffd2ad0e30, in=, out=0x0)

at /build/darktable-lL6Etk/darktable-2.2.5/src/iop/demosaic.c:1327

Here's part of the stacktrace in case that helps:
#0  0x7fffaa37c71b in demosaic_ppg (thrs=0, filters=, 
roi_in=0x7fffd2ad0e10, roi_out=0x7fffd2ad0e30, in=, out=0x0)

at /build/darktable-lL6Etk/darktable-2.2.5/src/iop/demosaic.c:1327
#1  0x7fffaa37c71b in process (self=, 
piece=, i=, o=, 
roi_in=, roi_out=)

at /build/darktable-lL6Etk/darktable-2.2.5/src/iop/demosaic.c:1702
#2  0x77a39ac8 in _default_process_tiling_roi 
(self=0x56b5faf0, piece=0x7fffc0002530, ivoid=0x7fff3de4b010, 
ovoid=0x7fff10649010, roi_in=0x7fffd2ad1310, roi_out=, 
in_bpp=4)

at /build/darktable-lL6Etk/darktable-2.2.5/src/develop/tiling.c:1107
#3  0x77a1a56f in dt_dev_pixelpipe_process_rec 
(pipe=pipe@entry=0x56270fb0, dev=dev@entry=0x56210cd0, 
output=output@entry=0x7fffd2ad16d8, 
cl_mem_output=cl_mem_output@entry=0x7fffd2ad16e0, 
out_format=out_format@entry=0x7fffd2ad16e8, 
roi_out=roi_out@entry=0x7fffd2ad1710, modules=0x56153360 = {...}, 
pieces=0x57a68e40 = {...}, pos=8)


Any help / fixes would be much appreciated.

Cheers,
Andy

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org