Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 26 16:54
    murumura starred boostorg/gil
  • Nov 26 04:41
    dilawar starred boostorg/gil
  • Nov 16 23:40
    fytzzh starred boostorg/gil
  • Nov 15 13:48
  • Nov 15 12:38
    italy starred boostorg/gil
  • Nov 10 18:09

    mclow on boost-1.78.0.beta1

    (compare)

  • Nov 10 17:22

    github-actions[bot] on gh-pages

    deploy: 0b24f4cdbf430430b543050… (compare)

  • Nov 10 17:21
    mloskot commented #628
  • Nov 10 17:21
    mloskot closed #436
  • Nov 10 17:21
    mloskot closed #628
  • Nov 10 17:21

    mloskot on develop

    Ensure all examples build witho… (compare)

  • Nov 10 17:20
    mloskot edited #628
  • Nov 10 17:19
    mloskot labeled #628
  • Nov 10 16:26
    yogsothoth ready_for_review #628
  • Nov 10 16:25
    yogsothoth commented #628
  • Nov 10 15:59
    yogsothoth synchronize #628
  • Nov 10 09:04
    yogsothoth commented #628
  • Nov 10 09:00
    yogsothoth synchronize #628
  • Nov 09 12:48
    yogsothoth edited #628
  • Nov 09 12:48
    yogsothoth edited #628
Mateusz Łoskot
@mloskot
Insights from any investigation into that will be helpful to document it better
In GIL, I miss ability for old-school printf-like debugging :-)
I think it would be helpful for complex algorithms to be able to run it and monitor intermediate results
This simple technique proved to be powerful for Boost Geometry where it can be enabled with BOOST_GEOMETRY_DEBUG* macros (e.g. BOOST_GEOMETRY_DEBUG_TURNS)
Pranam Lashkari
@lpranam
do you have any idea to move forward in that direction?
Mateusz Łoskot
@mloskot
I imagine hex dump of intermediate results (e.g. the buffer line) during various steps of convolution/correlation for different supported options would be helpful to gain insight about what it does for variety of data inputs, and to verify it does what we expect
Yes, this idea I keep on my back burner, but it's not hight priority
Pranam Lashkari
@lpranam
I'd work on it
Mateusz Łoskot
@mloskot
First, I'd like to get the PNM (ascii) format implemented and moved as built-in format. This would already be an improvement allowing you to dump any image_view in human-friendly form (text)
e.g. view before and after
Plain text is very handy as as device or image viewer independent way of visualising data :)
:point_up: September 18, 2019 7:25 PM
Great, we can collaborate on some prototype.
Something simple, not too overengineered, hidden (not in public namespace), compile-time controlled.
Obviously, such approach has one major disadvantage: a bit of code bloat (i.e. #ifdef, part constructing image_view for intermediate result, dumping it, etc.)
but I personally see more advantages leading to decreased time of debugging bugs
Mateusz Łoskot
@mloskot
I have to run
Pranam Lashkari
@lpranam

Obviously, such approach has one major disadvantage: a bit of code bloat (i.e. #ifdef, part constructing image_view for intermediate result, dumping it, etc.)
but I personally see more advantages leading to decreased time of debugging bugs

simplest things are most elegant sometimes.

But for now, I want to complete the boundary options problem with extend_boundary because I want to use it in 2D Convolution and correlation. Tell me when you get an idea about it
Mateusz Łoskot
@mloskot
An idea about what?
Pranam Lashkari
@lpranam
How each option shoud behave in extend_boundary
Mateusz Łoskot
@mloskot
I think the idea is very close if not equivalent to extend_padded
Mateusz Łoskot
@mloskot

@lpranam I won't be able to say anything sensible before I have clear understanding of all those options myself.
Before I'm clear how each of them affect application of 3x3 X-s kernel in the first pixel position like here

X X X
X Y Y Y Y Y Y
X Y Y Y Y Y Y
  Y Y Y Y Y Y
  Y Y Y Y Y Y
  Y Y Y Y Y Y

This needs a proper documentation, visual, with images or ascii art at least.

@lpranam By the way, OpenCV also uses the same 'border' constants for both, convolution and border construction.
This obviously is a good idea since such border addition, replication etc. is a preparatory step prior convolution
or it is an operation on its own, both doing the very same thing.
Mateusz Łoskot
@mloskot
@lpranam I'd love to get all this investigated and clarified but I won't be able to do anything before some time next week or weekend.
MIRAL SHAH
@miralshah365
I was working on median filter and now I am a bit confused which is the most efficient way to find the median is there any existing function for that? I wanted to use nth_element but it doesn't preserve the original sequence.
Olzhas Zhumabek
@simmplecoder
@miralshah365 there is no better way than copy + nth element as far as I know
since the window is usually small, you might try to just as well sort it then select center index
MIRAL SHAH
@miralshah365
can anyone have a look at #393 I can't figure out what's wrong? It must be something easy and in front of me, that's why somehow it is getting ignored by me.
Mateusz Łoskot
@mloskot
@miralshah365 I'm sorry, I'm a bit busy this week and only worked out emergency fix for our master brach. I will do my best to look at your PR over the weekend.
Olzhas Zhumabek
@simmplecoder
@miralshah365 , I can try, will be ready at 9:30 PM GMT+6, roughly in 1.5 hours
Pranam Lashkari
@lpranam
Why does any Boost repository is not using Github sponsor button yet?
Mateusz Łoskot
@mloskot
@lpranam I have no idea. I think the question fits the Boost dev mailing list better
Mateusz Łoskot
@mloskot
@lpranam Ha, I've just realised I'm not entirely clear what the button is about. Would you have any link to share?
@stefanseefeld & others interested This is a heads up that I'm going to merge #394 soon
Pranam Lashkari
@lpranam
https://github.com/sponsors
I just realised it is in beta still.
Mateusz Łoskot
@mloskot
I see. Possibly, this may need to be synchronised via boostorg/, I'm not sure. Worth discussing on boost@lists.boost.org anyway
Pranam Lashkari
@lpranam
yes boostorg will need to apply for the feature as it is still in beta
MIRAL SHAH
@miralshah365
@simmplecoder did you see the problem?
Olzhas Zhumabek
@simmplecoder
@miralshah365, I had a look at it, but the functions you used are unknown to mee, and there were quite a lot of template layers
central heating didn't start in my city yet. If you'll leave a cup of water for a few hours, it will become ice. Indoors
Mateusz Łoskot
@mloskot
@miralshah365 I'm sorry for delay with review of #393. I will be looking at it tonight. Please, feel free to nudge me with reminder (busy time!)
Olzhas Zhumabek
@simmplecoder
I believe there is something about boost.build being broken or something, because previously passed test broke: https://ci.appveyor.com/project/stefanseefeld/gil/builds/27800440/job/dbkwlhvk3h1fhn2f and the jamfile expects failure. I'll check out the Boost.Build mailing list to see if the issue is already reported
Olzhas Zhumabek
@simmplecoder
nothing noticeable
Olzhas Zhumabek
@simmplecoder
I force pushed noop ammend. Not the best idea, but perhaps this time it will work
Olzhas Zhumabek
@simmplecoder
hm, it breaks on my machine too. Weird
Olzhas Zhumabek
@simmplecoder
passes after re-running bootstrap.sh
@miralshah365 , could you please try running b2 libs/gil/test/core/point/ from a windows machine? I currently don't have a compiler on a windows machine
I'll try to download it tomorrow in university
Mateusz Łoskot
@mloskot
Depending on your state of the Boost superproject clone, bootstrap.sh re-run may be necessary indeed.
e.g.
cd boost-root
~/wsl-config/scripts/boost-superproject-start-over.sh develop
~/wsl-config/scripts/boost-bootstrap-gil.sh