Digital Image Processing

HMG Samples and Enhancements

Moderator: Rathinagiri

User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: Digital Image Processing

Post by andyglezl »

serge_girard wrote: Fri Nov 13, 2020 10:28 am Andrés,

Great ! Is it possible to add effect such as 'cartoonize' ?
And ... undo?

Serge
Hola Serge
De momento solo he estado aplicando los efectos que vienen en el demo, quizá investigando
y entendiendo el manejo de los parámetros se puedan hacer más cosas.

y sobre deshacer, con restaurar a "0" ( o al valor mínimo permitido ) o si incrementas un valor y luego lo decrementas,
simula esa función. ( No "deshace", sino que vuelve a re-aplicar los valores que cambiaste )

En la parte de los EFECTOS cada vez que aplicas uno de ellos, se deshace el anterior. (falta pulir varias cosas)
Si deseas aplicar otro EFECTO a lo que ya tienes, necesitas GUARDAR esa imagen y aplicar el siguiente efecto.
*--------------------------------------------------------------------------------------------------------------------------------------------------
Hi Serge
At the moment I have only been applying the effects that come in the demo, perhaps investigating
and understanding the handling of the parameters can do more things.

and on undo, with restoring to "0" (or to the minimum value allowed) or if you increase a value and then decrease it,
simulates that function. (It does not "undo", but re-applies the values you changed)

In the EFFECTS part, every time you apply one of them, the previous one is undone. (several things need to be polished)
If you want to apply another EFFECT to what you already have, you need to SAVE that image and apply the following effect.
Andrés González López
Desde Guadalajara, Jalisco. México.
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Digital Image Processing

Post by serge_girard »

OK, I see. Keep on with your project!

Serge
There's nothing you can do that can't be done...
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: Digital Image Processing

Post by andyglezl »

Algunas correcciones, ajustes y mas EFECTOS... Disfruten.
+----------------------------------------------------------------
Some fixes,adjustments and more EFFECTS ... Enjoy.

QDIP_AGL.zip
(1.48 MiB) Downloaded 128 times
IMG01-375-19.20-50.JPG
IMG01-375-19.20-50.JPG (1.32 MiB) Viewed 3122 times
IMG01-375-19.21-50.JPG
IMG01-375-19.21-50.JPG (1009.57 KiB) Viewed 3122 times
IMG01-375-19.22-50.JPG
IMG01-375-19.22-50.JPG (1.34 MiB) Viewed 3122 times
IMG01-375-19.23-25.JPG
IMG01-375-19.23-25.JPG (624.18 KiB) Viewed 3122 times
IMG01-375-19.23-50.JPG
IMG01-375-19.23-50.JPG (1014.48 KiB) Viewed 3122 times
IMG01-376-19.23-50.JPG
IMG01-376-19.23-50.JPG (317.51 KiB) Viewed 3122 times

NOTA ACLARATORIA: No todas las imágenes resultan igual aunque se apliquen los mismos AJUSTES y EFECTOS.
+----------------------------------------------------------------------------------------------------------------------------------------
EXPLANATORY NOTE: Not all images are the same even if the same SETTINGS and EFFECTS are applied.

IMG01-377-11.25-00.JPG
IMG01-377-11.25-00.JPG (1.56 MiB) Viewed 3114 times
Andrés González López
Desde Guadalajara, Jalisco. México.
User avatar
Claudio Ricardo
Posts: 367
Joined: Tue Oct 27, 2020 3:38 am
DBs Used: DBF, MySQL, MariaDB
Location: Bs. As. - Argentina

Re: Digital Image Processing

Post by Claudio Ricardo »

Hola Andres...
Hace un par de años cuando vi en los samples la demo de esta librería, no me llamó la atención.
Pero ahora al ver tu post descubro su verdadero potencial y me impresionó !!! El Dr. Soto es un verdadero genio !!!
Tu prg debería incluirse en los samples si hay una nueva recompilación de HMG.
Corrige al sabio y lo harás más sabio, Corrige al necio y lo harás tu enemigo.
WhatsApp / Telegram: +54 911-63016162
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: Digital Image Processing

Post by andyglezl »

Claudio Ricardo wrote: Fri Nov 13, 2020 9:03 pm Hola Andres...
Hace un par de años cuando vi en los samples la demo de esta librería, no me llamó la atención.
Pero ahora al ver tu post descubro su verdadero potencial y me impresionó !!! El Dr. Soto es un verdadero genio !!!
Tu prg debería incluirse en los samples si hay una nueva recompilación de HMG.
Por supuesto.
Honor, a quien honor merece !!!
*---------------------------------------------------------------
Of course.
Honor to whom honor is due !!!
Andrés González López
Desde Guadalajara, Jalisco. México.
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: Digital Image Processing

Post by andyglezl »

Un avance de lo que viene...
+-------------------------------------
A preview of what's to come ...

QDIP_AGL.gif
QDIP_AGL.gif (2.79 MiB) Viewed 3040 times
ChicaBicicleta2.jpg
ChicaBicicleta2.jpg (646.18 KiB) Viewed 3005 times
ChicaRojo2.jpg
ChicaRojo2.jpg (950.26 KiB) Viewed 3005 times
ChicaBWandBlue.jpg
ChicaBWandBlue.jpg (1.05 MiB) Viewed 3005 times
Andrés González López
Desde Guadalajara, Jalisco. México.
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: Digital Image Processing

Post by andyglezl »

Algunos EFECTOS predefinidos... ;)
*---------------------------------------------
Some predefined EFFECTS ... ;)
QDIP_AGL.zip
(1.48 MiB) Downloaded 122 times

EfectosFavoritos.jpg
EfectosFavoritos.jpg (750.33 KiB) Viewed 2982 times
Eapañola.jpg
Eapañola.jpg (749.57 KiB) Viewed 2947 times
ChicaBW-ORO.jpg
ChicaBW-ORO.jpg (512.62 KiB) Viewed 2947 times
ChicaBW-ORO2.jpg
ChicaBW-ORO2.jpg (654.67 KiB) Viewed 2947 times
ChicaBW-ORO3.jpg
ChicaBW-ORO3.jpg (412.55 KiB) Viewed 2947 times
HombreaBW-ORO.jpg
HombreaBW-ORO.jpg (789.12 KiB) Viewed 2947 times
Andrés González López
Desde Guadalajara, Jalisco. México.
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: Digital Image Processing

Post by andyglezl »

Bueno, aprovechando que ya pronto se acerca Navidad...
Creo que hasta aquí, está convertido el \HMG\3.4.4\SAMPLES\BosTaurus\Demo10.prg.

Lo que sigue, es optimizarlo en cuanto a más funcionalidad.

// POR HACER...
// * Como tomar del Portapapeles y pegar aquí
// * Como hacer DRAG&DROP hacia este programa
// * Como crear TABS para tener varios archivos abiertos
// * Como copiar y pegar dentro de los TABS abiertos
// * En ocasiones como que hay problemas de memoria y da error.
(La imagen ya no se despliega y ya no se pueden leer desde archivo)
// * No pude crearlo con WINDOW PANEL (aunque no le dediqué mucho tiempo...)
// * El STATUSBAR queda dentro de la Imagen y parpadea. (se ocupa para desplegar datos de la Imagen)
// * Cambiar el tamaño de la imagen para PREVIEW dentro de la pantalla si la imagen es más grande
// * Cambiar el tamaño de la imagen para GUARDAR (Rezise)
// * Poner ICONO al .exe
// * Como tener fijos los SPINNERS al recorrer la Imagen
// * Pasar los SPINNER a forma Horizontal (abajo del Menú, ya hice una prueba)
// * Manejar otros tipos de Imagenes ? ( BMP, TIFF, etc.)
// * Configurar con diferentes Idiomas

Si alguien quiere asignarse algún punto de los pendientes y compartirlo después con el foro, será bienvenido !

Que lo disfruten como yo lo hice !

*------------------------------------------------------------------------------------------------------
Well, taking advantage of the fact that Christmas is coming soon ...
I think the \HMG\3.4.4\SAMPLES\BosTaurus\Demo10.prg has been converted so far.

What follows is to optimize it for more functionality.

// TO DO ...
// * How to take from the Clipboard and paste here
// * How to DRAG & DROP towards this program
// * How to create TABS to have multiple files open
// * How to copy and paste inside open TABS
// * Sometimes there are memory problems and it gives an error.
(The image is no longer displayed and can no longer be read from file)
// * I couldn't create it with WINDOW PANEL (I didn't spend much time on it though ...)
// * The STATUSBAR remains within the Image and blinks. (is used to display Image data)
// * Resize image to PREVIEW within screen if image is larger
// * Resize the image to SAVE (Rezise)
// * Put ICON to the .exe
// * How to have the SPINNERS fixed when browsing the Image
// * Pass the SPINNER to Horizontal form (below the Menu, I already did a test)
// * Handle other types of Images? (BMP, TIFF, etc.)
// * Configure with different Languages

If someone wants to assign some point of the pending and share it later with the forum, it will be welcome!

Enjoy it like I did!

QDIP_AGL-Source-Exe.zip
(1.99 MiB) Downloaded 157 times
El Proyecto completo con las imágenes que utilicé, pesa 20MB
por si a alguien le interesa para ver como enviarlo.
*------------------------------------------------------------------------------
The complete Project with the images I used, weighs 20MB
in case anyone is interested to see how to send it.

QDIP_AGL2.jpg
QDIP_AGL2.jpg (541.81 KiB) Viewed 2927 times
Andrés González López
Desde Guadalajara, Jalisco. México.
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Digital Image Processing

Post by Rathinagiri »

Amazing work! Thanks a lot!
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: Digital Image Processing

Post by andyglezl »

Hola
Alguien sabe como obtener estos datos de la función GetColor() ?
Matiz, Sat., Lum.
*------------------------------------------------------------------------------
Hi
Does anyone know how to get this data from the GetColor() function ?
Matiz, Sat., Lum.

ColorPicker.jpg
ColorPicker.jpg (237.01 KiB) Viewed 2844 times
Andrés González López
Desde Guadalajara, Jalisco. México.
Post Reply