Current Server Time: 01:05 (Central Europe)

#apertus IRC Channel Logs

2020/05/14

Timezone: UTC


02:50
aombk
left the channel
02:51
aombk
joined the channel
03:32
Bertl
off to bed now ... have a good one everyone!
03:32
Bertl
changed nick to: Bertl_zZ
06:12
BAndiT1983|away
changed nick to: BAndiT1983
06:39
BAndiT1983
changed nick to: BAndiT1983|away
07:13
BAndiT1983|away
changed nick to: BAndiT1983
07:14
se6ast1an
good day
07:15
BAndiT1983
changed nick to: BAndiT1983|away
07:55
max_bxl
joined the channel
07:55
max_bxl
hello everyone!
08:05
anuejn
good morning!
08:06
BAndiT1983|away
changed nick to: BAndiT1983
08:07
se6ast1an
hi maxime!
08:07
se6ast1an
how are things going ?
08:08
max_bxl
fine !
08:09
max_bxl
waiting for Bertrand for online meeting
08:09
se6ast1an
great
08:09
se6ast1an
will reply to your email now
08:09
max_bxl
hopefully we'll resume IRL meetings soon !
08:09
se6ast1an
great
08:09
se6ast1an
regarding the raw2dng conversion of your timelapse clip is everything clear now with the darkframe?
08:12
berto_bxl
joined the channel
08:14
max_bxl
yep !
08:17
max_bxl
Bertrand checked it on it's big monitor, maybe he can tell us more about it
08:17
se6ast1an
<se6ast1an> regarding the raw2dng conversion of your timelapse clip is everything clear now with the darkframe?
08:17
se6ast1an
hi betrand!
08:18
berto_bxl
hi Sebastian
08:18
berto_bxl
Don't know if everything is clear with darkrame
08:18
berto_bxl
The re are change in the monitoring, but I guet weird stuff whenn "axiom-start"
08:19
berto_bxl
I dind't check yet the mail you send us about this, we'll do know with maxime
08:26
se6ast1an
sorry, occupied for a bit with a videoconference
09:04
se6ast1an
back
09:04
se6ast1an
let me know if you have any questions or need any support
09:06
max_bxl
yep, actually it seems there's progress on monitoring, but not on the raw2dng part
09:07
max_bxl
is it normal to have this kind of results : https://pastebin.com/xJMM0k0b
09:08
se6ast1an
looks good
09:08
max_bxl
?
09:08
se6ast1an
what does the result dng look like?
09:08
max_bxl
ok, but it goes on and on forever
09:08
max_bxl
so I don't have a DNG !
09:09
max_bxl
should I wait a bit more ?
09:09
se6ast1an
well you do this on the beta
09:09
max_bxl
yes
09:09
se6ast1an
so its supposed to be much slower than on your pc for example
09:09
max_bxl
on the PC it takes ages too, but I'll give it another try then
09:10
se6ast1an
with the Dark current: dcnuframe-x1.pgm x 1.0 I guess more sophisticated compensations are calculated
09:10
se6ast1an
which takes more time
09:10
se6ast1an
if it takes ages then something is wrong
09:10
se6ast1an
the log says you also do row noise compensation "Row noise from black columns..."
09:11
se6ast1an
3072 rows
09:11
max_bxl
ok
09:11
se6ast1an
but I would suggest to do this post processing on your PC indeed
09:12
se6ast1an
and make sure to snap the picture with -b enable black columns
09:12
se6ast1an
which you did not in the above command
09:13
se6ast1an
maybe it tries to use black coloumns which are not there
09:13
se6ast1an
could explain the long processing, but also would create weird artifacts in the image
09:14
max_bxl
ok
09:14
max_bxl
so the command would be : axiom-snap -2 -r -b -e 1ms > test_snap_r_x1.raw12
09:14
se6ast1an
yes
09:19
max_bxl
ok great, look much better!
09:19
se6ast1an
perfect
09:19
se6ast1an
is it faster as well?
09:20
max_bxl
yes
09:20
max_bxl
there's still some line of noise
09:21
max_bxl
what DCNU stands for ?
09:22
se6ast1an
Dark Current Non Uniformity (DCNU)
09:22
max_bxl
thx
09:22
se6ast1an
there are some additional compensations you can try
09:22
se6ast1an
https://wiki.apertus.org/index.php/Raw2dng
09:23
se6ast1an
Pattern noise correction:
09:23
se6ast1an
--rnfilter=1 : FIR filter for row noise correction from black columns
09:23
se6ast1an
--rnfilter=2 : FIR filter for row noise correction from black columns
09:23
se6ast1an
and per-row median differences in green channels
09:23
se6ast1an
and more experimental ones:
09:23
se6ast1an
--fixrn : Fix row noise by image filtering (slow, guesswork)
09:23
se6ast1an
--fixpn : Fix row and column noise (SLOW, guesswork)
09:23
se6ast1an
--fixrnt : Temporal row noise fix (use with static backgrounds; recommended)
09:23
se6ast1an
--fixpnt : Temporal row/column noise fix (use with static backgrounds)
09:23
se6ast1an
I would suggest trying some/all of those and saving different resulting DNGs
09:24
max_bxl
yep !
09:24
max_bxl
how do you specify output in raw2dng ?
09:24
se6ast1an
then you can apply the same raw developments to all of them and compare with increased exposure value to intensify the noise
09:24
se6ast1an
cat input.raw12 | raw2dng output.dng [options]
09:27
max_bxl
does it make sense to add the options, or we should only take one at a time ?
09:27
max_bxl
ie. cat input.raw12 | raw2dng output.dng --rnfilter=1 --fixrn --fixrnt
09:29
se6ast1an
I would not use multiple corrections at the same time
09:36
max_bxl
is it possible that "cat ..." doesn't pass metadata on ?
09:40
se6ast1an
no
09:43
max_bxl
I got this ... https://pastebin.com/sR1iEv9g
09:44
max_bxl
(the problem is after line 174)
09:45
se6ast1an
indeed seems to be processed differently
09:45
se6ast1an
alexML: you there?
09:45
se6ast1an
max_bxl: I would recommend to use the first method for now and just rename the output dng afterwards
09:46
max_bxl
yep, this process is on going ;)
09:57
se6ast1an
created task: https://lab.apertus.org/T1201
09:57
se6ast1an
alexML: if you are available please take a look at it
09:58
max_bxl
the --rnfilter=2 option seems better for our current setup
10:00
se6ast1an
great
10:00
se6ast1an
showing a side by side comparison of the different compensations would actually be a great addition to the wiki
10:00
se6ast1an
we have nothing like it yet
10:05
se6ast1an
off for lunch
10:11
max_bxl
ok good to know
10:11
max_bxl
will do with a color chart maybe
10:25
se6ast1an
back
10:25
se6ast1an
doesnt ned to be a color chat
10:25
se6ast1an
*chart
10:25
se6ast1an
I even think that a real life image is more interesting
10:25
se6ast1an
like your timelapse
10:28
max_bxl
ok will do then !
10:28
max_bxl
where ?
10:35
se6ast1an
https://wiki.apertus.org/index.php/Raw2dng
10:36
max_bxl
ok will do
10:36
se6ast1an
thanks
10:37
max_bxl
png on the wiki with links to the DNG files on the cloud ?
10:38
se6ast1an
you can zip dngs and upload to wiki as well
10:38
se6ast1an
let me check the max filesize
10:38
max_bxl
what does the dark frame calibration do ? (in order to add this to the wiki, as introduction of the section https://wiki.apertus.org/index.php/Factory_Calibration_(firmware_2.0)#Step_3:_Dark_frame_calibration )
10:38
se6ast1an
8 MB
10:38
se6ast1an
could be a problem
10:38
se6ast1an
please test
10:39
max_bxl
12,8Mo zipped, 13,8Mo tar.gz
10:39
max_bxl
...
10:40
se6ast1an
ah, right then files.apertus.org is probably a good place
10:40
se6ast1an
or cloud.apertus.org
10:40
max_bxl
yes, will do!
10:40
se6ast1an
<max_bxl> what does the dark frame calibration do? <- you mean how does it affect the DNG ?
10:41
max_bxl
yes
10:41
max_bxl
why we do it, how does it improve the DNG
10:47
se6ast1an
https://www.apertus.org/magic-lantern-getting-to-grips-with-axiom-beta-image-sensor-article-feb-2016
10:48
se6ast1an
https://www.magiclantern.fm/forum/index.php?topic=11787.msg129672#msg129672
10:48
se6ast1an
thats the long answer
10:49
se6ast1an
the short answer is: "it significantly improves image noise levels" :)
10:54
berto_bxl
left the channel
10:57
BAndiT1983
changed nick to: BAndiT1983|away
11:31
BAndiT1983|away
changed nick to: BAndiT1983
11:45
max_bxl
done : https://wiki.apertus.org/index.php/Raw2dng#Examples
11:48
max_bxl
off for lunch
12:19
max_bxl
off for today, bye everyone!
12:19
max_bxl
left the channel
12:25
Bertl_zZ
changed nick to: Bertl
12:25
Bertl
morning folks!
12:30
se6ast1an
good day
14:10
aombk2
joined the channel
14:13
aombk
left the channel
15:15
Bertl
off for now ... bbl
15:15
Bertl
changed nick to: Bertl_oO
16:30
se6ast1an
regarding the AXIOM Remote GUI, I would like to discuss a feature I have in mind: I want to add a switch/option that allows the user to choose between setting parameters while the value is being changed or only after the selection has been completed
16:32
BAndiT1983
toggle button for live/post?
16:32
se6ast1an
for example on a DSLR or broadcast/prosumer camera you expect to see a change in exposure time or aperture immediately, while turning a knob basically
16:32
se6ast1an
but with the current menu system we have in place it would be local that a change only propagates after pressing the set button or pushing the knob on the value you want
16:33
se6ast1an
so I would indeed like to add a button to each parametermenu where you can switch between LIVE/POST as you call it
16:33
BAndiT1983
this is where event handling is useful, you can tell to fire when a value changes
16:33
se6ast1an
the question is if the term "POST" is self expalantory
16:33
BAndiT1983
was just a quick shot
16:33
se6ast1an
and if this choice should be saved with each parameter individually
16:34
se6ast1an
or if there should be different behaviour while recording/not recording
16:34
se6ast1an
in the end this has a lot of potential to confuse people
16:34
se6ast1an
so finding the right term and way to display this is essential
16:44
se6ast1an
I guess I will also put these into a lab task
16:48
BAndiT1983
depends on the option, but with handlers you can decide when the change should be triggered, e.g. instantly, on button press, when something else happens etc.
16:49
se6ast1an
yes technically this should be easy to solve
16:49
se6ast1an
I think the main challenge is on UX side
16:55
se6ast1an
https://lab.apertus.org/T1202
17:05
BAndiT1983
changed nick to: BAndiT1983|away
17:34
Spirit532
left the channel
17:34
Spirit532
joined the channel
18:19
BAndiT1983|away
changed nick to: BAndiT1983
18:19
metal_dent[m]
Hi, sorry for not reporting today, I was still working on the makefile and finally finished it
18:20
BAndiT1983
hi metal_dent[m], very good! had any problems?
18:20
metal_dent[m]
it creates the image headers now the way we want
18:21
BAndiT1983
nice!
18:21
metal_dent[m]
actually not exactly the way we want as the pixel/hex data in the header are all in one line without indentations so there is one problem
18:22
BAndiT1983
it shouldn't really matter, as we want the data, also it's auto-generated, so don't worry
18:25
metal_dent[m]
ohh, and i was here trying to find ways to overcome that problem ':D
18:30
BAndiT1983
it can be solved rather easy with some tools, e.g. clang-format or similar, but focus on functionality first, can incorporate formatting when CircleCI is building
18:31
Bertl_oO
metal_dent[m]: how is the final output generated?
18:32
BAndiT1983
oh, Bertl is there, if you have 1 minute then i would like to know rather important info regarding the path for the PCB probe
18:33
Bertl_oO
sure
18:33
BAndiT1983
have posted 2 images of the paths -> https://lab.apertus.org/T1199
18:34
BAndiT1983
second one is just dumb sorting by x and y, but thought about adding like x and y threshold values to the command line, would be for the search grid
18:34
metal_dent[m]
makefile -> https://github.com/MetalDent/AXIOM-Remote/blob/dev/Firmware/Media/Icons/Makefile
18:34
metal_dent[m]
and header file -> https://github.com/MetalDent/AXIOM-Remote/blob/dev/Firmware/Media/Icons/ApertusRingLogo.h
18:35
Bertl_oO
BAndiT1983: can you use a script (or other way) to simply sum up the path lengths as metric?
18:35
BAndiT1983
problem is, that not all parts are defined by origin, like top and bottom connector pad rows, so i have to think of some method to wander between elements and pads have to weight it also
18:35
BAndiT1983
can do, as i know the coordinates exaclty
18:35
BAndiT1983
*exactly
18:36
BAndiT1983
metal_dent[m]: looks good!
18:37
BAndiT1983
we can reduce the makefile even further, but not important right now
18:37
metal_dent[m]
alright then i'll sleep now! nn!
18:37
BAndiT1983
sleep well, good night
18:38
BAndiT1983
Bertl_oO: regarding the lengths, currently it's only between the element positions, but i suppose that the element BETA is in the center or so, it contains the connector pads
18:39
BAndiT1983
what i would like to achieve is to create a proper path from top-left or bottom-left, which goes from left to right, then turns and in the next row it goes from right to left
18:40
BAndiT1983
maybe i will just calculate all pad paths, then sort like now plus a threshold for position, as you will precalculate the paths, then i could add some command line threshold values for path "smoothing"
18:40
Bertl_oO
yeah, just a sum of the part to part moves should give a rough idea how much better this path is
18:41
BAndiT1983
ok, will implement that, just simple trigonometry
18:41
Bertl_oO
the problem with optimizing pad paths is that becomes a traveling salesperson problem which is non trivial
18:42
BAndiT1983
i know, that's exactly the first thing i've stumbled when started to search for a solution
18:42
Bertl_oO
simple sorting top to bottom will give very bad results for vertical connectors
18:42
BAndiT1983
maybe there is a module in python for this
18:42
Bertl_oO
similarily sorting left to right will cause problems in the other direction
18:42
BAndiT1983
let me reflect a bit on that problem, it's solvable, will use pad position and element placement as factor and weighting or so
18:43
Bertl_oO
it is solvable but solving it for this number of pads will take way longer than the probing :)
18:44
BAndiT1983
there is always a module for python ;) https://pypi.org/project/tsp/
18:44
BAndiT1983
https://ericphanson.com/blog/2016/the-traveling-salesman-and-10-lines-of-python/
18:45
Bertl_oO
well, you'll see :)
18:46
BAndiT1983
am rather confident that we can get it up and running soon, panelizer also has some tests done, maybe we should move the PCB probe repo to apertus and alter also the panelizer
18:49
BAndiT1983
*later
18:52
se6ast1an
BAndiT1983: I need some event handling support with function pointers, should I commit and you take a look tomorrow or so?
18:52
se6ast1an
it currently breaks the build though...
18:53
BAndiT1983
yes, please commit, also you can take a look at the handlers which were already there, i think it was IButton::Activate() or similar, name is still not fitting, but should be ok for now
18:53
se6ast1an
I did, thats how I created them
18:53
se6ast1an
but now get
18:53
se6ast1an
UI/Screens/MainMenu.h:54:64: error: no matching function for call to 'NumericMenuItem::SetHandler(void (MainMenu::*)(void*))'
18:53
se6ast1an
_lcdBrightness.SetHandler(&LCDBrightnessMenuItemHandler);
18:54
BAndiT1983
it has to be static in the class
18:54
BAndiT1983
static void AnalogGainButtonHandler(void* sender);
18:54
se6ast1an
ah!
18:54
BAndiT1983
like in MainPage.h
18:55
BAndiT1983
my implementation is not that polished yet though
18:55
se6ast1an
I looked at mainpage.cpp but not .h, thanks
18:55
BAndiT1983
no problem
18:56
se6ast1an
yep that did it, compiles
19:00
se6ast1an
pushed fix that should fix the build again
19:05
BAndiT1983
yep, CircleCI is green again!
19:14
se6ast1an
handler works, off to tv evening
19:14
se6ast1an
only thing I still need to figure out is how to get the ili object into that function now :)
19:34
comradekingu
left the channel
19:51
comradekingu
joined the channel
20:30
se6ast1an
off to bed
20:30
se6ast1an
good night
20:34
Bertl_oO
nn
21:01
uberardy
left the channel
21:03
uberardy
joined the channel
21:55
BAndiT1983
changed nick to: BAndiT1983|away
21:57
anuejn
register dumps from the camlink: https://paste.niemo.de/higaxonabi.makefile
21:59
anuejn
(comparing output from my laptop and the micro)
22:10
anuejn
good night everyone!
22:35
megora
joined the channel
23:32
Bertl_oO
anuejn: ah, nice, tx
23:32
Bertl_oO
vup: any interesting differences?
23:32
vup
did not look at them yet
23:50
Bertl_oO
ah, sorry, assumed you had ...