Current Server Time: 19:43 (Central Europe)

#apertus IRC Channel Logs

2017/03/30

Timezone: UTC


02:28
xeechou
changed nick to: xeechou|afk
03:13
arpu
left the channel
03:29
arpu
joined the channel
03:38
Spirit532_
left the channel
04:32
jucar
left the channel
04:33
jucar
joined the channel
04:46
intracube
changed nick to: intracube_afk
04:58
jucar
left the channel
05:52
Bertl_oO
off to bed now ... have a good one everyone!
05:52
Bertl_oO
changed nick to: Bertl_zZ
06:11
RexOrCine
joined the channel
06:15
RL
left the channel
07:22
Spirit532
joined the channel
07:25
tusle
left the channel
07:54
se6astian|away
changed nick to: se6astian
08:10
usmankhan
joined the channel
08:13
se6astian
good morning
08:13
usmankhan
left the channel
08:47
pusle
joined the channel
09:02
Bertl_zZ
changed nick to: Bertl
09:03
Bertl
morning folks!
09:08
niemand
joined the channel
09:08
niemand
left the channel
09:08
niemand
joined the channel
09:59
mithro
se6astian: morning
09:59
mithro
hey Bertl
10:05
se6astian
hi!
10:14
Bertl
hey mithro! how's going?
10:16
niemand
left the channel
10:24
derWalter
left the channel
10:24
se6astian[m]
left the channel
10:24
MatrixTraveler[m
left the channel
10:24
RexOrCine[m]
left the channel
10:26
derWalter
joined the channel
10:28
RexOrCine[m]
joined the channel
10:41
MatrixTraveler[m
joined the channel
10:46
se6astian[m]
joined the channel
10:55
niemand
joined the channel
11:56
niemand
left the channel
12:39
niemand
joined the channel
12:55
niemand
left the channel
13:19
sagnikbasu95
joined the channel
13:20
sagnikbasu95
Hi Bertl..
13:21
Bertl
hey sagnikbasu95! how's going?
13:25
sagnikbasu95
everything's gr8..just finished our mid-term exams.. so for the sobel filter project...how will it be if there is a top module where all the other module will be instantiated ? this top module will be like a FSM-D structure i.e. based on the input signals received from the user or fpga and the current state..it wll take the appropriate actions
13:26
sagnikbasu95
Like how many rows and coloumns the kernel will have
13:26
Bertl
for testing and similar your testbench will be the top module
13:27
Bertl
for actual use of the filter, the filter will be instantiated in the top module of the camera firmware
13:32
sagnikbasu95
ok..so during the GSoC project..will I be allowed to use to make changes in the camera firmware according to the HDL modules..or I will be only restricted to HDL coding only?
13:33
Bertl
the camera firmware is open source as well, so for sure you can use that and make changes accordingly
13:34
Bertl
we will also provide at least remote access to an AXIOM Beta so you can test the filter on real hardware
14:54
sagnikbasu95
left the channel
15:16
niemand
joined the channel
15:16
niemand
left the channel
15:16
niemand
joined the channel
15:19
jucar
joined the channel
15:26
Bertl
off for a nap ... bbl
15:26
Bertl
changed nick to: Bertl_zZ
15:37
se6astian
gotta go
15:38
se6astian
changed nick to: se6astian|away
15:42
niemand
left the channel
15:50
jucar
left the channel
16:27
se6astian|away
changed nick to: se6astian
17:13
Tanos
joined the channel
17:15
niemand
joined the channel
17:15
niemand
left the channel
17:15
niemand
joined the channel
17:43
Tanos
left the channel
18:09
MichaelH
joined the channel
18:18
intracube_afk
changed nick to: intracube
18:42
Roopal08
joined the channel
18:43
Roopal08
Hey <BAndiT1983>, need to confirm where i m interpreting things in a correct manner or not . I will tell you what i tried .
18:44
Roopal08
In file ProcessingPresenter.cpp , when i commented SHOODAKDebayer* debayer = new SHOODAKDebayer(*_image.get()); debayer->Process(); OC_LOG_INFO("Demosaicing finished");
18:46
Roopal08
and try to view the image , https://drive.google.com/file/d/0B0Xb3WJpS5dFcWhQX2YxM2d1dnc/view?usp=sharing I get this image.
18:47
Roopal08
I should have green and blue components too , which are not coming. So i guess there is some issue in provider->load
18:48
Roopal08
even if i dont comment shoodakdebayer and then try some combinations in BilinearDebayer.h
18:49
Roopal08
in lines redChannel = static_cast<unsigned short*>(image.RedChannel()); greenChannel = static_cast<unsigned short*>(image.GreenChannel()); blueChannel = static_cast<unsigned short*>(image.BlueChannel());
18:52
Roopal08
so by sending redChannel = static_cast<unsigned short*>(image.GreenChannel()); greenChannel = static_cast<unsigned short*>(image.GreenChannel()); blueChannel = static_cast<unsigned short*>(image.GreenChannel());
18:52
Roopal08
I am getting https://drive.google.com/file/d/0B0Xb3WJpS5dFcWhQX2YxM2d1dnc/view?usp=sharing
18:53
Roopal08
this image . And when I try redChannel = static_cast<unsigned short*>(image.BlueChannel()); greenChannel = static_cast<unsigned short*>(image.GreenChannel()); blueChannel = static_cast<unsigned short*>(image.RedChannel());
18:54
Roopal08
I dont get any imge displayed . I should get something right, R and B should behave same way.
18:55
BAndiT1983
joined the channel
18:56
BAndiT1983
Roopal08: have you checked while debugging how the memory at the location of green and blue looks like?
18:56
Roopal08
I have checked what pattern is coming - its 21122112
18:56
Roopal08
its GBRG
18:57
BAndiT1983
usually you can see what the loaders sets, all the infos are there, also pattern
18:58
Roopal08
I tried to see that info on matlab
18:58
BAndiT1983
try to press the button,s there was some small bug so the combinations were not alway working
18:58
BAndiT1983
why matlab?
18:59
BAndiT1983
the loader works as i'M using the same thinng in ocbackup, no need to verify something that is working
18:59
Roopal08
I am very much comfortable on it , so was trying to see basic info on it
18:59
BAndiT1983
https://lab.apertus.org/F1755
18:59
mithro
left the channel
18:59
BAndiT1983
this is actual use of the modules
19:00
BAndiT1983
so the loading works, but maybe there is something deactivated in processingtest, didn't have time for that, my daily job requires more time currently
19:00
Roopal08
I will do that , if i get a rough idea where to look into
19:01
BAndiT1983
just stop the debugger after arrays were filled, line 64 in processingpresenter
19:01
BAndiT1983
then take a look at the memory
19:02
BAndiT1983
i can check it tomorrow as other aperus things need my attention today
19:02
Roopal08
and i have one more doubt . In ProcessingPresenter.cpp .
19:02
Roopal08
Instead of interleavedArray[i * 3] = (redArray[i] >> 4) * 1.0 ; interleavedArray[(i * 3) + 1] = (greenArray[i] >> 4) * 1.0; interleavedArray[(i * 3) + 2] = (blueArray[i] >> 4) * 1.0;
19:02
Roopal08
I use interleavedArray[i * 3] = 0; interleavedArray[(i * 3) + 1] = 0; interleavedArray[(i * 3) + 2] = 0;
19:03
Roopal08
there is no effect on displayed image .
19:03
Roopal08
which means it is displaying before _view->SetThumbnail(_image->Width(), _image->Height(), interleavedArray);
19:04
BAndiT1983
this is processing image for Qt control, image should be shown 2 times, opengl and qt one, so you have to take a look on the setframe, line 52
19:05
Roopal08
Okay .
19:05
BAndiT1983
it should look similar to this -> https://lab.apertus.org/F1511
19:06
BAndiT1983
other image is broken somehow, this one should work -> https://lab.apertus.org/F1511
19:06
BAndiT1983
sorry, wrong link, now -> https://lab.apertus.org/F1512
19:07
BAndiT1983
top one shown through opengl shader with 12 or 16bit per channel if i rememebr correctly, bottom one converted to 8 bit for qt control
19:08
Roopal08
my exceutable file looks like https://drive.google.com/file/d/0B0Xb3WJpS5dFbmE1cDZRT2l0eGs/view?usp=sharing
19:08
Roopal08
and the area below one is for vedio right ?
19:09
BAndiT1983
have you tried to press buttons at the bottom several times and different combinations?
19:09
Roopal08
yeah . I tried those RGB buttons
19:10
Roopal08
and play puse button worked for vedio
19:10
BAndiT1983
they usually work, as the image is showing then take a look in processingview.cpp where it'S prepared for displaying
19:10
BAndiT1983
video is not included in processingtest, as it was added much later
19:11
BAndiT1983
playback controls were only adde for theme tests, actually working ones are in ocbackup
19:11
Roopal08
I gave a .mov file . added a path for it where it was needed and i could see the vedio running properly
19:11
Roopal08
and buttons also worked for it
19:11
BAndiT1983
in processingtest?
19:13
Roopal08
No , while excecuting it was saying it is not able to get media . and it was searching /media/andi/... i have a folder in mine to and added .mov there
19:14
BAndiT1983
of course it said that, as i have created an ISO file with video files for testing and the path was hardcoded for now
19:14
Roopal08
Yeah .
19:15
BAndiT1983
was jsut wondering about buttons, but i think that it works as i added them to the control in the OCui module, but i'M wondering about the video
19:15
Roopal08
play , pause , go to extreme start were working for vedio
19:15
Roopal08
those i checked properly
19:16
se6astian
changed nick to: se6astian|away
19:16
BAndiT1983
alright, will check it tomorrow, as i was only working on ocbackup lately
19:16
Roopal08
okay . So where should i start debugging now ?
19:17
BAndiT1983
at setframe, line 52 in processing presenter
19:17
BAndiT1983
data should be a available at that point
19:17
BAndiT1983
setframe tells view which image to display
19:19
BAndiT1983
in processingview is paintevent() used for drawing the frame
19:20
BAndiT1983
which graphics card do you have?
19:21
MichaelH
left the channel
19:26
Roopal08
I have Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
19:28
BAndiT1983
hm, you should ensure which opengl version is supported
19:28
BAndiT1983
try glxinfo | grep OpenGL
19:29
BAndiT1983
it could be that other channels are not loaded because of problems with driver or unsupported extensions
19:30
Roopal08
OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile OpenGL core profile version string: 3.3 (Core Profile) Mesa 12.0.6 OpenGL core profile shading language version string: 3.30 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.0 Mesa 12.0.6 OpenGL shading language version stri
19:30
BAndiT1983
another location is ProcessingTest/Controls/PreviewPane.cpp
19:30
BAndiT1983
opengl 3.3 should be sufficient
19:31
BAndiT1983
preview pane initializes opengl and setups textures and so on, not very clean, but for tests it was sufficient
19:32
Roopal08
yeah , Saw that .
19:46
Roopal08
I was even working on my proposal for GSOC . So while making my timeline , I have few doubts .
19:47
Roopal08
As in what exactly is expected . I have to implement SHOODAK , and other algorithms on de-Bayering
19:48
BAndiT1983
generally yes, it's also about acceleration through gpu shader or opencl or arrayfire
19:49
Roopal08
demosaicing and possibly color-grading - multi-threaded solution for it too on OpenMP
19:50
BAndiT1983
color-grading is not important at the moment, but if there is some time left it could be a sub-task
19:50
Roopal08
Okay.
19:51
Roopal08
Will finish up the inital draft of proposal by tomorrow , and share it with you for reviewing.
19:55
BAndiT1983
okay, will look at it on weekend
20:00
Roopal08
cool
20:16
Roopal08
left the channel
20:17
BAndiT1983
left the channel
20:18
se6astian|away
changed nick to: se6astian
20:55
mithro
joined the channel
21:06
Bertl_zZ
changed nick to: Bertl
21:06
Bertl
back now ...
22:01
niemand
left the channel
22:19
se6astian
off to bed
22:19
se6astian
good night
22:19
se6astian
changed nick to: se6astian|away
22:19
Bertl
nn