Questions tagged [scaling]

Scaling refers to the image manipulation function of re-sizing an image. For issues to do with handling increasing workload gracefully in software or network components, see "scalabilty".

Scaling refers to the image manipulation function of re-sizing an image.

2497 questions
0
votes
0 answers

Scale down a QR Code into it's original pixel size

I'm trying to find a way to scale down a QR Code into it's original pixel size without losing data. QR Code Version 1 Contains 21x21 Pixels but a lot of the generated QR Codes are scaled up to 200x200 or 300x300 pixels. I'm trying to scale down the…
0
votes
0 answers

Scaling with Kmeans Clustering

I have a clustering problem I'd like to solve and I'm wondering if scaling is recommended for the way my data is structured. Below is a hypothetical problem which should be relatable to my actual use case. Say we're looking at data from a grocery,…
D Note
  • 1
  • 1
0
votes
2 answers

MySQL Memory Table, Memcached or anything else?

A dataset growing currently >1 million which requires constant lookup / updation of user specific data. looking for fastest and scalable option with high TPS. Memcache/memcacheddb vs mysql memory tables are a big confusion for implementation and…
axe
  • 11
  • 2
0
votes
0 answers

Using joblib.load() with data which was scaled

I did a very simple linear regression program for learning and I wanted to use streamline to deploy it. My code looks a bit like this this: #separate features and target variables X = df['Number of Claims'] #X is a number between 0 and 124 Y =…
Luis
  • 15
  • 4
0
votes
0 answers

Disabling high-DPI scaling of Qt application

How do I disable high DPI scaling in Qt application? I've tried QApplication::setAttribute(Qt::AA_DisableHighDpiScaling); as the first line in main() — no effect.
Bibasmall
  • 33
  • 4
0
votes
0 answers

FFMPEG Outputs gets blurry when scaled

I'm trying to scale my input video to standard 1280x720 resolution, but my output looks blurred when compared to the input. FFMPEG CMD ffmpeg -i input.webm -filter_complex "[0:v] scale=1280.0:720.0 [v0]" -map [v0] output.webm Input File…
Ps Sarvna
  • 1
  • 4
0
votes
1 answer

My page doesn't scale well as soon as I load it in a mobile device

Basically, it's a random quote page but it is not displaying properly on mobile device screens. The background image doesn't cover the whole mobile screen it does cover the whole computer screen. Also, the space that isn't covered gets filled with…
0
votes
0 answers

In Kendo Charts, how to have a double scaling values for my Yaxis

I have trouble with the Kendo Charts. I want to have a yAxis with two different type of values on the same axis. I can have two differents axis, ( in the same side, or one of each side ), but the objective is to have everything in only one as in the…
0
votes
1 answer

Windows Forms application DPI support does not work when location is changed dynamically

There is a Windows Forms application with DPI support enabled. Following label is properly aligned when I change display scaling and run the app again. I need to change its location depending to some condition, so I did it in C++ by setting Location…
Ashot
  • 10,807
  • 14
  • 66
  • 117
0
votes
0 answers

If Windows increases the DPI when we increase OS scaling, why does anything actually increase in size?

Taken from this page from Micrsoft, it states that The standard DPI settings are 100% (96 DPI), 125% (120 DPI), and 150% (144 DPI). Now taking their example further down the page which has For example, if the user's DPI setting is 144 DPI, and you…
J. Doe
  • 92
  • 5
0
votes
1 answer

Bitmap scaling using nearest neighbor not correct

I am currently developing a tile-based game in C and I'm trying to implement zooming using the nearest neighbor algorithm. This is how the algorithm it looks right now: u32 *DestPixel = (u32 *)DestBitmap.Pixels; u32 *SourcePixel = (u32…
user13606245
0
votes
1 answer

How to scale an axis within multiplot

The error msg: multiplot> plot file1 u ($1/100):2 t "" w lp line 0: all points y value undefined! is listed when the script (below) is executed. What am I doing wrong? #!/bin/bash cat > x.dat <<- "EOF" 100 1 200 2 300 3 EOF cat |…
Ronpac
  • 39
  • 4
0
votes
0 answers

real-time normalization of sensor data

I am trying to normalize my sensor data set. I would get prefect results if I get the min and max values of my data set. (sensor-sensor.min())/(sensor.max()-sensor.min()) However, my sensor data is real-time and it would not be possible to have the…
0
votes
1 answer

Scaling and translating a Polygon after Zooming In

Let's say we have a triangle within an image. We zoom into the image, where the center of the zoom is where our cursor is. The triangle needs to translate and scale along with the zoom of the image. For example, in the orginal unzoomed image I have…
0
votes
0 answers

Icon set on an Outlook folder with MAPIFolder.SetCustomIcon does not scale properly on high DPI screen

I am trying to set an icon to a folder from VSTO Outlook add-in using approach similar to what described here: How to programmatically set a custom icon on an Outlook search folder? (i.e. Outlook Folder SetCustomIcon) It is working, but fail in…
Sergey Belikov
  • 420
  • 3
  • 14
1 2 3
99
100