Questions tagged [adjustment]
136 questions
3
votes
1 answer
OpenCV Bundle Adjustment
I am trying to use the OpenCV Bundle Adjustment: LevMarqSparse::bundleAdjust
Unfortunately the output seems totally wrong:
Iteration: 0, normError: 4.30244e+46 (3.64614e+44)
decreasing lambda to 0.024556
Iteration: 1, normError: 2.72985e+31…

Teris
- 600
- 1
- 7
- 24
2
votes
2 answers
Adjusted odds ratios using the or_glm() function?
I'm using or_glm() to calculate odds ratios, using this reproducible example:
library(oddsratio)
or_glm(data = data_glm,
model = glm(admit ~ gre + gpa + rank,
data = data_glm,
…

Wandering_geek
- 261
- 1
- 11
2
votes
1 answer
Python, x-axis title is overlapping the tick labels in matplotlib
I'm plotting a graph and the x-axis label is not visible in the graph.
I have tried to solve it by adding the
ax.xaxis.labelpad = -10 # Adjust x-axis label position
Instead the x-label will overlap the ticker label
How can this be adjusted to…

Wizhi
- 6,424
- 4
- 25
- 47
2
votes
1 answer
runtime error in bundle adjustment example - matlab
I asked it in MATLAB forums but didnt get a response. Hoping someone can answer the question here:
I tried using Bundle Adjustment example at https://www.mathworks.com/help/vision/ref/bundleadjustment.html#inputarg_xyzPoints
However, I get an error:…

Ramanpreet Singh
- 41
- 5
2
votes
1 answer
How adjust QHBoxLayout and QGraphicsView size dynamically with the mouse ? (Python, Pyqt4)
I'm struggling to find a solution to an issue.
I'm trying to modify the space allocated to two graphicscene in a window.
To be precise. I have a QHBoxLayout where I place two QGraphicsViews to plot something in them. Those two scenes are placed side…

ymmx
- 4,769
- 5
- 32
- 64
2
votes
3 answers
How to obtain adjusted dependent variables
Given the following dataset:
csf age sex tiv group
0,30 7,92 1 1,66 1
0,26 33,75 0 1,27 3
0,18 7,83 0 1,43 2
0,20 9,42 0 1,70 1
0,29 22,33 1 1,68 2
0,40 20,75 1 1,56 1
0,26 …

Borja
- 63
- 2
- 6
2
votes
0 answers
adjustsFontSizeToFitWidth Not Working When Text Is Being Edited
As you can see, I have an issue with the text fitting within bounds even when I have adjustsFontSizeToFitWidth = true
When the cursor is not there, the text adjusts to fit within the bounding box just fine.
Do you know how I can handle this case…

Aggressor
- 13,323
- 24
- 103
- 182
2
votes
1 answer
Pygtk Adjustment & Vertical Scale: How to invert curser max/min
I have translated this code to python 2.7, it's working.
But now I have a problem I can't solve by myself:
I would like to have the 100 value on the top, and 0 on the down. How to do this?
Here's my code:
#!/usr/bin/env python
# coding: utf8
import…

Guillaume
- 2,752
- 5
- 27
- 42
2
votes
2 answers
JScrollPane Set Scroll Position
I have following code snippet
query_area = new JTextArea("");
query_scroll_pane = new JScrollPane(query_area);
query_scroll_pane.setSize(1000,80);
query_scroll_pane.setLocation(10,10);
query_panel.add(query_scroll_pane);
which adds my textarea to…

aditya parikh
- 595
- 4
- 11
- 30
2
votes
0 answers
Adjusting the colour/contrast/gamma etc of the video source
I would like to know whether a Google TV device could be used as a 'man in the middle' and make manual adjustments to the colour and gamma of the input source from HDMI in, before output to the TV?
There are several apps already for phones/tablets…

teqhead
- 21
- 1
1
vote
1 answer
Can't eliminate background color under content
I'm having a little trouble here. Designing a website where I wanted two equally-spaced bars on either side with an accent color, and the content in the center is in a 800px wide box with a white background. Basically, three columns with different…

MDWar
- 103
- 13
1
vote
1 answer
Goodness of fit with one group but clustered data?
Let's say I have one group with a categorical variable with different frequencies of the levels, but the data is also clustered with unequal clusters - I am interested in whether some of the variable level frequencies are statistically significantly…

Abiologist
- 29
- 4
1
vote
1 answer
How to produce dependable dual y-axis?
I have this dataset:
x-axis
y-axis
y2-axis
15
9.585
88.38
45
9.4185
86.85
60
9.2655
85.44
I want to produce plot that two different y-axis in gnuplot, which is dependable each other
But, I troubled to adjust the second y-axis to the…

Muhammad Ihsan
- 35
- 3
1
vote
0 answers
how can we tell dagitty in R to not include a latent variable in the set of all the adjustment sets?
I am using dagitty package in R. I have a DAG as follows where U is latent:
library(dagitty)
dag <- dagitty("
dag {
U [latent]
U -> Z1
Z1 -> Z2
Z2 -> Y
U -> X
X -> Y
}
")
When I call the adjustmentSets(x = dag, exposure = "X", outcome = "Y" , type…

Sara
- 11
- 3
1
vote
1 answer
Calculate crude and ajusted rates per subgroup using ageadjust.direct
I am trying to calculate the incidence of a disease per year and per age-category. I also want to apply direct standardization. Im using the function ageadjust.direct (package epitools).
age_cat persondays_individual contactfirst_cat ESPpop…

RvS
- 149
- 8