Current Server Time: 16:13 (Central Europe)

#apertus IRC Channel Logs

2019/02/16

Timezone: UTC


01:40
aombk2
joined the channel
01:44
aombk3
left the channel
04:03
RexOrCine
changed nick to: RexOrCine|away
04:07
jaswanth_rongali
left the channel
04:36
Alpha
joined the channel
04:36
Alpha
Hi!
04:41
Alpha
Hi! I was interested in GSOC 2019, T763 opencine project. I had some trivial questions regarding the T872 C/C++ Challenge. I would be glad if somebody is willing to help me out.
04:43
Alpha
I opened the raw12 file in buffer (c++) and seperated the 4 channels then print it. It seems it print garbage value/unreadable characters.
04:44
Alpha
If I convert the characters to integer, it print values which are greater than 255. The values should be between 0-255 right?
04:45
Alpha
Maybe I didn't properly converted it into 8-bits.
04:46
Alpha
To get 8-bits from 12-bits of each channel, should I chop-off the 4 least significant bit or most significant bit?
04:46
Alpha
Thank you.
05:48
Alpha
left the channel
05:48
Alpha
joined the channel
05:48
Alpha
left the channel
06:13
BAndiT1983|away
changed nick to: BAndiT1983
06:14
BAndiT1983
hi rohan_ and Alpha, please take a look at the image in our wiki -> https://wiki.apertus.org/index.php/RAW12
06:16
BAndiT1983
you have to split the sensel data, which is greater than 255 (8bit), as it is 12bit (4096), then you can convert it by removing LSB (least significant bits)
06:17
BAndiT1983
also endianess is important, if the final data is garbage, then it's probably has to be swapped
06:34
alexML
you could also convert with a nonlinear curve - the end result will look nicer that way
06:34
alexML
(this could fit into "Additional points")
06:57
Bertl_zZ
changed nick to: Bertl
06:57
Bertl
morning folks!
07:00
BAndiT1983
changed nick to: BAndiT1983|away
07:24
Alpha
joined the channel
07:24
Alpha
@BAndiT1983 and @alexML Thanks a lot.
07:25
Alpha
@Bertl Good morning.
07:25
Alpha
@alexML What do you mean by convert with a non-linear curve?
07:27
Alpha
@BAndiT1983 as for the endianess, should I swap each binary bits (reverse it) or only the MSB and LSB (where rest remain unchanged).
07:27
Alpha
Thank you.
07:27
Alpha
left the channel
07:28
Alpha
joined the channel
07:49
Bertl
off for now ... bbl
07:49
Bertl
changed nick to: Bertl_oO
07:59
rohan_
joined the channel
08:01
rohan_
@BAndiT1983 Thanks! Understood
08:03
rohan_
@alexML Ya, I was thinking about the ways it could be scaled down, which would make the image more accurate.
08:04
rohan_
Will try this approach too!
08:08
rohan_
left the channel
08:08
Alpha
left the channel
08:57
BAndiT1983|away
changed nick to: BAndiT1983
08:58
BAndiT1983
Alpha, you have to rotate bytes of course, 16bit or 32bit have to be rotated accordingly, as they require different approaches
09:04
se6astian|away
changed nick to: se6astian
09:09
BAndiT1983
https://i.stack.imgur.com/uB92m.png
10:26
BAndiT1983
changed nick to: BAndiT1983|away
10:29
supragyaraj
joined the channel
10:37
supragyaraj
left the channel
10:40
supragya_vpn
joined the channel
11:11
BAndiT1983|away
changed nick to: BAndiT1983
11:18
supragya_vpn
hello BAndiT1983
11:18
supragya_vpn
I have seen quite a few students trying C++ challenge
11:19
supragya_vpn
:P
11:22
BAndiT1983
hi supragya_vpn
11:23
BAndiT1983
yep, will be a bigger job to check all the entries, if so many will be committed
11:23
supragya_vpn
there are already 5-8 students for frameserver
11:23
supragya_vpn
:P
11:23
BAndiT1983
am currently at the hub ;) there are 3 of us working together on different topics
11:23
supragya_vpn
o.0
11:28
siddhantsahu
Hi supragya_vpn BAndiT1983
11:29
siddhantsahu
I am getting this issue of OpenCL when building the master branch of OpenCine
11:32
BAndiT1983
hi siddhantsahu, if it's a bigger log, then please copy to pastebin
11:36
siddhantsahu
https://www.irccloud.com/pastebin/6WIJdbBa/
11:38
BAndiT1983
you have to install OCL module for your system, which linux do you use?
11:38
siddhantsahu
I ran ./env_setup.sh and have all dependencies installed
11:38
BAndiT1983
interesting, supragya_vpn your turn, as you have implemented this
11:38
siddhantsahu
Ubuntu 16.04 LTS
11:38
BAndiT1983
;)
11:45
supragya_vpn
hmm
11:45
supragya_vpn
its cmake error
11:46
supragya_vpn
the env_setup thingy is for insstalling deps
11:46
supragya_vpn
the cmake is called from a wrong pwd i guess
11:47
siddhantsahu
I called "cmake" from within the "build" directory
11:48
supragya_vpn
can you post your exact command?
11:49
siddhantsahu
cmake -DCMAKE_PREFIX_PATH=$HOME/Qt/5.12.1/gcc_64/lib/cmake/ ../
11:49
supragya_vpn
hmm weird
11:49
supragya_vpn
that should work
11:50
siddhantsahu
I also have OpenCL installed by running "sudo apt install ocl-icd-opencl-dev"
11:51
siddhantsahu
I can also locate the libOpenCL.so at /usr/lib/x86_64-linux-gnu/libOpenCL.so
11:51
supragya_vpn
what do you get if you ls ../
11:53
BAndiT1983
you don't need this slash at the end
11:53
siddhantsahu
A "bin" directory and CmakeListCache and the MakeFile
11:56
supragya_vpn
idk if that is right
11:56
supragya_vpn
doesn't seem right
11:57
BAndiT1983
remove slash
11:57
supragya_vpn
https://www.youtube.com/watch?time_continue=9&v=Rpq_ItPHFx8 in case you dont already know this
11:58
siddhantsahu
Yes I have watched this video and followed the instructions but still doesn't seem to build for me
11:58
rohan_
joined the channel
11:58
siddhantsahu
Also tried to build using Qt, get the same CMake errors of OpenCL
11:59
supragya_vpn
hello rohan_
11:59
rohan_
hi supragya_vpn
11:59
supragya_vpn
seems like very openCL related issue yes
12:00
siddhantsahu
This guy gets the same error as me https://www.bountysource.com/issues/49541024-links-to-target-opencl-opencl-but-the-target-was-not-found
12:00
siddhantsahu
Says to upgrade the CMake version
12:01
supragya_vpn
is clinfo returning garbage?
12:01
siddhantsahu
I am using CMake version 3.5.1
12:01
supragya_vpn
https://askubuntu.com/questions/850281/opencl-on-ubuntu-16-04-intel-sandy-bridge-cpu
12:02
supragya_vpn
oh so... that's distribution issue with u... not much help here unfortunately on that end
12:02
supragya_vpn
try a clean installation if you can
12:03
siddhantsahu
Yes OpenCL is configured properly on my machine
12:03
supragya_vpn
off for a meeting... bbl
12:04
rohan_
I had a question:- the raw12 file at <http://files.apertus.org/AXIOM-Beta/snapshots/portraits/portrait-gainx2-offset2047-20ms-02.raw12> has a size of 1,88,74,624 bytes. But the file should have a size of 4096 x 3072 x 12 = 15,09,94,944 bits =1,88,74,368 bytes.
12:05
rohan_
why is there a small excess of memory?
12:05
Bertl_oO
the register set is added at the end of the raw image (with the -r option)
12:06
Bertl_oO
this is 128 sensor registers with 16bit each
12:07
rohan_
got it! Thanks Bertl_oO
12:07
supragya_vpn
left the channel
12:08
Bertl_oO
you're welcome!
12:11
rohan_
left the channel
12:16
BAndiT1983
changed nick to: BAndiT1983|away
13:01
BAndiT1983|away
changed nick to: BAndiT1983
13:51
Dev
joined the channel
13:53
Dev
Hello all ! , i was also getting errors while rebuilding OC , but these are Cmake issues -> https://pastebin.com/K7gyQLQr
13:55
siddhantsahu
Dev: I think these are just warnings
13:56
siddhantsahu
Try running make -j4 after this it should work fine
14:00
Dev
okay let me see
14:00
Dev
thanks
14:01
Dev
last time i built OC , it was also giving opencl error ,
14:01
Dev
i remeber , i solved it with some commands
14:01
siddhantsahu
Dev: Even I am getting OpenCL error
14:02
siddhantsahu
This error in particular https://www.irccloud.com/pastebin/6WIJdbBa/
14:04
Dev
https://askubuntu.com/questions/850281/opencl-on-ubuntu-16-04-intel-sandy-bridge-cpu , have u tried basic installation command
14:08
Dev
left the channel
14:10
Dev
joined the channel
14:11
Dev
Finally , built it , thanks sindhantsahu ,
14:11
siddhantsahu
Dev: Yes I ran the basic installation, still doesn't build for me.
14:12
Dev
They were just warning really :D
14:12
siddhantsahu
Great! It successfully build for you.
14:12
siddhantsahu
I am still getting those OpenCL errors.
14:15
Dev_
joined the channel
14:16
Dev_
I will tell u if I got something relevant , sindhantsahu
14:16
Dev_
To opencl
14:16
Dev
left the channel
14:20
Dev_
left the channel
14:55
aombk3
joined the channel
14:56
Y_G
joined the channel
14:57
Y_G
Hi,Regarding the C/C++ task for GSOC'19 ,to convert 12 bit pixels to 8 bit,can we just ignore the lsb's?
14:59
aombk2
left the channel
15:05
Y_G
sorry,Just read the logs now,Got the answer
15:56
BAndiT1983
@all who tries to build OC, no problem to build it under ubuntu 18.10, installed QT, executed cmake command line from wiki (system-dependent adjustments applied)
15:56
BAndiT1983
used Qt version 5.12.1
15:57
BAndiT1983
only opencl-headers package was missing on the system to find cl/cl.hpp, other than that no further errors occurred
15:58
siddhantsahu
BAndiT1983: Yes I am getting this opencl headers missing error
15:58
siddhantsahu
How to fix it?
15:58
BAndiT1983
install opencl-headers package
15:59
siddhantsahu
Ok let me try once again
16:24
Y_G
left the channel
17:14
Y_G
joined the channel
17:22
Y_G
left the channel
17:59
se6astian
changed nick to: se6astian|away
18:15
BAndiT1983
changed nick to: BAndiT1983|away
18:44
se6astian|away
changed nick to: se6astian
18:56
BAndiT1983|away
changed nick to: BAndiT1983
19:40
BAndiT1983
changed nick to: BAndiT1983|away
19:56
BAndiT1983|away
changed nick to: BAndiT1983
20:23
niemand
left the channel
21:06
Cyna_
left the channel
21:25
RexOrCine|away
changed nick to: RexOrCine
21:56
se6astian
changed nick to: se6astian|away
22:09
BAndiT1983
changed nick to: BAndiT1983|away