Recent

Author Topic: water filling simulation  (Read 479 times)

ADMGNS

  • Jr. Member
  • **
  • Posts: 64
  • keep it simple and smart
water filling simulation
« on: June 06, 2026, 09:54:50 pm »
hello all,

i'm trying to understand and implement of water filling algorithm, but my logic locked to a short-circuit state.

i think, i need some help ;)

thanks

ps: related topic: watershed algorithm
pls see https://ar5iv.labs.arxiv.org/html/1611.08303

Dzandaa

  • Hero Member
  • *****
  • Posts: 557
  • From C# to Lazarus
Re: water filling simulation
« Reply #1 on: June 09, 2026, 11:28:39 am »
Hi
@ADMGNS:

Look at Paulo Schuler CAI

https://github.com/joaopauloschuler/neural-api

There is a CNN Unit.

What you want is a "Fill algorithm" Limited horizontally by th y position on th mouse click ?

B->
Regards,
Dzandaa

Dzandaa

  • Hero Member
  • *****
  • Posts: 557
  • From C# to Lazarus
Re: water filling simulation
« Reply #2 on: June 09, 2026, 12:35:32 pm »
@ADMGNS:

Like this?


I'm using BGRABitmap for Graphics programs.

B->


Regards,
Dzandaa

ADMGNS

  • Jr. Member
  • **
  • Posts: 64
  • keep it simple and smart
Re: water filling simulation
« Reply #3 on: June 09, 2026, 06:41:16 pm »
hello Dzandaa

firstly.. thanks for your reply and suggests..

actually, not exactly like that.. pls see attachment

thanks

Dzandaa

  • Hero Member
  • *****
  • Posts: 557
  • From C# to Lazarus
Re: water filling simulation
« Reply #4 on: June 09, 2026, 06:53:35 pm »
Hi,

@ADMGNS:

O.K., now I understand.

Ask Joao-Paulo Schuler,
https://forum.lazarus.freepascal.org/index.php/topic,39049.0.html

He is Specialist in CNN :).

B->
Regards,
Dzandaa

 

TinyPortal © 2005-2018