Questions tagged [image-processing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

Issues with fitLine() in opencv2 [migrated]

I'm trying to write a simple function that fits a line to a binary image: # threshold image thr = cv2.threshold(src, 0, 255, cv2.THRESH_OTSU)[1] # get angle vx,vy = cv2.fitLine(numpy.float32(thr), ...
0
votes
1answer
21 views

Why are screen recordings on MacOS unable to be played once copy/pasted to a usb drive?

If I take a screen recording in MacOS, (seemingly regardless of file size) and copy/paste it into a usb drive, then try to play the .mov file from the usb (on a Mac)I get the error: The document <...
0
votes
0answers
51 views

Some images broken in Thunderbird but suppressed/removed in Gmail

I'm subscribed to an IMAP Gmail account in Thunderbird. The Allow remote content in messages is enabled in Options. But, some email images (not all) in Thunderbird show a broken image icon along with ...
0
votes
0answers
9 views

Vector image - convert JPG to EPS or build EPS from scratch

my friend have sent .jpg logo to some company and they responded that they do not accept that format and they needed it to be vector version and can't use .jpg, I wonder if converting .jpg to .eps ...
0
votes
0answers
8 views

Slicing a tall image with specific height using ImageMagick including the last part?

I have a tall image that I want to slice into 2048px height chunks. I am doing the following: magick *.png -crop x2048 +repage output/part.png But the problem is the last part of the image does not ...
0
votes
1answer
53 views

Change letters from black to white on image

I have an image of a logo (format *.jpg but can use others if necessary), which has black letters on a white background, like this: I would like to change the letters from back to white, while still ...
0
votes
1answer
73 views

Bulk convert image-data URIs to images

I have a text file of 391 image-data URIs, one on each line. I need to batch-convert them all to images, named according to their sequence (i.e. image001.png, image002.png or similar). What do people ...
0
votes
1answer
28 views

How to save image file, using “xfce4-screenshooter -r -c” command?

I using xfce4-screenshooter -r -c command for make a screenshot. xfce4-screenshooter --help says: -c, --clipboard Copy the screenshot to the clipboard -r, --region Select a region to be ...
1
vote
0answers
37 views

GIMP/Imagemagick: Breaking single images into multiple images

I have pulled the image files from this Gregg Shorthand resource site with the intent of using the shorthand figures in Anki flashcards to complement my study of the system. You will note that the ...
0
votes
1answer
73 views

Convert PowerPoint Slides into Single Infographics

Infographics are graphic visual representations of information, data, or knowledge intended to present information quickly and clearly. I have PowerPoint presentation with about 8-10 slides, this ...
0
votes
1answer
160 views

Use find to delete all images under given dimensions

I just used Recuva and Photorec to recover some data off an accidentally-formatted drive. Naturally, the result is every intact file that ever existed on the drive during its lifetime. This means tens ...
0
votes
0answers
15 views

Floodfill on all the border pixels

I would to remove all regions starting at the border of the picture by floodfill, is there a way to do this in imagemagick? More specifically I would like a floodfill with a tolerance value (like +-5 ...
0
votes
0answers
7 views

Replace background by a color using a mask

New to image magick, I can't figure out how to replace the background of a picture with a background mask, even after reading the documentation on mask is still not clear to me how to achieve this. ...
0
votes
1answer
40 views

How to stitch 3 JPEG files horizontally to generate a big image that represent a 2 pages big crossed words? [closed]

I have scanned a big crossed words (2 pages in a tv magazine) using my personal scanner. I have now 3 PNG files that I want to combine to generate the original crossed words. After having scanning ...
0
votes
0answers
34 views

“Canonicalize” PNG files

I am looking for a way to process a set of PNG files in such a way that if they contain the same image data, the files will be byte-by-byte identical too. Is there a quick and easy, automatable way ...
0
votes
0answers
59 views

How to extract images from multiple pdfs in one go

I wrote a code to extract images from a Scanned pdf file. When I run the code, system prompts me to select the pdf file and after I select the file it hangs and does not extract the images. from ...
3
votes
2answers
911 views

How to convert DICOM images to PNG?

I have some DICOM medical imaging files downloaded from Cancer Imaging Archive. I can convert them from DICOM to several other formats, but as you'll see the conversion isn't working as expected in ...
0
votes
1answer
341 views

How to use dcmcjpeg to convert DICOM to JPEG?

The dcmcjpeg tool from the dcmtk package (sudo apt-get install dcmtk) is supposed to convert DICOM image files to JPEG. But I suspect it still wraps the image in a DICOM container, because when I try,...
2
votes
1answer
50 views

How can I use ImageMagick to batch resize and use -extent with transparency?

Version: ImageMagick 7.0.8-68 Q16 x64 2019-10-05 Windows 10: 1903 I have hundreds of logos that I need to resize to a standard and then use -extent to pad back out. magick 608000000000051.png -...
0
votes
0answers
29 views

Desktop Background Scaling and RAM usage

I've been setting my wallpaper on all my computers to just a single pixel image, in order to conserve RAM for more important uses. But I wonder if, in the process of the OS scaling the image to screen ...
0
votes
0answers
72 views

Command or program to get width, height + XMP tags?

I have a problem while working in Windows command line whereby I am trying to get width, height and XMP tags (where applicable) from a large number of image files in a variety of formats (JPEG, PNG, ...
0
votes
0answers
53 views

Convert earth disk image into flat image

I'm trying to process satellite images which are in disk (round / spherical map) format, and convert it to a flat (plane map) format (equirectangular?) so I can then crop it down. I have no issue ...
0
votes
1answer
42 views

Image size reduction from comision art after saving with paint

I comission some art, and have a problem with an artist: He sends me a finished digital picture with normal size. For example, 5 mb for 4k x 5k resolution. But once I go to the program "paint" and ...
0
votes
0answers
366 views

FFmpeg image slideshow (multiple images) with infinite loop till audio file ends

I want to make an image slideshow (multiple images) with an infinite loop until the audio file ends, and with a full duration audio file. Is there anybody who can help me out.... Earlier I was doing ...
0
votes
1answer
679 views

ffmpeg cropping: 'Invalid too big or non positive size for width'

I'm trying to generate images thumbnails using ffmpeg. The folder contains various jpeg files with different resolutions. ffmpeg -y -i input1.jpg -filter_complex "scale=(iw*sar)*max(238/(iw*sar)\,358/...
0
votes
1answer
34 views

How to merge a png on top of a jpg using the command line?

Ubuntu 16.04 Bash 4.4.0 I have a ton of vehicle images to create on a daily basis. My routine is simple but if I can automate this in a bash script, that would be super awesome. I connect to an ...
0
votes
1answer
91 views

ffmpeg png to gif losing first half of frame list with fifo filter

Can anybody suggest a solution to (or at least a cause for) the following snag I'm experiencing in Windows 10, please? While I originally thought this was, maybe, a problem with the source images, I'm ...
2
votes
2answers
187 views

Add 'Save as webp' To windows 10, Right Click Context Menu

I would like to know if there is a way to add 'Save As WebP' image file format to windows 10 right click context menu. Through the registry. WebP images are a new file format that is designed ...
2
votes
0answers
127 views

Tesseract: OCR hex and binary strings from old documents

I have some questions about Tesseract Context I am currently working on an old cryptographic algorithm from East Germany (GDR) which was developed in the 80s. I implemented the algorithm in C#. Now ...
0
votes
0answers
45 views

Way to record the last n minute from webcam

I try to use or create a software to record the last n minutes from a webcam. I use opencv to grab images from my webcam but I don't know if it is the best way to create a in real time a video. I ...
1
vote
1answer
57 views

How could I resize this image without misplacing pixels?

I wanna resize an upscaled 1366x768 image down to its native 480x270 again. Every time I do it, lines of pixels are misplaced. Example with highlighted areas. The image on the right is slightly out ...
0
votes
0answers
8 views

Open multiply files in same viewer in MacOS

Normally I open multiply images in Preview like: open temp1/* But when files number is large it says The selected folder contains many files. This may result in many windows being opened, with ...
0
votes
0answers
13 views

When it becomes interesting to use HDFS to store images?

I am starting to create an architecture for an image processing software. And I started asking myself if there was a certain amount of images( 10's Gb, 100's Gb or 1's Tb) at which it is advised to ...
0
votes
1answer
79 views

How to pad images with imagemagick?

I need to process a set of identically formatted images to get them to conform with my client's website format. I wanted to use ImageMagick's convert or mogrify instead of ffmpeg but I just cant make ...
1
vote
1answer
203 views

How to turn off the anti-distortion in Hugin (panoramic image software)?

The software uses various cartographic mapping thingies to account for the distortion in photographic images. However, I'd like to stitch together several images that don't have this problem (...
0
votes
0answers
62 views

How to install OpenNI, PCL on Win10 to use Kinect V2?

I want to capture point cloud with Kinect V2, PCL and OpenNI. I can not install pcl all in one, it says path is too long but my system environments - path is almost empty. Am I doing something wrong? ...
0
votes
0answers
160 views

Intel RealSense Camera R200 video feed is all green

I am trying to get an Intel Realsense R200 camera working on a Windows 10 machine using Python 3.7.3 and OpenCV 4.1.0. The problem is that when I open the application the video feed is all green ...
1
vote
2answers
231 views

Copying unknown tags with ExifTool

I have some images which I edited in GIMP, which lost some EXIF metadata in the process (and some EXIF tags added, too), so when I'm done I copy all the metadata from the original image into the ...
0
votes
1answer
3k views

How to calculate the size of an image?

How many images of size 800×600 with 8-bit gray level can be stored in 512 MB of storage?
1
vote
0answers
22 views

BoofCV polygon drawing equivalent for Android [closed]

https://boofcv.org/index.php?title=Example_Fit_Polygon This link above gives does some image detection, and provides good example but it is not for android which is what I need. What I'm really stuck ...
0
votes
1answer
61 views

How can I overlay 2 binary images to save the white color on Ubuntu?

Imagine there're two the same binary images (all pixels are black). And then you take the 1st image and make some of the pixels white (e.g., points (10,10) and (11, 11)) and do the same operation for ...
1
vote
0answers
327 views

Is it possible to optimise and resize an image with mozjpeg?

I want to be able to compress and resize and image with mozjpeg's cjpeg command However according to the usage file it does not seem like cjpeg can do both in one single command. Is it right? If ...
2
votes
2answers
450 views

How can I enhance the gray text on scanned crumpled receipts?

Consider the following snippet of a receipt I've scanned: usually when I scan receipts I manage to separate the text and the background using something like a color-range selection tool, selection ...
1
vote
1answer
272 views

How can we get a git gui client that does proper image diff?

We're just starting a project (Unity based) and are using git (we've used SVN in the past) on Windows 10 and MacOS. We're currently using Sourcetree as our client, though we're open to use over ...
1
vote
1answer
2k views

How to use ffmpeg removelogo filter

I am trying to use ffmpeg removelogo filter, there is no syntax error but result has some kind of weird magenta triangle where mask is applied. I am using following command ffmpeg -y -i sample_image....
1
vote
0answers
54 views

Is it possible to render and/or recover half of an apparently damaged PNG file?

I have a chunk of a PNG file, missing its end. An unknown amount of data from the IDAT chunk is missing, as well as the IEND chunk. I've inspected the IHDR and it looks completely fine, correctly ...
0
votes
1answer
182 views

How to create an image using images with FFMPEG?

How to create an image using images with FFMPEG? Something like below? -f lavfi -i color=c=white:s=1080x1920 -loop 1 -i 1.png -loop 1 -i 2.png -filter_complex [0:v][1:v]overlay=shortest=1:x=0:y=0[v1];...
0
votes
1answer
18 views

Export all MATLAB images in one go

Code: https://pastebin.com/6MWsmaJF Essentially, I've created a function in Matlab which spits out around 200 images. How do I save all of these images in one go?
0
votes
0answers
310 views

Two eps files merged into one with them side-by-side: How?

How can I combining two EPS files side-by-side on Linux? What is the command to use?
0
votes
0answers
39 views

Fix Extremely low exposure pictures/videos

I have got a shot of our successful performance, but we were shocked at how noisy and how low the exposure of the video is. It is hard for us to re-shot for some reason. So I plan to recover it, but ...