Questions tagged [rescale]

155 questions
0
votes
1 answer

Rescale rectangle (Top, Left, Bottom, right)

Original question: Original question I have an image I1 of size height x width = (1500,500) resized to (500,300). I1 contains bounding boxes characterized by their coordinates (Top, Left, Bottom, Right). How can rescale the coordinates of the…
Hani Goc
  • 2,371
  • 5
  • 45
  • 89
0
votes
2 answers

SKAction scaleTo not working on iPhone 5S

I've found a strange behavior while using the iPhone 5S as development-target(Simulator and real device). I'd like to scale a SKSpriteNode with an SKAction.scaleTo. This works fine on the iPhone 4S and the iPhone 5 simulator(Tested with iOS 7.0.3…
Christian
  • 22,585
  • 9
  • 80
  • 106
0
votes
0 answers

Images size xxhdp

Hi I want to make app with a lot of pictures but if I put all images to all drawable folders my app has a big size, so one of you recommended me to put image to only xxhdp (android will resize it) There is my problem: I have device with hdp: scale…
user3934048
  • 39
  • 1
  • 9
0
votes
1 answer

Resize images depending on device

I have created an app with a lot of pictures in drawable folder, but putting various sizes of images to all drawable folders (ldp,mdp,hdp,xhdp,xxhdp) results in a very large app size. I want to add only one image and resize it depending on the…
user3934048
  • 39
  • 1
  • 9
0
votes
1 answer

I don't know how I can rescale my data? (e.g. 0~50 :1 50~100: 2 and so on..)

I want to rescale my data. for example: if (0 <= data[i] <= 50) data[i] = 1 if (50 < data[i] <= 100) data[i] = 2 if (100 < data[i] <= 150) data[i] = 3 etc ... I can do it tediously by using "for" and "if" but the maximum value is more than…
Boram Lim
  • 313
  • 3
  • 15
0
votes
0 answers

Android webview image quality loss before 4.4 kitkat

I have a website running a few images using the swipe js I found on github. I created a WebView to load that webpage however I am running into severe image quality loss on versions before 4.4 kitkat. I have tried the solution…
0
votes
1 answer

Auto inferring scale for a time series plot

Problem: I am plotting a time series. I don't know apriori the minimum & maximum values. I want to plot it for the last 5 seconds of data. I want the plot to automaticaly rescale itself to best fit the data for the past five seconds. However, I…
anon
  • 41,035
  • 53
  • 197
  • 293
0
votes
1 answer

Formula to calculate MIN & MAX for each Cutoff between 2 limiting values

i want to calculate MIN & MAX values for different Cutoffs, given their Cutoff %. The Cutoffs itself lie between 2 limiting values. e.g. there are min & max values calculated for each Cuttoff in Old_Scale where their limiting values are -5 to +5.…
sifar
  • 1,086
  • 1
  • 17
  • 43
0
votes
1 answer

GWT - Getting the current size of an image

I use the GWT image class with a ClickHandler to trigger actions when specific areas of the image are clicked. In order to specify these areas, I use the image's dimensions. The problem occurs when you change the size of your browser window. While…
mkiesner
  • 635
  • 5
  • 20
0
votes
1 answer

Rescale Animation

I have some code that code that's supposed to animate parts of my program, and right now, the animation dimensions are hard coded, i.e. every distance and location is specified by a number. I was just wondering, is there a way to rescale the…
0
votes
2 answers

Make MATLAB panels automatically rescale. (Not using GUIDE)

I have created a basic MATLAB UI (without using GUIDE). I basically have a bunch of panels for various things, (sliders, axes, text boxes, etc). The one thing I would like to do though, it make it so that they scale properly, when I resize the…
Spacey
  • 2,941
  • 10
  • 47
  • 63
0
votes
1 answer

Moving a view around the screen

I have an imageview that moves around the screen. So, I've set the LayoutParams to do it. But, the android insists on resize my imageview. How can I prevent this behavior? public void move(int x, int y) { width = this.getWidth(); height =…
rotterick
  • 384
  • 2
  • 5
0
votes
2 answers

What is the meaning of RescaleType = 'LOG_E REL' in a DICOM file?

I am trying to figure out the meaning of RescaleType = 'LOG_E REL' in a DICOM file. To be more specific, I need to know how to process the raw pixel values to get the image displayed in a proper way. Up to now I have only seen files with RescaleType…
user1919235
  • 470
  • 7
  • 17
0
votes
3 answers

How to rescale painted contents of JPanel

I have a window which contains upper JPanel where figures are painted and the lower JPanel where figures are listed in the JList the list looks like: [minature][figure.toString()] The minature is JPanel of a size 10x10. I would like it to contain…
user2344333
  • 147
  • 1
  • 1
  • 9
0
votes
2 answers

Viewport3D disable rescaling / resizing

How can I disable the following strange resize / rescaling behaviour of a Viewport3d in WPF? Notice that I do not change the window height: How can I disable this "feature" of WPF (or why does it do this?)
rhue
  • 35
  • 5
1 2 3
10
11