It is currently Fri Apr 19, 2024 7:41 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 44 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Yet another mosaic method for mosaic: the tutorial.
PostPosted: Mon Feb 22, 2016 3:35 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
OK; this one's for Diego. You folks know I hate doing these. lolol

Step one: your target (picture of a Christmas cactus flower I took a few years back).

Attachment:
cactus_flower.jpg
cactus_flower.jpg [ 185.61 KiB | Viewed 10832 times ]


Step two: Run Isophotes:

Attachment:
isophotes.png
isophotes.png [ 96.61 KiB | Viewed 10832 times ]


Now run Mosaic Helper (not showing screen shot)

Now stroke the resulting path with a dot.


Attachments:
dot.png
dot.png [ 115.49 KiB | Viewed 10832 times ]

_________________
Lyle

Psalm 109:8

Image
Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Yet another mosaic method for mosaic: the tutorial.
PostPosted: Mon Feb 22, 2016 3:38 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
Result of the stroke:

Attachment:
stroked_dots.png
stroked_dots.png [ 76.04 KiB | Viewed 10830 times ]


Threshold the dots (turns out you can do this; I didn't play with this when I tried when I first started rendering these as I should; tried to convert to 2-bit but that didn't work. Saving as PBM and then using the result does work, but apparently Threshold works too so this is the better way of doing this):

Attachment:
threshold.png
threshold.png [ 20.62 KiB | Viewed 10830 times ]


Once you do this, run Skeleton (quick):


Attachments:
skeleton.png
skeleton.png [ 116.56 KiB | Viewed 10830 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Yet another mosaic method for mosaic: the tutorial.
PostPosted: Mon Feb 22, 2016 3:42 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
Now convert the result of your Isophotes to all black (dup, top layer set to darken and merge down):

Attachment:
isophotes_black.png
isophotes_black.png [ 57.94 KiB | Viewed 10829 times ]


Invert the Skeleton result and merge the Isophotes black to create the mask:

Attachment:
mask.png
mask.png [ 74 KiB | Viewed 10829 times ]


Now colorize the cells (mask on top; target on bottom):


Attachments:
colorize.png
colorize.png [ 164.96 KiB | Viewed 10829 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Yet another mosaic method for mosaic: the tutorial.
PostPosted: Mon Feb 22, 2016 3:53 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
OK; the result (resized and embellished; not going to do a tut on that). :)


Attachments:
cactus_flower.jpg
cactus_flower.jpg [ 915.91 KiB | Viewed 10808 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Yet another mosaic method for mosaic: the tutorial.
PostPosted: Mon Feb 22, 2016 6:12 pm  (#5) 
Offline
GimpChat Member

Joined: May 12, 2015
Posts: 4694
Lyle: cannot find Mosaic helper. Where do I find it?


Top
 Post subject: Re: Yet another mosaic method for mosaic: the tutorial.
PostPosted: Mon Feb 22, 2016 6:36 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
Check thread below, Pat. Rob posted it there (a few replies down). :)

viewtopic.php?f=9&t=2714

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Yet another mosaic method for mosaic: the tutorial.
PostPosted: Tue Feb 23, 2016 12:42 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
thanks a lot Lyle, today I will try to repeat your steps and see what I can get !

_________________
"Where am I ?"


Top
 Post subject: Re: Yet another mosaic method for mosaic: the tutorial.
PostPosted: Tue Feb 23, 2016 1:02 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
Hope to see what you can come up with Diego. My bet is this can all be done withing G'MIC, but Rob's mosaic creator is just a great Script-fu for doing this. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Yet another mosaic method for mosaic: the tutorial.
PostPosted: Tue Feb 23, 2016 2:40 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
I don't know.
My problem is arriving to the phase where all lines(paths) are converted to dots, i.e. arriving to have a layer which does only show "designing" dots. I'm terribly incompetent with paths.
Anyhow, I'll try again later.

_________________
"Where am I ?"


Top
 Post subject: Re: Yet another mosaic method for mosaic: the tutorial.
PostPosted: Tue Feb 23, 2016 3:10 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12643
Location: Spain, Aragón
Lyle, Thank you very much for this nice tutorial to get such a bright result. You make many people grow in knowledge and be thankful for that. :clap :tyspin
Here your tut in PDF. :) :bump


Attachments:
The Tutorial by Lyle.pdf [1.49 MiB]
Downloaded 632 times

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.
Top
 Post subject: Re: Yet another mosaic method for mosaic: the tutorial.
PostPosted: Tue Feb 23, 2016 3:24 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
thanks Issabella, easier to read and follow the instructions.
Still unable to get designing dots....
Maybe someone else can try to run this tut ?
If she/he succeeds, can she/he detail each substep done starting from the isophoted image to arrive to the dot-shaped image?

_________________
"Where am I ?"


Top
 Post subject: Re: Yet another mosaic method for mosaic: the tutorial.
PostPosted: Tue Feb 23, 2016 7:44 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
maybe (but only maybe) these could be the substeps after having run Isophotes:
- select a transp pixel on the outcome (to get the shapes otherwise RobA script takes the contours of the image to start drawing paths)
- run RobA script with defaults (paths are created according to the shapes)
- invert selection (to have the Isophotes drawing lines selected)
- cut (to remove the isophotes drawing lines)
- select all
- stroke the path with solid colour 1 px and line type "sparse dots"
- fill with White everything except the dots (either of these two ways: add a White layer below and merge down the dots layer, or select again the transparent pixels and fill with White)
- delete the path
- threshold the dots
- run Skeleton
- (at least in my case) run Repair Inpaint Holes (I had a pixel inside each Tile)

I got something which looks like a base to continue

Attachment:
cactus_flower_my-base-for-mosaic.jpg
cactus_flower_my-base-for-mosaic.jpg [ 431.85 KiB | Viewed 2386 times ]

_________________
"Where am I ?"


Top
 Post subject: Re: Yet another mosaic method for mosaic: the tutorial.
PostPosted: Tue Feb 23, 2016 10:41 am  (#13) 
Offline
GimpChat Member

Joined: May 12, 2015
Posts: 4694
I tried last night and could not get the dots.


Top
 Post subject: Re: Yet another mosaic method for mosaic: the tutorial.
PostPosted: Tue Feb 23, 2016 1:00 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
Need to stroke the resulting path with a 1 pixel brush with 800 to 1500px spacing Pat. The path is created by Rob's Mosaic helper. You then need to Threshold the pixels per the tutorial. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Yet another mosaic method for mosaic: the tutorial.
PostPosted: Tue Feb 23, 2016 1:33 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
dinasset wrote:
maybe (but only maybe) these could be the substeps after having run Isophotes:
- select a transp pixel on the outcome (to get the shapes otherwise RobA script takes the contours of the image to start drawing paths)
- run RobA script with defaults (paths are created according to the shapes)
- invert selection (to have the Isophotes drawing lines selected)
- cut (to remove the isophotes drawing lines)
- select all
- stroke the path with solid colour 1 px and line type "sparse dots"
- fill with White everything except the dots (either of these two ways: add a White layer below and merge down the dots layer, or select again the transparent pixels and fill with White)
- delete the path
- threshold the dots
- run Skeleton
- (at least in my case) run Repair Inpaint Holes (I had a pixel inside each Tile)

I got something which looks like a base to continue

Attachment:
cactus_flower_my-base-for-mosaic.jpg


That's how it will look like, but you also need to blend back the Isophotes step, Diego (of course this needs to be inverted for the mask to work with Testing>lylejk>Blend (Shape Average) for the colorizing step. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Yet another mosaic method for mosaic: the tutorial.
PostPosted: Tue Feb 23, 2016 5:03 pm  (#16) 
Offline
GimpChat Member

Joined: May 12, 2015
Posts: 4694
Lyle: Tried it again but I am missing something. Is each step a new layer? or do we do several steps on 1 layer? I tried several ways but did not get the dots, and when I did skeleton, just got a black layer.


Top
 Post subject: Re: Yet another mosaic method for mosaic: the tutorial.
PostPosted: Tue Feb 23, 2016 5:48 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
Once you stroke your paths, you then need to use threshold to make the dots all black (since they won't me). After that, run Skeleton preset, Pat. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Yet another mosaic method for mosaic: the tutorial.
PostPosted: Wed Feb 24, 2016 1:03 am  (#18) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13008
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
Pat625 wrote:
Lyle: Tried it again but I am missing something.
Is each step a new layer?
or do we do several steps on 1 layer?
I tried several ways but did not get the dots, and when I did skeleton, just got a black layer.

I have to agree with Pat625.
I can't complete this tut either.
:(

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Yet another mosaic method for mosaic: the tutorial.
PostPosted: Wed Feb 24, 2016 1:08 am  (#19) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Pat, Wallace, did you try to follows also my substeps for going after Isophotes to Skeleton?

_________________
"Where am I ?"


Top
 Post subject: Re: Yet another mosaic method for mosaic: the tutorial.
PostPosted: Wed Feb 24, 2016 2:40 am  (#20) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13008
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
dinasset wrote:
Pat, Wallace, did you try to follows also my substeps for going after Isophotes to Skeleton?

Nope...

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
Post new topic Reply to topic  [ 44 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Mosaic

47

No new posts Attachment(s) Another Mosaic?

3

No new posts Bejeweled Mosaic.

2

No new posts Santa Mosaic

10

No new posts Mosaic Lion

5



* Login  



Powered by phpBB3 © phpBB Group