Questions tagged [smoothing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
85 views

Using ImageGraphics in Mathematica [closed]

As a followup to my post here, I'd like to smooth the output of the image obtained from ImageGraphics. Input image is the following ...
2
votes
1answer
48 views

Calculate and plot mean values of pairs of data points

I have a list of data points where there can be multiple y values for a given x value, e.g., {{0, 4}, {1, 2}, {1, 3}, {2, 3}}. I would like to Take the mean of the y values for each x value. Get a ...
1
vote
1answer
50 views

Moving map with non-overlapping window

How can I apply a function to a list with non-overlapping window. E.g. $data = \{x_1, x_2, ...., x_n\}$ and we apply f with window size 2 to get $\{f(x_1,x_2), f(x_3, x_4), ...., f(x_{n-1}. x_n)\}$. ...
3
votes
0answers
57 views

BSpline vs natural spline [closed]

The BSpline in mathematica is defined mathematically here. These BSplines constitute basis for any Spline. But how do I define natural splines in mathematica, i.e. splines that are linear left of the ...
0
votes
0answers
35 views

RegionPlot with FindMaximum

I don't understand why each time I'm launching this computation Mathematica buggs and I get a message from Windows that the Kernel stopped working... I'm trying to get a map of where the value of ...
8
votes
2answers
423 views

Catmull-Clark and Doo-Sabin Subdivision Implementations

I want to work on subdivision surfaces. Unfortunately, I don’t have any source code to start with. I need some Mathematica codes for applying Catmull-Clark and Doo-Sabin methods. I would like to ...
1
vote
1answer
129 views

How to make the ListContourPlot3D smooth and closed?

I am struggling with making my plot in ListContourPlot3D smooth and closed. I have seen so many posts regarding the same issue but in other functions, the solution of which can not be applied to ...
0
votes
3answers
85 views

Smoothing random data with MovingAverage

If I have this kind of data: ...
3
votes
1answer
117 views

Changing the averaging window dynamically in a moving average

I have some temperature decay data (2k points) that is very noisy for large time values. I don't want to do much or any smoothing to the data early on, but would like a large window to average over ...
1
vote
0answers
29 views

Smoothing the surface created from a set of points

I have a question about "smoothing" the surface created on the basis of a set of points. I would like to get an effect similar to that from the Documentation Center. enter link description here The ...
0
votes
0answers
46 views

Smoothen curve in ListDensityPlot [duplicate]

I have a list of points of dimensions (150,101) and I am plotting them in a ListDensityPlot. I am happy with the command and how the data is represented, but I ...
4
votes
4answers
437 views

Smoothing noisy data

I have this data shown in picture 1 below and I want to filter it. I tried some filters but I couldn't get good results. seems that I didn't choose the best parameters for it. I want to smooth my ...
6
votes
3answers
148 views

How to find the boundary of a region from a dataset

I have a dataset which supposed to show some regions. For example ...
23
votes
2answers
738 views

Smoothing 3D contours as post processing

Context Following this question (and great answer!), It would be nice to have a function which also smooths 3D contours plots once they have been done. There are various solutions which involve ...
15
votes
3answers
436 views

Generic contour smoothing with shading

Context It would be nice to have a function which smooths contours plots once they have been done. There are various solutions which involve smoothing the data before making the contours, but here I ...
2
votes
1answer
116 views

Smoothing EdgeDetect - image processing

I have to make a program that analyzes the image of saw tooth and later find the function that can describe it (or just part of it). Now I have a problem with smoothing the edges detected with ...
1
vote
0answers
93 views

Smoothing 2-d Functions [closed]

I have a large array of triples (x_i,y_i,f(x_i,y_i)) The the values x_i and y_i are equidistant variables and the function values f(x_i,y_i) are results of a Monte Carlo calculation which contain ...
0
votes
2answers
511 views

Interpolating noisy data

My data looks like this: https://pastebin.com/n59CTB3L Or if displayed in log chart: I want to create an interpolation of the data that would remove most of the noise. What are some good ways to ...
34
votes
1answer
913 views

How to perform Loop subdivision on a triangle mesh with Mathematica?

(Cross posted on Wolfram Community) Every now and then, the question pops up how a given geometric mesh (e.g. a MeshRegion) can be refined to produce a (i) finer ...
5
votes
2answers
142 views

Reshape interpolated data

I want to reshape/smooth the following data: ...
13
votes
3answers
620 views

Improve the mesh smoothing procedure

My question is inspired by this answer about meshing with quadrilateral elements. The following functions are my (naive) try of implementing the Laplacian smoothing. I find interior nodes in the mesh ...
2
votes
0answers
98 views

DistributionChart and kernel smoothing: preventing negative numbers

I am visualising rather scarce data about size distribution of certain objects (here - oil basin areas on continents, to be specific). There is no raw data, but some already processed quantities, for ...
1
vote
1answer
500 views

Interpolating or smoothing list plot

I am currently trying to interpret my FTIR data. But due to a lot of background noise, my spectrum is quite spiky and fluctuating at some points. I want to try to smoothen my function to make the ...
10
votes
2answers
863 views

How to get a smooth ridge from a binary image

I always have this demand,but Mathematica cannot implement this perfectly for me.For example,I have such binary image ...
3
votes
3answers
188 views

How to make logic for detecting “abnormality point” and remove it from data points

Here are my data points: ...
2
votes
2answers
218 views

Smoothing a cusp in plotted data

Here are my data points: ...
12
votes
3answers
1k views

Interpolate the noisy data

I have some noisy data ...
9
votes
1answer
281 views

Smoothing the gradient of the potential function from a finite element calculation

The results from a finite element calculation using NDSolve are, in this case, a potential function expressed as an interpolation function. To get values from the potential function it is necessary to ...
5
votes
4answers
467 views

How to get a smooth outline

I have a outline image img=Uncompress[FromCharacterCode[ Flatten[ImageData[Import["http://i.stack.imgur.com/cc0Mt.png"],"Byte"]]]] This is current method <...
8
votes
1answer
321 views

What exactly do DerivativeFilter and RidgeFilter do with the scale parameter?

Both DerivativeFilter and RidgeFilter take an optional parameter σ to indicate the scale of ...
1
vote
2answers
298 views

Smooth curves in a raster image

I have a *.bmp image, e.g. this one: I need to smooth boundaries of the thick curves and save it in a vector graphics form. Is there a simple way how to do that in Mathematica 10? I know it is ...
0
votes
1answer
155 views

Smoothing of oscillatory function

I have a pretty gruesome expression of which I need to do the inverse Fourier transform twice (over two coordinates ($\omega$ to $t$ and $q$ to $r$)). $f(q,\omega)= \frac{ 2 \sqrt{\pi} \sqrt{\frac{...
0
votes
2answers
1k views

How to obtain a smooth plot? [closed]

I have obtained some simulation result. But the number of realisations is small as each realisation is expensive. I have the data. for X-axis: ...
2
votes
1answer
107 views

Fixing ListSliceContourPlot3D

I am trying to plot a sort of 3D anisotropic convection-diffusion equation. I want to use ListSliceContourPlot3D to show the solution u[t,x,y,z] at various time ...
10
votes
6answers
513 views

Faster way to do this smoothing?

Looking for a pleasing way to smooth a particular dataset I found something I like but it is rather slow to compute: I take the mean of a series of MedianFilter ...
5
votes
5answers
371 views

Replace elements in list larger than x times the magnitude of the previous value with the mean of its neighbours

Say I have some list a. It is an increasing, noisy dataset; something like $a x + X$ where $X$ is a noisy variable. This is as expected from what I'm interested in. However, once every so often my ...
9
votes
3answers
372 views

How to smoothen a surface given as a mesh?

I am trying to "smoothen" meshes. For example, if starting from a cuboid, I would like something similar to a rounded cuboid. There are many ways to smoothen a surface, but I am not going to give a ...
0
votes
2answers
154 views

I want to plot 3Dhistogram from my data?

I have the data file like this: {{16.3009, 5454}, {16.2118, 5463}, {15.8156, 5414}, {15.9585, 5515}, {16.2253, 5459}, {16.284, 5419}, {15.6112, 5389}, {15.7221, 5403}, {15.509, 5445}, {15.6993, ...
0
votes
0answers
229 views

How to make lines more smooth in Graphics3D? [duplicate]

I drew using Graphics3D, but I found the quality of output is very low, like this:. I wanted to improve the quality of the output, make it more smooth. But I can't ...
0
votes
0answers
275 views

How to get smoother curves when plotting with mathematica 8.0?

Using the following line of code, I am trying to plot a few curves side-by-side. However, it turns out that the output curves are not that smooth as seen from the ups and downs (oscillating pattern) ...
9
votes
1answer
1k views

Smoothing out data points in a ListDensityPlot

I stumbled upon this problem when I was trying to make some nice smooth ListDensityPlots of my numerical data. In short, my problem is that I let Mathematica plot two copies of basically the exact ...
6
votes
4answers
533 views

Plotting multiple lists together with their avarages in a single plot

I have as example multiple lists of x data (in mm) http://pastebin.com/7xwgGDsd which I want to plot against time (in sec). ...
8
votes
3answers
564 views

Derivative of contour in ContourPlot

Sorry to bring this question up again, since there are many similar questions on the site. I use to think this is a easy job to do, because for the worst case I can follow the answers on this site. ...
18
votes
3answers
5k views

Smoothing ListContourPlot contours

I have some data of type {{x1, y1, f1}, {x2, y2, f2}, ...} and want to do ListContourPlot. However, there is a problem that the ...
5
votes
2answers
5k views

Creating Optimal “Smoothed” Contour-Type Plots (X,Y,Z) Using Mathematica 8.04 [closed]

Update: data here Here is a contour plot produced in the SAS program: In this plot, variable 23405 forms the X axis, variable 20201 forms the Y axis, and outcome variable 50502 forms a pseudo Z ...
49
votes
7answers
3k views

Character edge finding

The following line of code finds the edge of a character: ...