curves

Photoshop-like Curves tool in Objective-C [closed]

不想你离开。 提交于 2020-02-08 06:33:10
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I want to adjust an image like curves tool in photoshop. It changes image color, constrast, etc in each R,G,B channel or all RGB. any idea to do this task in objective C? I found this link http://www.planet

GPUImage failed to init ACVFile with data:(null)

为君一笑 提交于 2020-01-17 01:39:23
问题 First of all, I must say that GPUImage is an excellent framework. However, when loading an ACV file that I export from Photoshop CS6, it gives me an error saying that: failed to init ACVFile with data:(null). The thing is though, that the same code works for some other ACV files, and the file definitely has data, 64 bites of it in fact. Here is how I am trying to load it: GPUImageToneCurveFilter *stillImageFilter2 = [[GPUImageToneCurveFilter alloc] initWithACV:@"test"]; UIImage

Fill several sections below a curve of data in Gnuplot

我是研究僧i 提交于 2020-01-13 04:29:09
问题 I have a set of points "data" defining a curve that I want to plot with bezier smooth. So I want to fill the area below that curve between some pairs of x values. If I only had one pair of x values it's not that difficult because I define a new set of data and plot it with filledcu. Example: The problem is that I want to do that several times in the same plot. Edit: Minimal working example: #!/usr/bin/gnuplot set terminal wxt enhanced font 'Verdana,12' set style fill transparent solid 0.35

Fill several sections below a curve of data in Gnuplot

跟風遠走 提交于 2020-01-13 04:29:07
问题 I have a set of points "data" defining a curve that I want to plot with bezier smooth. So I want to fill the area below that curve between some pairs of x values. If I only had one pair of x values it's not that difficult because I define a new set of data and plot it with filledcu. Example: The problem is that I want to do that several times in the same plot. Edit: Minimal working example: #!/usr/bin/gnuplot set terminal wxt enhanced font 'Verdana,12' set style fill transparent solid 0.35

Error calculating the area between two lines using “integrate”

﹥>﹥吖頭↗ 提交于 2020-01-07 02:57:05
问题 I'm attempting to calculate the area between two plots using R's integrate function. I have two forecast curves that I'm able to place on the same plot and also shade in the area between the two curves, for visualisation: x1 = seq(1,200,1) y1 = # 200 numbers from 0.02 - 1.000 y2 = # 200 numbers from 0.00 - 0.95 plot(x1,y1,type="l",bty="L",xlab="Forecast Days",ylab="Curve Actuals") points(x1,y2,type="l",col="red") polygon(c(x1,rev(x1)),c(y2,rev(y1)),col="skyblue") Following the example here

Identify curves in binary image

徘徊边缘 提交于 2019-12-25 06:55:58
问题 I have a binary image in which I would like to detect curves and output the coordinate pixel positions of the curves. The image is a noisy one and I would like to detect the two curves that run horizontally. I am using MATLAB to perform image analysis. It will be great if you can provide me some hints towards identifying these curves. An example picture: 回答1: Use a canny edge detector. But, in order to make it work well, you'll have to read about the parameters that go into it, and "fiddle"

airfoil profile geometry plotting

僤鯓⒐⒋嵵緔 提交于 2019-12-22 09:33:08
问题 I have a little issue with calculating coordinates. Given are airfoil profiles in two lists with the following exemplary coordinates: Example: x_Coordinates = [1, 0.9, 0.7, 0.5, 0.3, 0.1, 0.0, ...] y_Coordinates = [0, -0.02, -0.06, -0.08, -0.10, -0.05, 0.0, ...] diagram 1: The only known things about the profile are the lists above and the following facts: the first coordinate is always the trailing edge, in the example above at (x=1, y=0) the coordinates always run on the bottom/underside to

Python curves intersection with fsolve() and function arguments using numpy

守給你的承諾、 提交于 2019-12-22 05:36:07
问题 I am trying to use fsolve as quoted here : http://glowingpython.blogspot.gr/2011/05/hot-to-find-intersection-of-two.html, On order to find the intersection between two curves. Both curves basically are two arrays of floats. The first of them is a one dimension array Pmech ( Pmech(x) ) and the second is a two dimension array Pair ( Pair(x,y) ) The x - axis is common for both arrays ,so what i want to do is for every y to see where Pair and Pmech intersect. I am aware of the fact that fsolve()

Draw a curved line from an arc edge

家住魔仙堡 提交于 2019-12-20 03:55:06
问题 Here's the screenshot of what I am doing. Currently, I'm stuck from drawing a curved borders into this rectangle. My first solution was: draw a quartered circle behind the rectangle, but if I adjust the opacity of the shape, as you can see, the quartered circle gets shown. I know this is pretty basic for you guys but I'm not really good at math. I did try to reuse the computed edges of the arc and add the size of border but I got this as a result. I also think of bezier curves as a