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.


Messages - jml2017

Pages: [1]
1
Ok it works now  :)




I'd like to generate the zebras and histogram I get with ML on the real camera.

I tried this command with some image
env QEMU_EOS_VRAM_PH_QR_RAW='/path/to/IMG_1234.CR2' ./run_canon_fw.sh 6D,firmware="boot=1", but I do not get anything.

What is the procedure to emulate the capture from an image and the image review that we get right after?

Thanks again.


2
Ok I installed VcXsrv.

Now I get this error:



3
I followed steps from https://www.magiclantern.fm/forum/index.php?topic=19232.0

I compiled the module with
 ~/magic-lantern/modules/sf_dump$ make

Then I had to mount the SD card  so that Ubuntu subsystem of windows 10 sees it:

sudo mkdir /mnt/SD
sudo mount -t drvfs F: /mnt/SD (F: is the SD drive under windows 10)

Then  ran :
make install CF_CARD=/mnt/SD

Finally, when starting my 6D with the SD card, I could load the sf_dump module and run it to get the SFDATA.BIN.

So I ran again ./run_canon_fw.sh 6D and got the following output:

Code: [Select]
/sbin/losetup
/sbin/losetup
make: Entering directory '/home/username/qemu/qemu-2.5.0'
CHK version_gen.h
LEX convert-dtsv0-lexer.lex.c
make[1]: flex: Command not found
BISON dtc-parser.tab.c
make[1]: bison: Command not found
LEX dtc-lexer.lex.c
make[1]: flex: Command not found
make: Leaving directory '/home/username/qemu/qemu-2.5.0'
./run_canon_fw.sh 6D &

DebugMsg=0x67c8 (from GDB script)
Lockdown read 0
Lockdown read 0
Lockdown read 1
Lockdown read 1
Lockdown read 2
Lockdown read 2
Lockdown read 3
Lockdown read 3
Lockdown read 4
Lockdown read 4
00000000 - 00000FFF: eos.tcm_code
40000000 - 40000FFF: eos.tcm_data
00001000 - 1FFFFFFF: eos.ram
40001000 - 5FFFFFFF: eos.ram_uncached
F0000000 - F0FFFFFF: eos.rom0
F1000000 - F1FFFFFF: eos.rom0_mirror
F2000000 - F2FFFFFF: eos.rom0_mirror
F3000000 - F3FFFFFF: eos.rom0_mirror
F4000000 - F4FFFFFF: eos.rom0_mirror
F5000000 - F5FFFFFF: eos.rom0_mirror
F6000000 - F6FFFFFF: eos.rom0_mirror
F7000000 - F7FFFFFF: eos.rom0_mirror
F8000000 - F8FFFFFF: eos.rom1
F9000000 - F9FFFFFF: eos.rom1_mirror
FA000000 - FAFFFFFF: eos.rom1_mirror
FB000000 - FBFFFFFF: eos.rom1_mirror
FC000000 - FCFFFFFF: eos.rom1_mirror
FD000000 - FDFFFFFF: eos.rom1_mirror
FE000000 - FEFFFFFF: eos.rom1_mirror
FF000000 - FFFFFFFF: eos.rom1_mirror
C0000000 - DFFFFFFF: eos.iomem
[EOS] loading './6D/ROM0.BIN' to 0xF0000000-0xF0FFFFFF
[EOS] loading './6D/ROM1.BIN' to 0xF8000000-0xF8FFFFFF
[EOS] loading './6D/SFDATA.BIN' as serial flash, size=0x800000
[MPU] warning: non-empty spell #2 (Complete WaitID = 0x80000001 Mode group) has duplicate(s): #6
[MPU] warning: non-empty spell #52 (PROP_VIDEO_MODE) has duplicate(s): #53

[MPU] Available keys:
- Arrow keys   : Navigation
- PgUp, PgDn   : Sub dial (rear scrollwheel)
- [ and ]      : Main dial (top scrollwheel)
- SPACE        : SET
- DELETE       : guess (press only)
- M            : MENU (press only)
- P            : PLAY (press only)
- I            : INFO/DISP (press only)
- Q            : guess (press only)
- L            : LiveView (press only)
- Shift        : Half-shutter
- 0/9          : Mode dial (press only)
- B            : Open battery door
- C            : Open card door
- F10          : Power down switch
- F1           : show this help

gtk initialization failed
[MPU] WARNING: forced shutdown.

For clean shutdown, please use 'Machine -> Power Down'
(or 'system_powerdown' in QEMU monitor.)

What did I do wrong?

4
Okay QEMU compiles with no extra errors after adding your extra line to the script.

I am now at the step of running ./run canon_fw.sh 6D. However it errors because it cannot open /6D/SFDATA.BIN. If I understand well, I should be able to retrieve this file by running some module sf_dump on my 6D. However, I do not see this module on the ML camera menus. Where is it?

Thanks

5
Hello,
Reinstalled Ubuntu from scratch and ran the script install.sh for QEMU with no issues until I get...

---------------------------------------------------------------------------------------------------------------
Initialized empty Git repository in /home/username/qemu/qemu-2.5.0/.git/

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident name (for <qemu@magiclantern.fm>) not allowed

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

What should I do?

Thanks.

6
That is what I get:

-bash: /home/jml2017/gcc-arm-none-eabi-5_4-2016q3/bin/arm-none-eabi-gdb: cannot execute binary file: Exec format error

7
I selected 4, and now it complains again about the PATH even though the PATH is correct...




8
Ok, with this command, the script goes further. But now it complains that I dot have the right GDB




I guess the best choice is option 5. However I am not sure how to install this from https://launchpad.net/gcc-arm-embedded. Which command line should I use?

Thanks for the help.
 

9
General Help Q&A / Re: Green and magenta artefacts on DUAL ISO output
« on: January 02, 2018, 11:02:04 PM »
I tried the cr2hdr posted by Danne.

The procedure is as follow:
I took pictures of an indoor scene on a tripod with controlled constant lighting.
For each white balance I shot a standard CR2 and a Dual ISO 100-400 CR2.
I converted the dual iso, either using the cr2hdr compiled on Dec 4th, or with Danne's cr2hdr.
In both cases I used the option --wb=exif.
I read the color temperature after loading each picture in Rawtherapee using its Neutral preprocessing profile.

White Balance   "Standard exposure CR2"   "DUAL ISO CR2"   " 2017-12-04 00:01 cr2hdr –wb=exif DNG"   "Danne cr2hdr –wb=exif DNG"
Auto                              3046   3152   1691   3152
Daylight                         5203   5203   5203   5203
Shade                            6913   6913   6913   6913
Cloudy                           5978   5978   5978   5978
Tungsten                       3152   3152   3152   3152
White fluo                      3606   3606   3606   3606
Flash                             6296   6296   6296   6296
Custom                          5203   5203   5203   5203
Color Temp set to 2600   2594   2594   2594   2594

Conclusion: Danne's cr2hdr works well for AWB. Maybe the main download page for cr2hdr should be updated with that version?

Extra comment:
I also checked how repeatable the Color temperature was in AWB with this setup. I shot 8 standard images (no Dual ISO) in AWB. The standard deviation in Color temperature I see is only 4 K.

The small discrepancy (106 K) between the color temperature from the standard exposure and dual iso image in AWB is then probably due to the actual dual iso capture itself.

 

10
Hello ML/Linux Gurus,

I am trying to install QEMU and the procedure described in the first post works for me until the ./install.sh step.

At the very beginning of the script execution it exits with the following messages





I added the command to the profile and checked that the path is now correct with "echo $PATH" command:
The path variable contains
/home/myusername/gcc-arm-none-eabi-5_4-2016q3/bin

I also checked that this folder exists and is populated with files.
However, the script still exits at the same point... I restarted the bash with no success.

It may be obvious for practitionners, but my experience of linux is quite limited.  :(

I am running Windows 10 with Ubuntu installed as per first post.

Thanks for your help.

11
General Help Q&A / Re: Green and magenta artefacts on DUAL ISO output
« on: December 23, 2017, 09:25:10 AM »
@ a1ex:

Thanks for the screencap. Which tool did you use to generate that picture with zebras and raw histogram?

I understand that there is no free lunch and in the regions where only 1 iso is present, there is a risk of aliasing. I also see that aliasing is reduced when shooting with a smaller ISO range. I will consider a smaller iso range for my next shots.

My question is: for the pictures that I have already taken (like that one). Can I do something about aliasing either by changing the cr2hdr settings or by applying some specific postprocessing in Rawtherapee (different demosaicing, other tool?). In other words, and according to your experience, what can be done in postprocessing to mitigate these effects?

Thanks for your advice. :)

12
General Help Q&A / Re: Green and magenta artefacts on DUAL ISO output
« on: December 22, 2017, 03:28:19 PM »
@ Danne

It looks pretty good with respect to white balance. Unfortunately I am on Windows, so I cannot use Switch. :(

13
General Help Q&A / Re: Green and magenta artefacts on DUAL ISO output
« on: December 22, 2017, 01:32:44 PM »
@ a1ex: Here are the 2 cr2 files:
https://drive.google.com/file/d/1F8BpKInMfmRPr0mcbFVPJ6FtQ9O5wh2B/view?usp=sharing
https://drive.google.com/file/d/1hX5gfC-36i-N1pwVa3QI3bq44z7c84V7/view?usp=sharing

I will do some tests by varying the ISO range for a given scene and will look at raw zebras when shooting. Is there a way to review these zebras after the fact other than right after having taken the picture (for example while reviewing pictures in front of a computer?).

@ a1ex and Danne
I would only be really worried about the WB if this had an impact on the image quality. According to a1ex it has very little impact on the cr2hdr processing. I guess that it does not create artefacts (correct me if this is wrong), so the impact is probably hard to detect by eye. This means that I can safely correct it in Rawtherapee.

I will not enter the debate to know whether it is solved or half solved as I do not know what is exactly going on under the hood :)

14
General Help Q&A / Re: Green and magenta artefacts on DUAL ISO output
« on: December 22, 2017, 11:08:47 AM »
@ Walter: Thanks  :) It was in plain sight there...

@ mothaibaphoto. With respect to your comment 1. I believe that if it was lens induced, it should appear on both the standard shot and the Dual ISO shot. I purposely chose minimal development in Rawtherapee disabling any lens dependent correction or chromatic aberration/fringing correction. The lens information present in the cr2 file is not used. And sorry, I forgot to mention, I shot this building in portrait mode, so it would make sense that the Dual ISO artefacts are vertical on this picture according to your comment.

15
General Help Q&A / Re: DUAL ISO cr2hdr. Why output a DNG and not a CR2?
« on: December 21, 2017, 10:29:44 PM »
OK. I am trying Rawtherapee.

16
General Help Q&A / Green and magenta artefacts on DUAL ISO output
« on: December 21, 2017, 10:04:10 PM »
Hello Dual ISO gurus,

I am trying the DUAL ISO module and I would like to understand what is the optimal way of processing the DNG created by cr2hdr.

- I shot 2 pictures of the same building, one with no Dual ISO (Standard ETTR iso 100), and one with Dual ISO 100/1600. 
- I processed the Dual ISO CR2 with cr2hdr default settings (drag and drop on the exe)
- I developed the two pictures using Rawtherapee 5.3 with the following settings:
Processing Profile Neutral, AMaZE Demosaicing, White Balance Daylight, Auto Levels

Below is a screen cap of some details zoomed at 100%



Left CR2 developed/ Right DualISO DNG developed



As you can hopefully see, the Dual ISO shot shows some green and magenta vertical artefacts (see for example the balconies, the window frames, or the vertical pattern in the facade). I would upload the cr2 files but I am not sure how since they are so big.

My question is :

1. What can be done to minimize these effects? Where is it the best to address them?
a. During the shot: Different settings of Dual ISO (maybe a smaller range of ISO like 100-400, or 100-800?)
b. During the conversion with cr2hdr: Different settings of cr2hdr?
c. During development of the dng: Different postprocessing in Rawtherapee (different demosaicing algorithm?)


In addition I have a few other questions with respect to Dual ISO:
2. The white balance in the Dual ISO CR2 is not the white balance that I have selected on the camera, whereas for a standard CR2 it is. Is this the expected behavior? Does this affect the processing by cr2hdr?
3. I am not sure I can evaluate in the field whether I really need Dual ISO or not. So I would like to always take 2 images of the same scene (one standard and one Dual ISO). So far I need to manually change the settings in the menu between shots to achieve this. Is there a possibility to set up the camera to take automatically 2 images in a row: one standard image with current settings (base ISO) and one Dual ISO image? That would make the process more convenient.

Thanks for your help.





Config:
ML for 6D Build 2017-12-07
cr2hdr Build 2017-12-04

17
General Help Q&A / Re: DUAL ISO cr2hdr. Why output a DNG and not a CR2?
« on: December 18, 2017, 11:00:08 PM »
Thanks for the information.
I am trying to figure out how to apply Chromatic aberration corrections outside DPP since we use DNG on the hdr image. Ideally I am looking for a solution similar to Digital Lens Optimizer from DPP. Unfortunately, I am not sure that it really possible since I believe there is no focus information in DNG, Correct?

18
General Help Q&A / Re: DUAL ISO cr2hdr. Why output a DNG and not a CR2?
« on: December 11, 2017, 10:02:21 PM »
Up to now I only use Canon DPP for my workflow. It deals well with Lens Aberrations and gives me enough sliders to gently adjust the image.
I do not say I absolutely need cr2. I am happy to deal with Dual ISO images in another software specifically.
Am I wrong or isn't some part of the cr2 format understood enough to be able to write a cr2 file out of cr2hdr? Or does this just make no sense (independently from the fact that cr2 is proprietary format or not)?

19
General Help Q&A / DUAL ISO cr2hdr. Why output a DNG and not a CR2?
« on: December 10, 2017, 11:26:59 PM »
Hello Magic Lantern gurus,

I have just installed Magic Lantern as I am curious about the DUAL ISO module.
I have a question. The answer may be obvious for people familiar with the differences between DNG and CR2 formats, but I am wondering:
Is there a fundamental reason why the output of cr2hdr is a DNG file and not a CR2 file? Or could it be done (provided there is time and interest in it)?

Please enlighten me!

Thanks.


Pages: [1]