Message Boards Message Boards

0
|
1043 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

LineIntegralConvolutionPlot image syntax?

Posted 1 year ago

Mathematica 12.2 help documentation states:

LineIntegralConvolutionPlot[{{vx,vy},image},{x,xmin,xmax},{y,ymin,ymax}]

generates a line integral convolution plot of image convolved with the vector field {vx,vy} as a function of x and y.

One of the examples shown includes the code snippet:

LineIntegralConvolutionPlot[{{-1 - x^2 + y, 1 + x - y^2}, {Automatic, 320, 64}}, {x, -3, 3}, {y, -3, 3}]

I don't really understand how {Automatic, 320, 64} specifies an image-like argument. From the context of this and similar examples, I can guess that "Automatic" specifies a white-noise image and that "320" and "64" refer to the pixel width and levels of color quantization of that image.

But does someone know where can I find detailed documentation of this particular syntax? Thanks!

POSTED BY: Ronald Riegert

Hi Ronald,

There exists a library of predefined images.png

A method to find hidden library calls in deeply nested trees: biuld a searchable Trace tree of the execution call

tr= Trace[  LineInegral....];

pos=Position[tr, Automatic,Infinity];

In order to get the bracket structure, drop some indices at the and of the position element list.

tr[Drop[  pos[[ 4 ]], -2 ]

Roland Franzius

POSTED BY: Roland Franzius
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract