Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - kichetof

#126
@vertigopix oh yeah I forget ricardo... too late, thanks :)
#127
@darkskies many thanks ! Doesn't want to buy an expensive solution and don't remember who use the tp-link router. Many thanks !!

For Swiss users, don't find it on toppreise.ch and amazon sellers don't deliver in Switzerland, so eBay is the best solution (from a Hong Kong seller ($41.85), I'm excited to receive it) :)
#128
Could you run ls -l /usr/local/bin and see if you have r-x or rwx, if you don't have x, do that:

Maybe a permission error, try to make bin executable:

chmod +x /usr/local/bin/dcraw

Do the same for exiftool
#129
@dmilligan Thanks for your great informations! It's what I thought, read only and only for specific file.

Personally, I doesn't use MLV files so I don't need it. And your great tool already have this option, so I'll find the best way to prevent user in MLVFS content.
#130
Ok guys! Same-levels "classic" and with entire path are in the place!

Download the branch "same-levels-path to test it (bin not updated for the moment; MLVFS "bug" not solved and maybe never and only prevent this)

Let me know if everything works well with these same-levels options 8)
#131
Same bug on MLVFS mounted point.

How to reproduce:

Mount MLV files with MLVFS
Add to catalog the mounted folder into Lr
Select some images and run Dual ISO plugin with same-levels enable
Lr crash

I need to investigate where is the bug ... I'll lookup when I've more time  8)
(I'm not a filmmaker, so I doesn't use MLVFS, but I'll find a workaround)

------------------------------------------------

Permission on MLV mounted point are personalized (maybe Lr doesn't have access)
New bug with Lr: edit a file into MLV folder and save metadata into the file: ERROR free space is less than 1Gb

So, maybe when can't use MLVFS with Lr properly
#132
If you select photos from multiple folders, you'll not have option enable. Only from one folder, select all.

I think that a I forget something... I'll investigate tomorrow. Your file is DNG?
#133
@DeafEyeJedi thanks for all :)
To have the same-levels on entire path enable, you need to select all pictures on the same folder. Let me know if it works!

I'll disable sharing width between WB and same-levels to make GUI into the view (on both Mac & win Lr that I've, my export screen is bigger...)

Crash appear every time you run plugin on MLVFS storage? I need to test that! Maybe isn't writable?
#134
@Danne yes it do!
sameLevelsPathAll = string.format("\"%s/\"*.CR2 \"%s/\"*.DNG", sameLevelsPath, sameLevelsPath)

GUI update :)

Select one, more, all from same folder or from 2 distinct folders, normally everything should works well!

Updated default settings for same-levels when you update the plugin :)
text changing to : no-same-levels; same-levels; same-levels on entire path

@All
This new option do the same as before, but convert entire path with wildcard instead of selected pictures (command too long with a lot of selected); with your args :)
#135
You're right, new way process all files in directory, that you select one or more pictures.

That's really more simple to enable both same-levels options if selected picture is more than one...  8)
#136
Yes I forget to mention that you need to restore default settings for cr2hdr, otherwise, it doesn't work (that will be fixed in final version)

Imagine that:

One picture selected:
  • no-same-levels enable
  • same-levels classic & entire path disable

Two or more pictures selected:
  • no-same-levels enable
  • same-levels classic (cr2hdr --same-level img1.CR2 img2.CR2 img3.CR2 img4.CR2 img5.CR2 img6.CR2)
  • same-levels entire path disable

All pictures in folder selected:
  • no-same-levels enable
  • same-levels classic (cr2hdr --same-level img1.CR2 img2.CR2 img3.CR2 img4.CR2 img5.CR2 img6.CR2)
  • same-levels entire path (cr2hdr --same-level *.CR2)


For the moment is only for testing, GUI not finish

cr2hdr help strings was never translated :)
#137
@dfort yes I follow your topic and the fixes by a1ex! Glad to see that!

Bin's will be updated when -same-levels will be done :)

@Walter (you've always good ideas!) & all
how I denominate the 3 options for --same-levels


  • -no-same-levels
  • -same-levels selected
  • -same-levels all in path

Download the branch to see the GUI with new text
#138
@Same-Levels Users Testers

Normally everything should works on both Mac & Windows (not tested now on this).

Download the branch and load the plugin in Lr.

Let me know if everything is fine for you. The code isn't perfect for the moment, need some time to rewrite some routines 8)
#139
Share Your Photos / Re: First snow in Switzerland
November 23, 2015, 10:58:17 AM
Thanks :)
#140
Share Your Photos / First snow in Switzerland
November 21, 2015, 12:35:56 PM
First snow from my balcony at Lausanne, with the view on Alps from Thollon-les-Mémises, near Saint-Gingolph


Thollon-les-Mémises sous la neige by Christophe Francey, sur Flickr

Silent picture, 5x zoom --> 2000mm of zoom!

Normal view (look at the right, above chimneys):

#141
@Audionut yes like me!

My target is: facility the life of a lot of people

I'm starting to add an optional same-levels-path to apply on the entire folder, but "classic" way still here!!  8)

If you want to see (only see the GUI, converter doesn't works now), download the same-levels-path repo!

For the moment is a rough code, but I'll rewrite the entire process for getting image (I'm writing another plugin to play with collections and have more experience now!)

[EDIT]

Some bugs on Mac & Win to run the command with *.CR2... need some times to investigate
#142
Some bugs with path : "/Users/tof/Pictures/Photographies/Magic Lantern/Dual ISO/same-levels-path/*.CR2"

19.11.15 21:13:38.381 Adobe Lightroom[907]: MLDualISO DEBUG cmd export PATH="/Users/tof/Documents/MagicLantern/lr_cr2hdr/cr2hdr.lrplugin/bin":${PATH} && exec "/Users/tof/Documents/MagicLantern/lr_cr2hdr/cr2hdr.lrplugin/bin/cr2hdr" --amaze-edge --cs2x2 --no-bad-pix --fullres --alias-map --stripe-fix --wb=graymax --same-levels "/Users/tof/Pictures/Photographies/Magic Lantern/Dual ISO/same-levels-path/*.CR2" "/Users/tof/Pictures/Photographies/Magic Lantern/Dual ISO/same-levels-path/*.DNG" > "/Users/tof/Pictures/Photographies/Magic Lantern/Dual ISO/same-levels-path/same-levels-path.log"


output
/Users/tof/Pictures/Photographies/Magic Lantern/Dual ISO/same-levels-path/*.CR2: No such file or directory
File not found: /Users/tof/Pictures/Photographies/Magic Lantern/Dual ISO/same-levels-path/*.CR2
File not found: /Users/tof/Pictures/Photographies/Magic Lantern/Dual ISO/same-levels-path/*.DNG
/Users/tof/Pictures/Photographies/Magic Lantern/Dual ISO/same-levels-path/*.DNG: No such file or directory
File not found: /Users/tof/Pictures/Photographies/Magic Lantern/Dual ISO/same-levels-path/*.DNG


Code uploaded, I'll continue tomorrow
#143
Good idea @Walter!!
I can add a double option for --same-levels

1. Nothing changes (limited by the length of the command --> the number of pictures)
2. Convert the entire path

What do you think?

I'll try to convert a folder with dual ISO from my 5DIII
#144
@Same-Levels Users

How do you use this function on Lightroom?
What do you think about that:

On Lightroom, if you check same-levels, the entire folder will be passing through cr2hdr --same-levels [other args] path/*.DNG[.CR2 for time lapse sequence] ?


#145
@Danne you can run --same-levels on CR2 but it does not make sense
Thanks for the command!

@dfort yes I follow the topic, I'll update bin with new one!
#146
That a solution, but I need to calculate the white level...

cr2hdr same-levels source

if (same_levels && num_files > 1)
    {
        /* Equalize white-black for all shots.
         *
         * Assuming all the pictures were shot at the same exposure settings,
         * this step will make sure they are all rendered identically (without flicker).
         *
         * However, for this to work, all the files must be passed in the same command line.
         *
         * We will use something close to maximum range among all files (with outlier filter).
         *
         * This should work even if the black level is not the same in all shots.
         */
       
        printf("\nEqualizing levels...\n");
       
        int* ranges = malloc(num_files * sizeof(ranges[0]));
        for (int i = 0; i < num_files; i++)
        {
            ranges[i] = whites[i] - blacks[i];
        }
        int new_range = kth_smallest_int(ranges, num_files, num_files * 8 / 9 - 1);

        for (int i = 0; i < num_files; i++)
        {
            char* input_file = argv[file_indices[i]];

            /* fixme: duplicate code */
            char out_filename[1000];
            snprintf(out_filename, sizeof(out_filename), "%s", input_file);
            int len = strlen(out_filename);
            out_filename[len-3] = 'D';
            out_filename[len-2] = 'N';
            out_filename[len-1] = 'G';

            int new_white = blacks[i] + new_range;
            printf("%-16s: %d ... %d\n", out_filename, blacks[i], new_white);
            set_white_level(out_filename, new_white);
        }
       
        free(ranges);
    }


If Dual ISO same-levels picture are on the same folder, easy to run the command cr2hdr --same-levels path\*.DNG/CR2, but if some picture aren't Dual ISO ?
#147
Hello @NickZee

Ouch effectively same-levels will create an error like that with a lot of pictures.

When you run the plugin with same-levels, it will run like that:

C:\Users\tof\Scripts\cr2hdr.lrdevplugin\bin\cr2hdr.exe  --amaze-edge --cs2x2 --no-bad-pix --fullres --alias-map --stripe-fix --same-levels 'C:\Users\tof\photos\1.DNG' 'C:\Users\tof\photos\2.DNG' 'C:\Users\tof\photos\3.DNG' 'C:\Users\tof\photos\4.DNG' 'C:\Users\tof\photos\5.DNG' 'C:\Users\tof\photos\6.DNG' 'C:\Users\tof\photos\7.DNG' 'C:\Users\tof\photos\8.DNG' 'C:\Users\tof\photos\9.DNG' 'C:\Users\tof\photos\10.DNG' 'C:\Users\tof\photos\11.DNG' 'C:\Users\tof\photos\12.DNG' 'C:\Users\tof\photos\13.DNG' 'C:\Users\tof\photos\14.DNG' 'C:\Users\tof\photos\15.DNG' 'C:\Users\tof\photos\16.DNG' 'C:\Users\tof\photos\17.DNG' 'C:\Users\tof\photos\18.DNG' 'C:\Users\tof\photos\19.DNG' 'C:\Users\tof\photos\20.DNG' 'C:\Users\tof\photos\21.DNG' 'C:\Users\tof\photos\22.DNG' 'C:\Users\tof\photos\23.DNG' 'C:\Users\tof\photos\24.DNG' 'C:\Users\tof\photos\25.DNG' 'C:\Users\tof\photos\26.DNG' 'C:\Users\tof\photos\27.DNG' 'C:\Users\tof\photos\28.DNG' 'C:\Users\tof\photos\29.DNG' 'C:\Users\tof\photos\30.DNG' 'C:\Users\tof\photos\31.DNG' 'C:\Users\tof\photos\32.DNG' 'C:\Users\tof\photos\33.DNG' 'C:\Users\tof\photos\34.DNG' 'C:\Users\tof\photos\35.DNG' 'C:\Users\tof\photos\36.DNG' 'C:\Users\tof\photos\37.DNG' 'C:\Users\tof\photos\38.DNG' 'C:\Users\tof\photos\39.DNG' 'C:\Users\tof\photos\40.DNG' 'C:\Users\tof\photos\41.DNG' 'C:\Users\tof\photos\42.DNG' 'C:\Users\tof\photos\43.DNG' 'C:\Users\tof\photos\44.DNG' 'C:\Users\tof\photos\45.DNG' 'C:\Users\tof\photos\46.DNG' 'C:\Users\tof\photos\47.DNG' 'C:\Users\tof\photos\48.DNG' 'C:\Users\tof\photos\49.DNG' 'C:\Users\tof\photos\50.DNG' 'C:\Users\tof\photos\51.DNG' 'C:\Users\tof\photos\52.DNG' 'C:\Users\tof\photos\53.DNG' 'C:\Users\tof\photos\54.DNG' 'C:\Users\tof\photos\55.DNG' 'C:\Users\tof\photos\56.DNG' 'C:\Users\tof\photos\57.DNG' 'C:\Users\tof\photos\58.DNG' 'C:\Users\tof\photos\59.DNG' 'C:\Users\tof\photos\60.DNG' 'C:\Users\tof\photos\61.DNG' 'C:\Users\tof\photos\62.DNG' 'C:\Users\tof\photos\63.DNG' 'C:\Users\tof\photos\64.DNG' 'C:\Users\tof\photos\65.DNG' 'C:\Users\tof\photos\66.DNG' 'C:\Users\tof\photos\67.DNG' 'C:\Users\tof\photos\68.DNG' 'C:\Users\tof\photos\69.DNG' 'C:\Users\tof\photos\70.DNG' 'C:\Users\tof\photos\71.DNG' 'C:\Users\tof\photos\72.DNG' 'C:\Users\tof\photos\73.DNG' 'C:\Users\tof\photos\74.DNG' 'C:\Users\tof\photos\75.DNG' 'C:\Users\tof\photos\76.DNG' 'C:\Users\tof\photos\77.DNG' 'C:\Users\tof\photos\78.DNG' 'C:\Users\tof\photos\79.DNG' 'C:\Users\tof\photos\80.DNG' 'C:\Users\tof\photos\81.DNG' 'C:\Users\tof\photos\82.DNG' 'C:\Users\tof\photos\83.DNG' 'C:\Users\tof\photos\84.DNG' 'C:\Users\tof\photos\85.DNG' 'C:\Users\tof\photos\86.DNG' 'C:\Users\tof\photos\87.DNG' 'C:\Users\tof\photos\88.DNG' 'C:\Users\tof\photos\89.DNG' 'C:\Users\tof\photos\90.DNG' 'C:\Users\tof\photos\91.DNG' 'C:\Users\tof\photos\92.DNG' 'C:\Users\tof\photos\93.DNG' 'C:\Users\tof\photos\94.DNG' 'C:\Users\tof\photos\95.DNG' 'C:\Users\tof\photos\96.DNG' 'C:\Users\tof\photos\97.DNG' 'C:\Users\tof\photos\98.DNG' 'C:\Users\tof\photos\99.DNG' 'C:\Users\tof\photos\100.DNG' 'C:\Users\tof\photos\101.DNG' 'C:\Users\tof\photos\102.DNG' 'C:\Users\tof\photos\103.DNG' 'C:\Users\tof\photos\104.DNG' 'C:\Users\tof\photos\105.DNG' 'C:\Users\tof\photos\106.DNG' ... ... ...


So, the command is too long ...
I'll thinking to find an another way to converse a lot of pictures (maybe to converse entire folder, but converse all pictures without exception)

If you want to donate, contribute to Magic Lantern :)
#148
@starbase64 no v3.1 for the moment. But you only need to replace cr2hdr from bin folder with @dfort compiled
#149
Glad to read this! I'll try tomorrow to confirm that everything works well!

[EDIT] everything is ok !
#150
Great news!! Normally the plugin should works with this version!
I can't try it before tomorrow morning!

If someone could confirm that everything works  8)