Re: [darktable-dev] Can't import folder from a (mounted) bitlocker volume

2018-05-09 Thread tpa76000

OK...Thanks for your answer, i thought it was linked to Bitlocker...


Le 09/05/2018 à 19:34, Tobias Ellinghaus a écrit :

Am Mittwoch, 9. Mai 2018, 14:06:08 CEST schrieb tpa76000:

  Hi,

  My system is running with Win10Pro (10.0.16299) , and my volumes
(SYS and DATA) are encrypted with Bitlocker (drives are automatically
unlocked at system boot)

  I installed Darktable-2.4.3-win64 (downloaded today).

  When i try to import pictures from a folder located on the
bitlocker volume, i can see my volume on left pane, but clicking on it
has no action on the right pane (empty one)

That is a know bug and not related to Bitlocker.


  (The volume icon showed, is drawn with a lock above it).

  Best regards,

  Paul

___
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] Can't import folder from a (mounted) bitlocker volume

2018-05-09 Thread Tobias Ellinghaus
Am Mittwoch, 9. Mai 2018, 14:06:08 CEST schrieb tpa76000:
>  Hi,
> 
>  My system is running with Win10Pro (10.0.16299) , and my volumes
> (SYS and DATA) are encrypted with Bitlocker (drives are automatically
> unlocked at system boot)
> 
>  I installed Darktable-2.4.3-win64 (downloaded today).
> 
>  When i try to import pictures from a folder located on the
> bitlocker volume, i can see my volume on left pane, but clicking on it
> has no action on the right pane (empty one)

That is a know bug and not related to Bitlocker.

>  (The volume icon showed, is drawn with a lock above it).
> 
>  Best regards,
> 
>  Paul
> 
> ___
> darktable developer mailing list
> to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



signature.asc
Description: This is a digitally signed message part.


[darktable-dev] Can't import folder from a (mounted) bitlocker volume

2018-05-09 Thread tpa76000

    Hi,

    My system is running with Win10Pro (10.0.16299) , and my volumes 
(SYS and DATA) are encrypted with Bitlocker (drives are automatically 
unlocked at system boot)


    I installed Darktable-2.4.3-win64 (downloaded today).

    When i try to import pictures from a folder located on the 
bitlocker volume, i can see my volume on left pane, but clicking on it 
has no action on the right pane (empty one)


    (The volume icon showed, is drawn with a lock above it).

    Best regards,

    Paul

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



Re: [darktable-dev] How to get image preview zoom factor information

2018-05-09 Thread johannes hanika
heya,

On Wed, May 9, 2018 at 12:27 PM, rawfiner  wrote:
> 2018-05-08 17:16 GMT+02:00 johannes hanika :
>> i'm guessing you want to detect whether you are running a
>> DT_DEV_PIXELPIPE_FULL pipe in darkroom mode (as opposed to
>> DT_DEV_PIXELPIPE_PREVIEW or _EXPORT) and then do this downscaling
>> yourself before running your algorithm on reduced resolution.
>>
>
> Yes, and I would like to know the zoom factor in case of
> DT_DEV_PIXELPIPE_PREVIEW , in order to downscale only if the image is
> sufficiently zoomed out (for example, I don't want to downscale the image if
> the zoom is at 90%, but I want to downscale if it is below 50%).

right. to determine the total scale factor, you would need to do
something like for instance in sharpen.c:

const int rad = MIN(MAXR, ceilf(d->radius * roi_in->scale / piece->iscale));

which determines the pixel radius scaled by input buffer scaling
(iscale) and region of interest scaling (roi_in->scale).

note that the preview pipe is what fills the whole image but
downscaled (iscale != 1) in the navigation view in the top left
corner. the "full" pipeline fills the pixels in the center view of
darkroom mode, at exactly the scale and crop you see on screen (iscale
== 1 mostly but the other scale and bounds in roi_in will change with
the current view).

to find out whether you're running either one of the two you'd write
something similar to bilat.c:

if(self->dev->gui_attached && g && piece->pipe->type ==
DT_DEV_PIXELPIPE_PREVIEW)

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



Re: [darktable-dev] How to get image preview zoom factor information

2018-05-09 Thread rawfiner
Thank you for the detailed answer

2018-05-08 17:16 GMT+02:00 johannes hanika :

> heya,
>
> for modules that work on raw data, the full pipeline is unscaled
> (hence your constant scale factors). all we do here is provide input
> cropped to the region of interest your module requested during the
> modify_roi_in() pass that is run before process() is called (there is
> a default implementation of modify_roi_in).
>

> we have some experimental/working code that downsizes raw data so that
> the preview pipeline can be run on raw/mosaic input, yet downscaled
> buffers. look for functions like
> dt_iop_clip_and_zoom_mosaic_half_size_f().
>

Cool, I will look at this!


>
> i'm guessing you want to detect whether you are running a
> DT_DEV_PIXELPIPE_FULL pipe in darkroom mode (as opposed to
> DT_DEV_PIXELPIPE_PREVIEW or _EXPORT) and then do this downscaling
> yourself before running your algorithm on reduced resolution.
>
>
Yes, and I would like to know the zoom factor in case of
DT_DEV_PIXELPIPE_PREVIEW , in order to downscale only if the image is
sufficiently zoomed out (for example, I don't want to downscale the image
if the zoom is at 90%, but I want to downscale if it is below 50%).


> note that there are some problems with this when it comes to aliasing
> or the treatment of filtered colours, some of which may be above the
> raw clipping threshold.
>

I can imagine that downscaling raw is far from easy. I think (hope?) that,
maybe, the denoising step *may* reduce the artifacts that result of the
downscaling. Anyway, I will have to test this to figure out if it is an
acceptable solution or not!


>
> let me know how you go with this, sounds very interesting!
> cheers,
>  jo
>

Ok I'll do that!
Thank you again for your help.

rawfiner


>
> On Tue, May 8, 2018 at 8:28 AM, rawfiner  wrote:
> > Dear all,
> >
> > I am currently working on a module for denoising at raw level.
> > The first results are very promising in term of denoising quality, but
> the
> > speed of the module is not as fast as it should be (processing the full
> > image takes about 20 seconds, which is decent for export but too slow for
> > the processing in darkroom).
> >
> > The denoising modules that work on the image after demosaic can display
> > previews in darkroom fastly as they work on a downscaled version of the
> > image.
> >
> > I would like to investigate if simple methods of downscaling could work
> > decently at raw level, so that raw denoising could compute a fast
> preview on
> > the downscaled image.
> >
> > My question is, how (if it is possible) can I get the zoom factor of the
> > darkroom within the raw denoise module ?
> > I tried to look into the data available in "piece", but did not find
> > anything that could give me the zoom factor.
> > (piece->iscale is constantly equal to 1, no matter the zoom level, and
> the
> > same holds for piece->buf_in.scale)
> >
> > Thank you !
> >
> > Regards,
> >
> > rawfiner
> >
> > 
> ___
> > 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