I want to reduce the trackLine width . How can ı do that? - slider

enter image description here
I want to reduce the trackLine width . How can ı do that?

Related

Find star in an image at give coordinates

I have an star image like this
and a list of the center of the detected stars which looks like this
Name;RA(deg);Dec(deg);PixelX;PixelY;RPmag;Gmag;BPmag;Parallax;Flags
;313.311502;44.387289;2516;1458;4.850;4.728;4.681;5.8088;000800f0
;313.327406;45.181692;236;2256;4.517;5.190;5.715;3.6700;000800f0
;314.580976;44.472083;3131;4138;4.660;5.304;5.779;14.4950;00800f00
;314.471585;44.788107;2143;4206;4.358;5.673;7.615;1.9323;000800f0
; ...
I want to detect the contour/size of the star at the x,y coordinates of each entry and then write a white dot in the size of the star to a new image.
Has anyone an idea how to use the contour detection of opencv/cv2 on given coordinates?

React Native: Image not being cropped properly from bottom issue:

We are facing image issue with our code in react native application. We have put image in our react native code with Image tag in code. We have set size - height and width of the image to 150, let’s say. Our problem is that when I reduce the height of the image to 100 it crops the image from both top and bottom. While as per our need we want image to be cropped it from only bottom. Below is the sample code and output of the code we have written.
For Example, We have put one image with width and height of 150 as per the below code, and we are getting the output as per the right side of the window.
(Image (i) ) ( https://ibb.co/CJjc4SP )
Now, when we set height of the image to 100, it crops the image from both top and bottom. While as per our need we want image to be cropped only from bottom. Please refer below code snippet and output for the same.
(Image (ii) ) ( https://ibb.co/FhZ1gxh )
Further explaining the example, Image 1 below is the image that we are using in our code with height 150. When we reduce its height to 100, Image gets cropped from both top and bottom as per the Image 2. While we want output image to be cropped from only bottom as per the Image 3. Please refer below images for the same.
Original Image (1) - ( https://ibb.co/JRzk1T8 )
Cropped output Image (2) - When we reduce image height from 150 to 100, Image
gets cropped from both top and bottom as per the image. - ( https://ibb.co/GJkW7PX )
Expected Output Image (3) – While we want image to be cropped only from
bottom as per the above image. - ( https://ibb.co/jZkdHhw )
We have multiple images in our project. So please give proper resolution accordingly. - ( https://ibb.co/nPD4JvQ )
Is there any way we can crop image from only bottom when applying reduced size height? Or by applying any other props or attribute?
Kind Regards,
Uday

How to get the size and position of edge labels?

I want to place edge labels on a specified position in my graph. I found that i can manipulate the labels position with text-margin-x and text-margin-y but to calculate the needed margins I need to know the current position of the label. I already tried using source-label and the position of the source node but this means that text-events no longer work.
Is there a way to get/calculate the position of the label on segments edges?
Furthermore to help me align certain labels I need to know how to get/calculate the bounding box of the edge label, is there a way to do this?
Any help is appreciated!
I found that i can use edge.midpoint() to get the location of the label.
For the size of the label I use a workaround where I render everything once to get the labelHeight and labelWidth from rstyle and then I rerender everything correctly.

Photoshop making isometric?

Hi everyone. I'm trying to learn isometric picture on photoshop.
I've found an example on web, just as an image. At this image, left square is my tile. I should transform this to the diamond at right.
But I'm wondering that, how can I make it most pratically?
I've transform the rotate to 45'.
What should I do now?
I've used distort to the the same but I don't know which values I should enter.
X: ? Y: ? W: ? Y: ? H:? ANGLE: ?
my square is 200px/200px. and which values I must enter to make it diamond like in the picture (is there any math formule?)
So:
Rotate angle 45
Resize image: W=100%, H=58%
or use this script
Maybe you can transform x'=x and y'=x+y/2. Look the spiral search: Optimizing search through large list of lat/long coords to find match.

VBA gives wrong plotarea width?

I want to get the PlotArea width and height in order to calculate the proportion.
I used ActiveChart.PlotArea.Width to get the width, and then tested the width using Photoshop.
I discovered that the width returned by ActiveChart.PlotArea.Width is wrong.
Image shows what I am talking about:
I have no Idea why...
Please help me to understand why it happens and how to fix it...
Thanks!
PlotArea.Width is returning the width in points not pixels.
http://msdn.microsoft.com/en-us/library/ff198324.aspx
Points are a unit of length. Pixels are variable on a number of factors like monitor, fonts, truefont settings, ect. Here is a SO post about converting pixels to points: Convert Pixels to Points