NO

Author Topic: Convolution Filters Editor  (Read 2465 times)

Offline John Z

  • Member
  • *
  • Posts: 404
Re: Convolution Filters Editor
« Reply #30 on: October 25, 2021, 12:09:36 pm »
Wow - how about this one?  Very cool accident  :)
My photo by the way.....

John Z
« Last Edit: October 25, 2021, 12:45:53 pm by John Z »

Offline Grincheux

  • Member
  • *
  • Posts: 365
  • Never be pleased, always improve
    • Arachne
Re: Convolution Filters Editor
« Reply #31 on: October 25, 2021, 02:46:05 pm »
You make 3D Image!
-------------------------
Kenavo / Bye

What disturbs me the most is not dying but not knowing what I will do after.

Offline Grincheux

  • Member
  • *
  • Posts: 365
  • Never be pleased, always improve
    • Arachne
Re: Convolution Filters Editor
« Reply #32 on: October 25, 2021, 06:46:21 pm »
New update.
Added the famous "O P E N" button.
Corrected some bugs signaled by JohnZ
Updated SQLite
Next thing to do: Add tooltips, before JohnZ tells me to do it!


See you later the Ghosts
-------------------------
Kenavo / Bye

What disturbs me the most is not dying but not knowing what I will do after.

Offline Grincheux

  • Member
  • *
  • Posts: 365
  • Never be pleased, always improve
    • Arachne
Re: Convolution Filters Editor
« Reply #33 on: October 28, 2021, 10:32:28 am »
Replaces icons wirh bigger icons
Clean filtres, removed 1800 filters vert similares
Synchronisés thé size combo with thé modèles combo
Added a statusbar for showing informations

-------------------------
Kenavo / Bye

What disturbs me the most is not dying but not knowing what I will do after.

Offline John Z

  • Member
  • *
  • Posts: 404
Re: Convolution Filters Editor
« Reply #34 on: October 28, 2021, 01:01:26 pm »
Sounds good looking forward to new version.

Clean filtres, removed 1800 filters vert similares
.....
Added a statusbar for showing informations

Cleaning the filters is very good I thought visually I notice a repeating visual similarity cycle.  I ran a file duplicate detection on them but they were dissimilar in binary data but similar visually.

I'm all for status bar information.   :)

John Z

Offline Grincheux

  • Member
  • *
  • Posts: 365
  • Never be pleased, always improve
    • Arachne
Re: Convolution Filters Editor
« Reply #35 on: October 28, 2021, 08:48:47 pm »
me too I ran such a tool and got the same results.
So I decided to remove the filters "visually".
I set new icons in 32x32
Thank you for oxygen
-------------------------
Kenavo / Bye

What disturbs me the most is not dying but not knowing what I will do after.

Offline Grincheux

  • Member
  • *
  • Posts: 365
  • Never be pleased, always improve
    • Arachne
Re: Convolution Filters Editor
« Reply #36 on: November 04, 2021, 09:27:42 pm »
An other update.
I have corrected a logical bug.
Normaly Cfe would have to compute the average before setting the value to the central point.
It did not do!
Rather than dividing by the number of edit fields, it divided by 1 by default.
That is the divisor in the input filed had the values 0 or 1.
If you specified an other values (> 1), he did the job and computed the average.
Now it is corrected and if the Divisor is equal to zero it is set to the number of edit fieds.
Example:
3x3 it divides by 9 by default and set the Divisor edit field to 9.
29x29 it divides by 841 by default and set the Divisor edit field to 841.

I have cleaned the filters and added a new comment in the Divisor toolTip.
Deleted dead code.
Added a Viewer / Diaporama.

Next update: Added tools to help editing fields.
When rditing matrix greather than 9x9 is a long and not interesting operation.
For example I will add rotations (West, East, North, South).
Because som kinds of filters need to beed applied twice after rotating the filter: Sobel, Robinson...
For Robinson, it requires 8 rotations by 22.5°

I will play with sinus and cosinus... a great pleasure!

An other thing to to do is to be faster again and correct a bug after drawing.
The good window does not alaways appear.

When you have an idea you don't imagine the kinds and the number of problems it will generate.
« Last Edit: December 07, 2021, 10:55:37 am by Grincheux »
-------------------------
Kenavo / Bye

What disturbs me the most is not dying but not knowing what I will do after.

Offline John Z

  • Member
  • *
  • Posts: 404
Re: Convolution Filters Editor
« Reply #37 on: November 06, 2021, 11:28:18 am »
I ran the new version attached are some screen shots of the result.  Only ran the 3x3.
It is hard to tell if the divisor change has affected the output.

One thing to note on the bridge picture, second attachment, it started as 9,982,006 Byte, 256 color BMP.  Every 3x3 filter output was exactly 29,910,014 bytes with many 10's of thousands of colors. One example had 119,118 colors while another had 1,919,784 colors.

This may all be expected but it is all new to me.... :)

John Z

Offline Grincheux

  • Member
  • *
  • Posts: 365
  • Never be pleased, always improve
    • Arachne
Re: Convolution Filters Editor
« Reply #38 on: December 07, 2021, 10:56:27 am »
-------------------------
Kenavo / Bye

What disturbs me the most is not dying but not knowing what I will do after.

Offline John Z

  • Member
  • *
  • Posts: 404
Re: Convolution Filters Editor
« Reply #39 on: December 08, 2021, 12:35:43 pm »
Final version, the program is finished


https://www.mediafire.com/file/rm3eq37qwh64tgx/Cfe-Setup.exe/file

Great news!  I'll grab a new version.  Time for a break  :)

Congratulations too,

John

Offline Grincheux

  • Member
  • *
  • Posts: 365
  • Never be pleased, always improve
    • Arachne
Re: Convolution Filters Editor
« Reply #40 on: December 08, 2021, 04:44:20 pm »
I have new ideas so the program will never be finished. :P
-------------------------
Kenavo / Bye

What disturbs me the most is not dying but not knowing what I will do after.