Current Server Time: 23:14 (Central Europe)

#apertus IRC Channel Logs

2018/05/20

Timezone: UTC


01:20
slikdigit
joined the channel
01:40
slikdigit_
joined the channel
01:41
slikdigit
left the channel
01:41
slikdigit_
changed nick to: slikdigit
02:20
rton
left the channel
03:05
slikdigit
left the channel
04:03
Bertl_oO
changed nick to: Bertl_zZ
06:11
BAndiT1983|away
changed nick to: BAndiT1983
10:23
slikdigit
joined the channel
10:39
rton
joined the channel
10:49
se6astian|away
changed nick to: se6astian
11:58
Bertl_zZ
changed nick to: Bertl
11:59
Bertl
morning folks!
12:37
Bertl
off for now ... bbl
12:37
Bertl
changed nick to: Bertl_oO
12:38
slikdigit
left the channel
13:11
TofuLynx
joined the channel
13:13
RexOrCine|away
changed nick to: RexOrCine
13:15
TofuLynx
Good Morning!
13:30
supragya
TofuLynx: hi!
13:38
TofuLynx
Hey supragya!
13:39
TofuLynx
I am going to lunch right now! Are you on this afternoon?
13:39
TofuLynx
(afternoon in europe)
13:39
supragya
*evening here :)
13:39
supragya
have meeting today... prepping for it
13:40
TofuLynx
uh nice
13:40
TofuLynx
meeting about what? anything important?
13:40
supragya
no, GSoC meet (our own), full meet on monday
13:41
ArunM
joined the channel
13:41
TofuLynx
Ah! :)
13:41
TofuLynx
Hope you have fun!
14:24
ymc98_1
left the channel
14:25
ymc98_1
joined the channel
14:32
BAndiT1983
hi TofuLynx, you had some questions regarding debayer?
14:51
ArunM
Meeting is tomorrow right?
14:51
ArunM
@10:30 ist
14:51
supragya
don't worry,
14:51
supragya
it's just for my proj (Raw video container format)
14:52
ArunM
okay :-)
14:58
TofuLynx
Oh hey BAndiT1983
14:59
TofuLynx
I didn't understand what you meant with this: "what about bilinear debayer for the blue channel, in our rggb example, which interpolates top, left and center sensel at once? then we would do everything in one pass, possibly multiple threads for performance. btw. the threads have to be in some distance from each other to avoid interference"
15:10
BAndiT1983
like it's described, you would interpolate the missing sensels, so the outer edge won'T be jagged
15:12
TofuLynx
but, how do you interpolate the blue channel for the border, while avoiding jagged lines?
15:24
supragya
hi BAndiT1983
15:24
BAndiT1983
hi supragya
15:25
BAndiT1983
TofuLynx: horizontally, in liner fashion, row 1 is meant (not 0)
15:25
supragya
BAndiT1983: I did in_memory emulation of the recorder to actually see how much perf we can get.. The very basic emulator was capable of having a throughput of about ~7500 frames per second
15:26
TofuLynx
Ok, so, for the borders, I will use linear interpolation, and for the row 1 and column 1 I will use bilinear intepolation (top-bottom and left-right), is that correct?
15:26
supragya
given a 4xSSD in RAID 0, we can expect somewhere around (x10 factor) ~750 frames of recording possible...
15:27
BAndiT1983
borders of blue, not the image border
15:28
BAndiT1983
supragya: don't forget that a PC and Zynq are totally different at thatz
15:28
BAndiT1983
*that
15:29
supragya
given that zync is capable of throughput anywhere below 750 frames per sec, we would be able to handle on recorder end
15:29
supragya
In the emulation, the AXIOM Beta was thought of as a black box... so no emulation was done to actually emulate how perf would depend on zync
15:30
TofuLynx
yep. But how can I do that in such a way that's universally applicable, with just offsets?
15:30
ArunM
left the channel
15:31
supragya
the stream given off by Beta in emulation was a simple fs (that's how it would look like when mounted through USB3, right?) and was programmed to give off as speedily the data as required.
15:32
supragya
g3gg0 in last meet asked to focus on the PC end... so I did that
15:36
BAndiT1983
TofuLynx: you should process it like in downscaler and such, as a block of 2x2 or possibly 3x3
15:42
TofuLynx
BAndiT1983: But in that case, How do I know where are the missing borders? For example, in RGGB, the red and green channel need the intepolation on the borders. But blue only needs on the top and left borders, and also in row 1 and column 1
15:44
BAndiT1983
always the last value, if R or B
15:45
BAndiT1983
blue requires top and left value, which should be interpolated while doing main processing, as they are later required for image border calculation
15:50
TofuLynx
what do you mean by top and left value?
15:50
BAndiT1983
check the RGGB pattern again
15:51
BAndiT1983
first value of B is at diagonal cross at 2,2 , so you need to calculate top and left values from available ones, ah and also right one, forgot about it
15:54
BAndiT1983
but the right value is the left of next blue calculation
15:54
BAndiT1983
sorry, can't do 2 things at once, trying to get the tax declaration done
15:54
TofuLynx
but that would do the same thing, you would be left with missing borders at bottom right and missing column and row next to those bottom and right borders
15:55
TofuLynx
no problem!
15:57
BAndiT1983
nope bottom and right would be automatically filled in, when iteration is at next value or at next row
15:57
TofuLynx
oops
15:57
BAndiT1983
you would calculate 2,2 then 1,2 and 2,1
15:57
TofuLynx
forgot to say that I mean that would happen when on BGGR pattern
15:58
BAndiT1983
it's the same, but for red
15:58
TofuLynx
so
15:58
BAndiT1983
there is no point to focus on colors, if they are not green values
15:58
BAndiT1983
just on cases and their starting points/ offsets
15:58
TofuLynx
how do I change the algorithm according to the pattern then?
15:59
BAndiT1983
add calculation for top and left for now
15:59
TofuLynx
hmm
15:59
TofuLynx
uuh
15:59
TofuLynx
i marked myself as away
15:59
TofuLynx
I dont know how xD
15:59
TofuLynx
Ok. sorry
15:59
TofuLynx
hmm
16:00
BAndiT1983
away? haven't seen any notification
16:00
TofuLynx
Oh well xD
16:00
TofuLynx
ok, so I see your point now
16:01
TofuLynx
by doing the blue channel as top and left and center
16:01
TofuLynx
I would have blue channels in the bottom and right borders, which would allow me to do bilinear interpolation
16:01
BAndiT1983
yep, or red channel, this are special cases, then this ones are at the end of the pattern, as end i mean like RGGB or GBBR
16:02
BAndiT1983
as the obviously suffer from missing sensels and have to be restored
16:02
TofuLynx
what happens in the mirror patterns, aka GBRG or GRBG?
16:02
TofuLynx
top and right in those cases?
16:02
BAndiT1983
G has more data available, so interpolation is rather simple,
16:03
BAndiT1983
you have to calculate it through weighting, there were already examples in the links we have exchanged some times ago
16:03
TofuLynx
yeah, for now I am doing simple weighting (dividing by four)
16:07
BAndiT1983
it's sufficient at the moment, adjustments will be done later
16:07
TofuLynx
Can you tell me, what pattern does axiom uses in fact?
16:07
TofuLynx
RGGB?
16:09
BAndiT1983
depends on the sensor
16:09
TofuLynx
CMV1200
16:09
BAndiT1983
don't know if it is always the same pattern
16:10
TofuLynx
Okk :)
16:10
supragya
depends on ordering too... if mirrored frames (bottom-up DIP), we get GBRG
16:11
aombk2
left the channel
16:11
supragya
last row => first row and so on
16:11
BAndiT1983
datasheet shows RGGB examples, but it could also be different, Bertl_oO or se6astian knows more
16:11
TofuLynx
Ok!
16:11
TofuLynx
I am just trying to understand why do the samples seem wrong
16:12
BAndiT1983
it's the conversion, look for raw2dng in the apertus repos
16:12
BAndiT1983
maybe we can fix it at some point
16:12
TofuLynx
hmm
16:13
TofuLynx
do you think that if I changed the tag of the pattern to RGGB or else, it would potentially be correct?
16:13
BAndiT1983
https://github.com/apertus-open-source-cinema/misc-tools-utilities/tree/master/raw2dng
16:13
BAndiT1983
can't say if it is just the flag or the order, so it needs some tests
16:14
TofuLynx
okk
16:14
BAndiT1983
it could be fead with RAW12 and then tested automatically, if the output is correct
16:15
BAndiT1983
but beware, a lot of code is in the source
16:19
TofuLynx
well It's not really a priority right now
16:19
TofuLynx
But it's something that has definitely to be investigated
16:21
ymc98_1
left the channel
16:21
ymc98_1
joined the channel
16:22
TofuLynx
BAndiT1983: Do you remember that sample with a girl in a green background?
16:27
BAndiT1983
yes
16:31
TofuLynx
in darktable, the color render correctly and such. but in OC it appears pink where it should be green
16:34
BAndiT1983
probably it has additional info, like linearization table
16:34
TofuLynx
I sent a image on lab chat
16:35
BAndiT1983
which pattern is recognized?
16:35
BAndiT1983
and by the way, tested with this image long time ago, had no problem
16:36
TofuLynx
It's recognized as GBRG
16:37
BAndiT1983
can you chec k it in darktable, maybe you can switch debayering off?
16:37
TofuLynx
I will try it
16:37
BAndiT1983
will also install newest darktable version+
16:38
BAndiT1983
nevermind, did already some days ago, getting old :D
16:38
TofuLynx
xD
16:39
BAndiT1983
image has pink tone, so green is diminshed and the skin is totally pink
16:40
TofuLynx
which is the opposite of what happens with OC
16:40
TofuLynx
also on OC the two green sensels have significantly different values, which introduces a grid artifact effect
16:40
BAndiT1983
hm, pity, you can switch to monochrome version, as passthrough, would prefer raw pattern in darktable, but ok
16:41
BAndiT1983
we should investigate it,l but if pattern is not correct, then this would explain different green values
16:41
TofuLynx
maybe it's an issue with TIFF loader (?)
16:41
BAndiT1983
TofuLynx: you have got exif info, was there something else related to CFA or channels?
16:42
TofuLynx
let me paste the tags
16:42
BAndiT1983
before we change code, get some DNG images from the web, which we can use for testing
16:42
TofuLynx
CFA Pattern : [Green,Blue][Red,Green]
16:42
TofuLynx
CFA Pattern 2 : 1 2 0 1
16:42
BAndiT1983
https://www.camerafv5.com/pages/raw-samples.php
16:44
BAndiT1983
ah, it's white balancing, if you set it to manual and drag a small rectangle on her shirt, then the image turns more natural
16:44
TofuLynx
hmm BAndiT1983
16:44
TofuLynx
i downloaded the beach picture on the page you sent
16:44
TofuLynx
and the image is very strange on OC
16:44
TofuLynx
I will send a picture
16:45
TofuLynx
Sent on lab
16:46
TofuLynx
do you see those vertical dark columns?
16:46
TofuLynx
well they are columns, of couse they are vertical xD
16:46
BAndiT1983
yep, probably preprocessor isn't handling this pattern yet
16:46
TofuLynx
Okk
16:47
TofuLynx
So, should I keep doing the bilinear Debayer with unit tests?
16:48
BAndiT1983
yes, it would allow to enclose problems
16:48
BAndiT1983
doing the same for daemon at the moment
16:48
TofuLynx
Ok :)
16:50
TofuLynx
Will be afk for a moment, I will eat something
16:50
BAndiT1983
have a nice meal
16:50
supragya_
joined the channel
16:51
supragya_
hey
16:51
BAndiT1983
hi again supragya
16:52
supragya_
who's there?
16:53
BAndiT1983
reminds me of the old french movie fantomas :D
16:56
supragya_
dude? I wanna talk to io. stream.h guy :P
16:57
supragya
hey supragya_
16:57
supragya
PM me please
16:57
supragya
not me BAndiT1983!
16:59
intrac
left the channel
17:03
intrac
joined the channel
17:03
intrac
left the channel
17:03
intrac
joined the channel
17:24
supragya
BAndiT1983: I guess g3gg0 will not be here today. We meet tomorrow for meet then
17:25
supragya
*(bad phrasing of sentence)
17:29
BAndiT1983
ok, then let's discuss it tomorrow
17:57
se6astian
changed nick to: se6astian|away
18:08
aombk
joined the channel
18:21
TofuLynx
left the channel
18:52
supragya_
left the channel
19:27
flesk_
left the channel
19:27
vup
left the channel
19:27
vup
joined the channel
19:27
anuejn
left the channel
19:43
anuejn
joined the channel
19:44
ZNC
left the channel
19:44
Kjetil
left the channel
19:44
Kjetil
joined the channel
19:44
ZNC
joined the channel
19:52
flesk_
joined the channel
20:15
BAndiT1983
changed nick to: BAndiT1983|away
20:17
BAndiT1983|away
changed nick to: BAndiT1983
20:32
se6astian|away
changed nick to: se6astian
20:48
BAndiT1983
changed nick to: BAndiT1983|away
21:02
TofuLynx
joined the channel
21:24
anuejn2
could anyone review the information added under https://wiki.apertus.org/index.php/AXIOM_Beta/Camera_Structure#Plugin_Modules_and_Shields ?
21:49
RexOrCine
changed nick to: RexOrCine|away
21:53
BAndiT1983|away
changed nick to: BAndiT1983
22:14
TofuLynx
BAndiT1983
22:14
TofuLynx
Are you there?
22:18
intrac_
joined the channel
22:20
intrac
left the channel
22:20
anuejn2
Bertl_oO: and whats the volteage range/ rules for VCC and VCC_IO on the shields?
22:22
anuejn2
can one just supply 3v3 to both, when one is not using lvds?
22:45
slikdigit
joined the channel
22:58
slikdigit_
joined the channel
22:59
slikdigit
left the channel
22:59
slikdigit_
changed nick to: slikdigit
22:59
se6astian
changed nick to: se6astian|away
23:12
TofuLynx
Good Night!
23:12
TofuLynx
left the channel
23:39
lexano
left the channel
23:42
BAndiT1983
changed nick to: BAndiT1983|away
23:42
BAndiT1983|away
changed nick to: BAndiT1983
00:12
slikdigit
left the channel
00:28
BAndiT1983
changed nick to: BAndiT1983|away
00:44
futarisIRCcloud
joined the channel