Current Server Time: 20:13 (Central Europe)

#apertus IRC Channel Logs

2019/02/11

Timezone: UTC


23:05
BAndiT1983
changed nick to: BAndiT1983|away
00:04
BAndiT1983|away
changed nick to: BAndiT1983
00:53
comradekingu
left the channel
00:59
futarisIRCcloud
joined the channel
01:09
BAndiT1983
changed nick to: BAndiT1983|away
01:56
parimal
joined the channel
01:57
parimal
Is it mandatory to use QT 5.8/5.7 for building OpenCine?
02:12
RexOrCine
changed nick to: RexOrCine|away
02:15
RexOrCine|away
changed nick to: RexOrCine
02:41
parimal
left the channel
03:53
parimal
joined the channel
04:08
RexOrCine
changed nick to: RexOrCine|away
04:10
parimal
left the channel
04:26
parimal
joined the channel
04:27
parimal
left the channel
04:32
parimal
joined the channel
04:41
parimal
left the channel
06:28
se6astian|away
changed nick to: se6astian
06:39
illwieckz
left the channel
07:11
BAndiT1983|away
changed nick to: BAndiT1983
07:17
BAndiT1983
parimal, as Qt is the base of OC, then i suppose yes, it has to be used. or was the question targetting the version of Qt?
07:23
illwieckz
joined the channel
08:15
xfxf
joined the channel
08:28
futarisIRCcloud
left the channel
08:41
se6astian
changed nick to: se6astian|away
09:12
RexOrCine|away
changed nick to: RexOrCine
09:13
futarisIRCcloud
joined the channel
09:21
se6astian|away
changed nick to: se6astian
09:26
tyrone
joined the channel
09:26
tyrone
hello...
09:28
se6astian
hi there
09:28
se6astian
you are very early :)
09:30
tyrone
yes :-)
09:33
RexOrCine
changed nick to: RexOrCine|away
09:34
BAndiT1983
hi tyrone
09:34
BAndiT1983
should we start right away?
09:37
tyrone
you all have time? then yes lets go.
09:37
tyrone
and hi.
09:40
BAndiT1983
yep, have time, as i can chat and accomplish other non-computer related things in parallel
09:41
BAndiT1983
have pushed new update with direct register config for CMV sensor, but haven't tried on real camera yet, this update would allow to port scripts to daemon managed config
09:41
tyrone
okey your decition :-)
09:42
tyrone
sound good.
09:42
BAndiT1983
next step would be some sort of handshake reply with all available stuff, but still not sure how to supply additional data
09:43
BAndiT1983
nevertheless, ideas are there and will start to implement it as next step, after the test of latest update
09:43
BAndiT1983
what's the latest state of the slider?
09:43
tyrone
made a simple setup and it works.
09:44
tyrone
removed modal window and add the function in the element. so you can open multiple elements in edit mode.
09:44
tyrone
elements have view and edit mode.
09:45
tyrone
animation is missing but it works :-)
09:45
BAndiT1983
is it intuitive from point of view of a user?
09:46
tyrone
can make a video. i find it simple and faster
09:48
BAndiT1983
yes, please make a video, as i don't have a setup for the test at the moment
09:48
tyrone
add also some error handling for websockets but needs also some more love.
09:50
BAndiT1983
same here, haven't started to check possible daemon crashes more thoroughly yet
09:50
tyrone
i think i said it last time it now needs a server for getting the gui data.
09:51
BAndiT1983
you mean daemon or your test server?
09:51
tyrone
when you are in vienna your target is run the daemon on the camera
09:51
tyrone
test server or a daemon that can serve the data
09:52
sabb
joined the channel
09:52
BAndiT1983
i will run it before vienna, have SSH access and live HDMI feed
09:52
tyrone
ahh okey nice :-)
09:53
sabb
left the channel
09:53
BAndiT1983
also tried to accelerate the build with ninja, which worked first couple of times and also twice as fast as make, but currently it fails
09:55
tyrone
i don't know ninja when it's better the make it's surly a good alternativ
09:57
BAndiT1983
times went down from around 55 seconds to 28
09:57
BAndiT1983
will investigate the build problem with ninja a bit later
09:58
BAndiT1983
but you web UI controls the camera just fine, tried it some weeks ago, analogand digital gains could be set without a problem, observed the output through live HDMI feed
09:59
BAndiT1983
*your
10:00
tyrone
sounds good when the webremote works :-)
10:06
tyrone
are there other task that we need to discuss?
10:08
BAndiT1983
what is on your todo list at the moment??
10:12
tyrone
make the dev server more mature for testing the commuication / error handling websocket / error handling / syncing database / some small CSS / redo searchbar to solve some bugs / add favorite list / redo the view for all command list
10:13
tyrone
ohhh and ADD more animations :-)
10:16
niemand
joined the channel
10:16
niemand
left the channel
10:16
niemand
joined the channel
10:20
BAndiT1983
animations are prio 2, in my opinion
10:20
BAndiT1983
first we needs stable base
10:20
BAndiT1983
have you tried to test with daemon yet?
10:23
tyrone
no i haven't, because for me it would be hard to debug when something goes wrong. i'm not a C/C++ coder
10:26
BAndiT1983
you don't have to worry about C++ there, as it has some output
10:26
BAndiT1983
just need someone else to test it besides me and maybe suggesting improvements for output, as it was done for debugging on the camera first
10:27
tyrone
ok.
10:28
BAndiT1983
at the bottom is the command for deactivating camera-specific functions -> https://wiki.apertus.org/index.php/Control_Daemon
10:28
tyrone
i will check it later and test it on the camera.
10:29
BAndiT1983
ok, by the way, my test was directly on the camera with lightppd
10:30
tyrone
i never done the connection to the camera bur sebastian has sent me the maual for connecting to it.... will look into it
10:31
tyrone
okey
10:32
tyrone
or do you want that i run the daemon on linux?
10:32
BAndiT1983
just ask if you have questions or problems there
10:32
BAndiT1983
you can do it both ways, for local dev on your machine or for testing purposes on the camera
10:32
BAndiT1983
but on the camera you could test if you can set gains correctly
10:33
tyrone
then camera :-)
10:34
BAndiT1983
you can also connect to the HDMI feed, but first se6astian or Bertl_zZ have to add your SSH key also on capture PC
10:34
tyrone
ok.
10:36
tyrone
btw what are the targets when you are in vienna?
10:38
BAndiT1983
to discuss next steps more in-depth and to do some development at the hub, where the actual hardware is
10:39
BAndiT1983
but also walking around in vienna, it's still my vacation
10:40
tyrone
ahh nice, at least vienna is nice, first time?
10:42
BAndiT1983
nope, second, first time was in june last year
10:42
BAndiT1983
but this time i want to spend a bit more time at the hub
10:47
tyrone
nice, on my side i'm still open for coming, need to wait till a get the plan for next week for some short term work.
10:48
BAndiT1983
hope that it works out, as direct meetings are often useful
10:50
tyrone
yes me too i like the after work drinking :-)
10:50
tyrone
when i have a update i will let you know
10:51
parimal
joined the channel
10:52
BAndiT1983
very good
10:52
BAndiT1983
hi parimal, please check the logs at irc.apertus.org, i've tried to answer your question while you were off
10:52
parimal
Ok thanks
10:53
parimal
Yes, I meant the version of Qt
10:55
parimal
I was already working with Qt 5.9 for KDE that's why I asked if I need to download 5.8 too
10:55
BAndiT1983
version is not that relevant, have done latest tests with 5.10 or 5.11
10:56
BAndiT1983
it was probably some leftover from former task description
10:57
parimal
okay
11:18
futarisIRCcloud
left the channel
11:34
tyrone
left the channel
11:49
Clive
joined the channel
11:49
BAndiT1983
changed nick to: BAndiT1983|away
12:13
tyrone
joined the channel
12:17
Bertl_zZ
changed nick to: Bertl_oO
12:30
BAndiT1983|away
changed nick to: BAndiT1983
12:53
tyrone
left the channel
13:09
BAndiT1983
changed nick to: BAndiT1983|away
13:16
tyrone
joined the channel
13:18
Koga
joined the channel
13:18
comradekingu
joined the channel
13:19
tyrone
left the channel
14:17
Clive
left the channel
14:32
parimal
left the channel
14:53
Koga
left the channel
15:10
BAndiT1983|away
changed nick to: BAndiT1983
15:35
niemand
left the channel
15:47
Koga
joined the channel
15:51
BAndiT1983
changed nick to: BAndiT1983|away
16:05
BAndiT1983|away
changed nick to: BAndiT1983
16:09
Koga
Hello
16:11
BAndiT1983
hi Koga
16:15
mrohit[m]
sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/dGlsCmruJCaLMfgPxOSmaZhB >
16:15
mrohit[m]
Actually I have read about the RAW 12 file on apertus wiki, but I couldn't completely understand what's going on behind the scenes. I still have a few questions...so if anyone could help me out here, that would be great.
16:16
BAndiT1983
mrohit[m], what do you want to know?
16:18
BAndiT1983
have you seen the image at the bottom of the article? -> https://wiki.apertus.org/index.php/RAW12
16:18
BAndiT1983
the order is described there, first row is RGRGRGRG, second row GBGBGBGB
16:19
mrohit[m]
yes I have seen it...
16:19
mrohit[m]
Why am I seeing garbage values when I print out the loaded buffer?
16:19
BAndiT1983
pixels are merged and have 12bits for the value, so they have to be split into separate 16bit values, to have the bigger range
16:19
mrohit[m]
I mean is it the way it is supposed to be?
16:19
mrohit[m]
Or am I doing something wrong that needs to be corrected?
16:19
BAndiT1983
or you can shift them right by 4 to get 8-bit values
16:20
BAndiT1983
another thing, which is possible, different endianess and you have to swap every 2 bytes
16:21
BAndiT1983
have you tried to open the RAW12 data with gimp?
16:21
mrohit[m]
No, not tried with gimp
16:21
mrohit[m]
I can try that if it helps
16:22
BAndiT1983
checking currently if it will give some proper image
16:23
mrohit[m]
Actually I need to install a RAW loader to my gimp, so I will configure that and check
16:24
BAndiT1983
still no luck with gimp, as it does not support 12bit data
16:24
BAndiT1983
you don't really need a raw loader, it is included often
16:25
BAndiT1983
you just have to switch format in open dialog from auto to raw image data, also select "show all files"
16:27
mrohit[m]
Okay, I didn't knew this.
16:27
mrohit[m]
I tried to open with gimp and seems like it's working
16:27
BAndiT1983
i would try to decode 12bit to 16bit and then try to open, also swapping bytes
16:27
mrohit[m]
Can I post a screenshot of the opened image for reference?
16:28
BAndiT1983
of course, maybe imgur
16:29
BAndiT1983
just tried raw16, it works very well in gimp
16:29
mrohit[m]
uploaded an image: image.png (483KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/uaycNZWPRrVyDbzlyolaWeyg >
16:30
BAndiT1983
first thing, resolution is not correct, it should be 4096x3072
16:31
BAndiT1983
second note, you have to select "gray unsigned 16bit little-endian" as format
16:31
BAndiT1983
this works for raw16 files, you can try the ones from wiki -> http://vserver.13thfloor.at/Stuff/AXIOM/ALPHA/RAW/
16:32
BAndiT1983
if you convert to 8bit or 16bit from raw12, then you should also be able to open the data in gimp in the same way or if it still gives problem, then big-endian
16:34
niemand
joined the channel
16:35
BAndiT1983
tried with IT8-chart-15ms.raw12 from here -> http://files.apertus.org/AXIOM-Beta/snapshots/
16:35
Bertl_oO
why not simply use ImageMagick to convert it to whatever you can easily display/read?
16:35
BAndiT1983
the image is a bit recognizable in the preview window, you can see the outlines of a chart
16:36
mrohit[m]
uploaded an image: image.png (1056KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/srtMKrzUtGCHuyzhjByikWzc >
16:36
BAndiT1983
Bertl_oO, as the task is to process it by C++
16:36
BAndiT1983
i recognize this raw12 image
16:37
Bertl_oO
thought you were trying to open it with gimp ...
16:37
BAndiT1983
to check the content
16:38
BAndiT1983
why should i use terminal and search for the commands, if i have some UI?
16:38
mrohit[m]
I changed the resolution, now the image seems a bit clear. Is it the image that we are looking for?
16:39
BAndiT1983
outlines of the image are recognizable, it should show a guy in front of the shelf with different stuff on it
16:40
mrohit[m]
Okay, so it does work in gimp. But I wanted to know it in terms of values that are stored inside the file. So I tried opening the RAW12 file with a text editor and seem to see lots of rows with 8 columns of hexadecimal values
16:41
BAndiT1983
like the image in the wiki shows, first 3 bytes contain 2 sensels (pixels)
16:41
BAndiT1983
12 * 2 = 24 / 8 = 3bytes
16:41
BAndiT1983
you have to split this 3 bytes into 2 values, either 16bit or 8bit, at least to see if the content is correct
16:43
vup2
main thing wrong with the gimp import is that you used RGB instead of grayscale i think
16:44
BAndiT1983
vup2, in this case it's okay, as grayscale is not showing some meaningful image, but RGB allows to see at least some approximation
16:45
vup2
i mean with grayscale it
16:45
vup2
should be a lot clearer what is actually contained in the image
16:45
BAndiT1983
i would even try rgb565, as it show a bit more details
16:45
BAndiT1983
not really, as gimp relies on 8bit grayscale or 16bit
16:46
vup2
oh they don't have 12bit
16:46
vup2
then that makes sense
16:46
BAndiT1983
rgb modes show more details, grayscale is almost only noise
16:46
mrohit[m]
yes, I tried with grayscale as well as RGB, RGB seems less noisy
16:46
BAndiT1983
waas also under impression that gimp would have 12bit mode, but no luck
16:46
BAndiT1983
try rgb565
16:47
BAndiT1983
doesn't really matter if big or little endian
16:48
se6astian
changed nick to: se6astian|away
16:49
mrohit[m]
tried rgb565, seems reasonably clear
16:50
BAndiT1983
but it's just a bare preview and not correct
16:51
BAndiT1983
try to convert the data through C++ and to load again
16:52
BAndiT1983
the image should look like this at the end (thanks to anuejn) -> https://github.com/anuejn/batic
16:54
mrohit[m]
okay...I will try through C++ once.
16:56
mrohit[m]
Thank you, this discussion helped me to clear out the clutter
16:56
BAndiT1983
no problem, just ask if you have questions
17:07
salay
joined the channel
17:08
salay
left the channel
17:10
salay
joined the channel
17:13
salay
left the channel
17:17
Koga
left the channel
18:12
niemand
left the channel
18:28
BAndiT1983
changed nick to: BAndiT1983|away
18:50
se6astian|away
changed nick to: se6astian
19:00
Bertl_oO
changed nick to: Bertl_zZ
19:18
RexOrCine|away
changed nick to: RexOrCine
20:14
johnathan
joined the channel
20:54
se6astian
off to bed
20:54
se6astian
good night
20:54
se6astian
changed nick to: se6astian|away
20:58
johnathan
left the channel
21:08
BAndiT1983|away
changed nick to: BAndiT1983
21:43
futarisIRCcloud
joined the channel
21:48
Cyna
left the channel
21:59
BAndiT1983
changed nick to: BAndiT1983|away
22:04
supragya_
left the channel
22:04
supragya
joined the channel
22:39
XDjackieXD_
joined the channel
22:40
uberardy_
joined the channel
22:40
flesk__
joined the channel
22:46
aombk3
left the channel
22:46
XDjackieXD
left the channel
22:46
rahul_
left the channel
22:46
flesk_
left the channel
22:46
uberardy
left the channel
22:46
_florent_
left the channel
22:46
Guest27507
left the channel