Questions tagged [image-manipulation]

Image manipulation is the term used to describe various operations applied to images such as resizing, removing noise, or alteration of colour depth.

Image manipulation is the term used to describe various operations applied to images such as resizing, removing noise, alteration of colour depth. These operations are usually performed to improve the quality of the image (such as the removal of noise) or to alter it so that the image file is better suited to its intended usage(such as resizing to meet display constraints on a mobile device).

1495 questions
-1
votes
1 answer

Darken Filter to image in python (8.7.10 Darken Filter codehs)

I am trying to write a darken_filter and a change_picture function that modifies the pixels in the left half of the image to be darker. Help is much appreciated. Here is my current code: # Constants for the image IMAGE_URL =…
-1
votes
1 answer

calculate the height of character from binarization image OpenCV python

Hello i need to calculate the height of a character from a binarzation image ( see the image bellow):
-1
votes
1 answer

automatically extract tiles from comics

Is it possible to automatically extract tiles from comics, with an existing tool like ImageMagick or should I code a tool myself? I have seen answers using ImageMagick (Using imagemagick how can i slice up an image into several separate images?,…
-1
votes
2 answers

What's this brightness function

The brightness of an image can be measured by the below function as this paper mentioned In this paper, they didn't talk about Cr, Cg and Cb. Can anyone explain this function? Thanks in advance.
-1
votes
1 answer

Modifying an image in php

I have an image which i used as a template in php script .I have to edit certain portions of that image and add some text,pictures on that image during runtime.Now the problem is the image is to be modified at a large(but predefined) number of…
mukesh
  • 726
  • 1
  • 11
  • 27
-1
votes
2 answers

Help with resizing a image with a function

In the code below I am trying to resize a image after I upload it. All of the checks done with echo statements get the right data but it will not resize it and put it in the folder.
Terry
  • 9
  • 1
-1
votes
1 answer

Image Warping Using Python - Linux

I need to warp an image of an image in Python using my Raspberry Pi 4. Well, unwarp I should say. I'm writing a script to solve CAPTCHA codes to automate a task. All of the CAPTCHA codes are made of 4 letters and numbers in the same font, and are…
-1
votes
4 answers

converting the thumbnile image into original size

i am converting the image into thumbnail format and sending it to server and i want to convert it back to original size while receiving can any one please tell me how to resize the image to original without loosing quality..... i tried directly to…
user564963
  • 2,284
  • 5
  • 24
  • 33
-1
votes
1 answer

Estimate size image will be after resizing with only url without downloading it

I understand it is most likely impossible, but I'm also open to other suggestions. The problem here is simple, I have this backend API which receives a list of URLs containing very large images, which then are downloaded, resized, zipped and sent…
-1
votes
1 answer

python: manipulate images online insted of downloading them

I am running this code to compare the similarity of two profile images belonging to two different social networks, i am first downloading the images from the two websites,and then for each user,i give the local images paths to two variables, i…
Youcef
  • 1,103
  • 2
  • 11
  • 26
-1
votes
1 answer

tf.extract_image_patches Produces different output

I have images in a tensor [batch, height, width, depth], I want to extract patches from every single batch, and every single depth by using ksize=5x5 and stride=1x1. tf.extract_image_patches(images=images, ksizes=[1, 5, 5, 1], strides=[1, 1, 1, 1],…
-1
votes
1 answer

Checking image width/height and determine what picturebox to place it in

Hey all I have the following pictureboxes' size's on my WPF form: Box |Width |Height ----|------|------ 1 |357 |272 ----|------|------ 2 |357 |272 ----|------|------ 3 |365 |460 ----|------|------ 4 |365 |265 …
StealthRT
  • 10,108
  • 40
  • 183
  • 342
-1
votes
1 answer

PHP GD inappropriate transparancy

When i cropped a png image using php gd library it cropped in a strange way. As it is partially cropped. I think the transparency is not working properly. Here is my code imagesavealpha($this->image, true); $bg =…
Shahid Karimi
  • 4,096
  • 17
  • 62
  • 104
-1
votes
2 answers

how would I insert "_thumb" before file extension

How would I insert "_thumb" before file extension ? for example 123.jpg into 123_thumb.jpg please answer my question, it's been 3 days i didn't find the right way.. thank you this is my view :
-1
votes
1 answer

Display matrix data over an image in MATLAB

Basically, I'm trying to do the equivalent of MATLAB's image function on a background. The background is of the same size, if that helps. In the standard colormap, the colors obtained using image (with a matrix as an argument) range from blue (low…
odnerpmocon
  • 282
  • 1
  • 4
  • 17