Questions tagged [thickness]

Describes the thickness of a frame around a rectangle. Four Double values describe the Left, Top, Right, and Bottom sides of the rectangle, respectively.

Thickness values can be specified in two ways. When it is passed four Double values to the structure, they represent the Left, Top, Right and Bottom sides, respectively, of the bounding rectangle. Alternatively, it can also supply a single value, which applies a uniform value to all four sides of the bounding rectangle.

72 questions
1
vote
0 answers

How can I find the thickness of a ROI traced via imfreehand in Matlab?

I am faced with a task to take a ROI on an image that was traced via the imfreehand function and determine the thickness of that ROI, preferably at all points. Has anyone ever faced similar tasks before, or implemented something like the ImageJ…
Michael
  • 11
  • 1
1
vote
1 answer

Varying a stroke width of a curve in JavaFX

Is there a way to create a curve in JavaFX with a varying stroke width? For example, starting at 10 point and end at 1 point.
melkhaldi
  • 899
  • 2
  • 19
  • 40
1
vote
1 answer

How to plot the function f(x) so that one part be a ticker line than another depending on the value x?

How to plot the function f(x) so that one part be a ticker line than another depending on the value x? (Curve is efficient frontier - portfolio optimization)
1
vote
1 answer

How to adjust JFrame border thickness in Java

I'm using Vista, my old Java app ran on Win XP has thin borders, about 2 pixels thick, but now on Vista, the borders deafults to thick lines, maybe 6,7 pixels thick, can I specify in Java how thick my JFrame borders should be ?
Frank
  • 30,590
  • 58
  • 161
  • 244
1
vote
2 answers

Change border thickness of textInput in error state in Flex?

I know you can change the errorColor of a textinput, but I'm searching for the possibility to change the thickness of that border on error. It seems that the thin red line is not very noticeable, and I want to bring more attention to fields which…
Pierre
  • 31
  • 3
0
votes
0 answers

CSS Underline using pseudo styles - thickness changes on position change issue

I am using CSS Underline using pseudo styles to create underline for text. And facing an issue of underline thickness is changed on changing the position of the CSS property bottom on my website. .underline { text-decoration: none; position:…
0
votes
1 answer

DT table header line thickness

Again, this is probably super simple, but after spending a few hours searching I am giving up. Here is the very simple code: library(DT) datatable( iris, class = list(stripe = FALSE), style = "default", options = list(dom = "t")) How to…
AussieAndy
  • 101
  • 2
  • 11
0
votes
1 answer

Plotly: Line thickness is greater than expected. Why?

I have the following Python code that generates the attached image. I expect that by specifying the line thickness, the line would span the range from [-0.5, 0.5], but it exceeds it. Any ideas why? Thanks in advance. import plotly.graph_objects as…
STBoerner
  • 1
  • 2
0
votes
1 answer

How to bold/thicken state border on maps made in R while including county borders?

I am trying to map all 50 US states and their respective counties. But I specifically want to thicken/bold the US state borders while keeping the county borders thin. This is the code I have tried to map my data. Please note that I had to use a…
0
votes
1 answer

3D Frontal bone thickness colour map

I want to calculate the thickness (with color map)of 3D frontal bone model using meshlab. Can I do that using shape diameter function in meshlab? Can I follow this step in youtube? https://youtu.be/it-RxI9z_io Or should I follow this? How to…
0
votes
0 answers

How to calculate thickness of a tube-like 3D mesh with a hole in Python or Meshlab?

I have a 3D geometry of an organ with a cavity. It is in a 3D numpy array but can convert to STL. My task is to calculate its 3D wall thickness of it. I tried doing it in 2D and then considering it in 3D. But I wonder if there is a way to do it in…
Savindi
  • 123
  • 1
  • 8
0
votes
0 answers

Can we do the distance transform from one boundary to another?

I have ring-like binary images with varying thicknesses. I want to calculate its thickness by calculating the distance between the inner and outer boundaries. In many places, people used distance transform to do this. Ideally, if I take the…
Savindi
  • 123
  • 1
  • 8
0
votes
0 answers

OpenGL line width/thickness

I've got two models in my openGL. I'm trying to set a line thickness of these models. I tried to do it by glLineWidth but it does not work. How can I set line thickness of this models individually? Is it a good way to adjust the line thickness by…
0
votes
0 answers

Matplotlib: Problem with line thickness of curve that partly coincides with axis

I have a 2d plot on the (x,y) plane, x range is [0,10], y range is [0,20]. The thickness of the curve is set to 2. Part of the curve lies along the y-axis. For this portion of the curve its thickness is almost 0. Basically, the y-axis is on top of…
dh16
  • 1
0
votes
0 answers

Adding boundary thickness parameter to the given circle code

I have this code that creates an image containing a circle. Now I want to add a boundary thickness parameter in the given code just like we can do in openCV. Please help me with how can I add that to the given code. Code: from datetime import…