Current Server Time: 23:36 (Central Europe)

#apertus IRC Channel Logs

2019/02/16

Timezone: UTC


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