About 1,530,000 results
Open links in new tab
  1. python - Numpy Resize/Rescale Image - Stack Overflow

    I would like to take an image and change the scale of the image, while it is a numpy array. For example I have this image of a coca-cola bottle: bottle-1 Which translates to a numpy array of …

  2. The changing a color of image (rescale). Scikit-image

    Sep 19, 2021 · rescale doesn't know that you have passed a 2D color image. When you load it in, it is an array of shape (100, 100, 3), where the 3 elements of the final axis are the red, green, …

  3. python - Using skimage.transform.rescale twice on an image …

    Jul 18, 2020 · In a coursera guided project that I was doing, the instructor used from skimage.transform import rescale image_rescaled = rescale (rescale (image,0.5),2.0) to distort …

  4. r - How to rescale value to a specific range? - Stack Overflow

    Aug 30, 2021 · I'm trying to rescale a dataset of Rdata comprised between 0.17 and 0.00002589 to a range between 0 and 1. I would like the cumulative frequence to be equal to 1.

  5. r - Scale a series between two points - Stack Overflow

    How do I scale a series such that the first number in the series is 0 and last number is 1. I looked into 'approx', 'scale' but they do not achieve this objective. # generate series from exponential

  6. scaling - How can i rescale every column in my data frame to a 0 …

    Oct 19, 2013 · a b c 0 89 80 100 93 60 0 88 100 i hope that is somewhat clear.. i have tried scale () but can not seem to get it to work.

  7. python - Automatically Rescale ylim and xlim - Stack Overflow

    May 22, 2023 · I'm plotting data in Python using matplotlib. I am updating the data of the plot based upon some calculations and want the ylim and xlim to be rescaled automatically. …

  8. Newest 'rescale' Questions - Stack Overflow

    Oct 30, 2025 · I need to rescale data from a specific range (-120, 14870) to (0, 512). I've been trying different methods but not one seems to be succesful, any ideas how can i get it done?

  9. dicom - rescale slope and rescale intercept - Stack Overflow

    Apr 17, 2012 · The rescale slope and rescale intercept allow to transform the pixel values to HU or other units, as specified in the tag 0028,1054. For CT images, the unit should be HU …

  10. Rescaling a variable in R - Stack Overflow

    Sep 22, 2014 · Thanks for all the great responses. I have tried the seq tool. It looks like it provides the same results as the rescale function, isn't? Also, is there a way I do this transformation …