Merry Christmas: 3D Halographic effect

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
dognose
Posts: 267
Joined: 2005-03-08T22:16:37-07:00

Merry Christmas: 3D Halographic effect

Post by dognose » 2016-12-25T19:10:59-07:00

Hi,

Dunno if you have seen these glasses that produce a 3D effect with Christmas tree lights.

Image
http://imgur.com/a/GcCFe

Is there a way to reproduce this effect with IM?

I've seen a star like effect, but this is a bit more complicated pattern

User avatar
fmw42
Posts: 25764
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Merry Christmas: 3D Halographic effect

Post by fmw42 » 2016-12-25T20:30:23-07:00

Perhaps using -stereo.

Where do you get the appropriate glasses to see this effect?

dognose
Posts: 267
Joined: 2005-03-08T22:16:37-07:00

Re: Merry Christmas: 3D Halographic effect

Post by dognose » 2016-12-26T05:47:53-07:00

Here is a pair.. http://www.ebay.com/itm/Holiday-Specs-F ... Sw4shX9FIJ

they have a lot of designs. It's actually pretty cool to look through.

User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Merry Christmas: 3D Halographic effect

Post by anthony » 2016-12-30T03:21:58-07:00

I can think of a number of methods to do something like that!

Have a look at the 'Star' generation script....
http://www.imagemagick.org/Usage/advanced/#stars

You should be able to extract the bright points, convert those into 'stars' and then overlay that.
In may way that is what those glasses are doing.

Their is also a similar effect seen in
http://www.imagemagick.org/Usage/distor ... al_streaks
But the streaks are just enhancing a existing radial pattern, so may not be suitable.

The one other method is to use morphology/convolution to generate a star pattern for 'dilation' or 'blurs'
See Alternatives to Drawing Symbols
http://www.imagemagick.org/Usage/draw/#symbol_alts

That last is in a odd place is it was providing alternatives to actually 'drawing' symbols and shapes in known locations, but instead using random points within an existing image.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/

Post Reply