Questions tagged [image]
This tag is for questions related to the loading, formatting, saving, compression, and display of data representing pictures.
740
questions
0
votes
0
answers
24
views
set Member Function Implementation for Image in C++
This is a follow-up question for draw_if_possible Template Function Implementation for Image in C++. In G. Sliepen's answer, set member function has been mentioned. ...
2
votes
1
answer
80
views
draw_if_possible Template Function Implementation for Image in C++
This is a follow-up question for Midpoint Circle Algorithm Implementation for Image in C++, draw_circle Template Function Implementation for Image in C++, SIFT Keypoint Detection for Image in C++, ...
2
votes
2
answers
107
views
Midpoint Circle Algorithm Implementation for Image in C++
This is a follow-up question for draw_circle Template Function Implementation for Image in C++, SIFT Keypoint Detection for Image in C++, difference_of_gaussian Template Function Implementation for ...
6
votes
1
answer
152
views
draw_circle Template Function Implementation for Image in C++
This is a follow-up question for SIFT Keypoint Detection for Image in C++, difference_of_gaussian Template Function Implementation for Image in C++, conv2 Template Function Implementation for Image in ...
3
votes
0
answers
102
views
SIFT Keypoint Detection for Image in C++
This is a follow-up question for difference_of_gaussian Template Function Implementation for Image in C++, conv2 Template Function Implementation for Image in C++ and imgaussfilt Template Function ...
2
votes
0
answers
54
views
difference_of_gaussian Template Function Implementation for Image in C++
This is a follow-up question for conv2 Template Function Implementation for Image in C++ and imgaussfilt Template Function Implementation for Image in C++. I am trying to perform Difference of ...
4
votes
2
answers
376
views
convn Template Function Implementation for Image in C++
This is a follow-up question for conv2 Template Function Implementation for Image in C++ and conv3 Template Function Implementation for Image in C++. I am trying to perform n-dimensional convolution <...
1
vote
1
answer
44
views
conv3 Template Function Implementation for Image in C++
This is a follow-up question for conv2 Template Function Implementation for Image in C++. Besides two-dimensional convolution, I am trying to implement three-dimensional convolution for 3D image in C++...
3
votes
1
answer
272
views
imgaussfilt Template Function Implementation for Image in C++
This is a follow-up question for im2double and im2uint8 Functions Implementation for Image in C++, conv2 Template Function Implementation for Image in C++ and An Updated Multi-dimensional Image Data ...
3
votes
2
answers
279
views
im2double and im2uint8 Functions Implementation for Image in C++
This is a follow-up question for conv2 Template Function Implementation for Image in C++ and An Updated Multi-dimensional Image Data Structure with Variadic Template Functions in C++. For performing ...
4
votes
1
answer
142
views
2
votes
0
answers
40
views
Convert Image Class to OpenCV Mat Data Structure in C++
This is a follow-up question for An Updated Multi-dimensional Image Data Structure with Variadic Template Functions in C++. I am trying to build the bridge to perform the conversion between the ...
1
vote
0
answers
44
views
Alternative Solution for Converting Word Shapes to Images for UserForm
I am trying to convert shapes embedded in a Word document into image files so that I can display them in a UserForm. My current approach involves using Microsoft Publisher to save the shapes as image ...
1
vote
0
answers
47
views
Two Dimensional Discrete Fourier Transform Template Function Implementation for Image in C++
This is a follow-up question for An Updated Multi-dimensional Image Data Structure with Variadic Template Functions in C++. For learning purpose, I am trying to implement two dimensional discrete ...
8
votes
3
answers
460
views
conv2 Template Function Implementation for Image in C++
This is a follow-up question for An Updated Multi-dimensional Image Data Structure with Variadic Template Functions in C++. I am trying to implement conv2 template ...
4
votes
0
answers
93
views
Image Rotation with Shear Transformation in C++
This is a follow-up question for Image Rotation and Transpose Functions Implementation in C++ and An Updated Multi-dimensional Image Data Structure with Variadic Template Functions in C++. I am trying ...
5
votes
1
answer
125
views
Creating random music covers using Conways Game of Life algorithm
(A sample cover art follows.)
I'm currently working on replacing all the covers of my music files to have a unified theme, and I've started this project in Java to refresh my knowledge after a gap of ...
8
votes
2
answers
461
views
Image Rotation and Transpose Functions Implementation in C++
This is a follow-up question for Gaussian Fisheye Image Generator Implementation in C++ and An Updated Multi-dimensional Image Data Structure with Variadic Template Functions in C++. I am trying to ...
3
votes
1
answer
97
views
Gaussian Fisheye Image Generator Implementation in C++
This is a follow-up question for An Updated Multi-dimensional Image Data Structure with Variadic Template Functions in C++ and Three dimensional gaussian image generator in C++. I am trying to make a ...
1
vote
1
answer
109
views
An Updated Multi-dimensional Image Data Structure with Variadic Template Functions in C++
This is a follow-up question for Multi-dimensional Image Data Structure with Variadic Template Functions in C++. Considering the suggestion from G. Sliepen:
Make everything work for more than 5 ...
5
votes
1
answer
289
views
Multi-dimensional Image Data Structure with Variadic Template Functions in C++
This is a follow-up question for Three dimensional data structure in C++. I am trying to implement multi-dimensional image data structure with variadic template functions. For example, ...
5
votes
2
answers
835
views
Three dimensional data structure in C++
This is a follow-up question for Three dimensional gaussian image generator in C++. Considering the suggestion from G. Sliepen:
Structure of a 3D image
Your 2D ...
5
votes
2
answers
537
views
Three dimensional gaussian image generator in C++
This is a follow-up question for Two dimensional gaussian image generator in C++. Besides the two dimensional case, I am trying to implement three dimensional gaussian image generator which with ...
3
votes
0
answers
61
views
OpenCV for Faster Background Recovery in Watermark Removal
I am working on a watermark removal project using OpenCV in C++. The goal is to recover the background from a composite image by separating it from the foreground (watermark). The code processes the ...
16
votes
7
answers
4k
views
Image Processing Application in C
I'm making a image processing application in c from scratch using P6 ppm images, I want some input on my code before I start adding more features to prevent it from falling apart if it's not well ...
3
votes
1
answer
142
views
Filter: BMP Image Filtering Tool - follow-up
This is a follow-up of this quesiton: Filter: BMP Image Filtering Tool
Changes:
Added comments where necessary.
Added checks for integer overflow.
Added support for input and output redirection.
...
6
votes
4
answers
1k
views
Filter: BMP Image Filtering Tool
Filter is a C program that allows you to apply filters to BMP images.
Usage:
Usage: filter [OPTIONS] <infile> <outfile>
Review Goals:
General coding ...
0
votes
1
answer
282
views
WordPress Plugin for WebP/AVIF Image Conversion
I'm looking for feedback on a WordPress plugin I developed for automatically converting images to WebP and AVIF formats. The goal is to optimize image loading performance.
The plugin has the following ...
1
vote
0
answers
63
views
Convolution to reduce popcorn noise in black and white video
I have a black & white video as a tensor with the shape [Time, Width, Height] with popcorn noise and I would like to reduce the noise by naively convolving along the time dimension.
Using a ...
4
votes
2
answers
169
views
NumPy script to convert BGR to HSL and back
This is a NumPy script that converts BGR arrays to HSL arrays and back, without using OpenCV. Input and output values are arrays of 3 dimensions with values ranging from 0 to 1, the shape of the ...
4
votes
2
answers
406
views
Analyzing Product Photography Quality: Metrics Calculation -python
I am working on analyzing product photography data on the website and would like to gather feedback on my approach. The goal is to calculate various image metrics to assess the quality of product ...
1
vote
1
answer
131
views
Corner detect takes long time to run
I am using OpenCV’s findchessboardcornersSB function to find the corners in the image. I am using below code/ header file:
...
7
votes
1
answer
683
views
Remove hot-spots from picture without touching edges
In the picture below there are some regions which are very bright (i.e. more white). Some bright regions are wide and some are narrow or thin. The red box covers one such wide bright spot, and blue ...
6
votes
1
answer
455
views
Image stitching using SIFT keypoint descriptor and homography matrix
I have written a code to stitch 2 images using SIFT keypoint descriptor and homography matrix for perspective transform. Are there any areas where code an be improved or optimized?
...
5
votes
1
answer
202
views
A simple Image class utilizing the XTensor library
I've been teaching myself C++, and I recently created a simple Image class that makes use of the XTensor library. With my Image ...
17
votes
4
answers
2k
views
Make an image where pixels are colored if they are prime
This code creates a black-and-white image of variable size where the n-th pixel is white if n is a prime number and black if it isn't. It works, but I wonder if it is well written or if it could be ...
6
votes
2
answers
192
views
First attempt at making a sobel edge detection filter in c
I made a borders filter in C. It works properly, but I think it could be optimized and better designed; the formatting is abysmal. It uses too many lines for the border cases and has too many ...
5
votes
4
answers
991
views
RGB Image Utility Class
I am writing a utility class to store RGB images and do a few utility functions as a way to learn C++.
...
4
votes
1
answer
192
views
Efficiently detect locations of small pixel signatures in image
I'm trying to write a function in python that detects a pixel signature in an image. The pixel signature is a small image of a maximum of 16 pixels of different rectangular shapes, e.g. 1x3 pixels, ...
2
votes
0
answers
208
views
Pillow plugin adding support for the QOI image format
Pillow is a popular library for handling images in Python. My code adds support for the QOI image format to Pillow.
Aside from loading and saving QOI images, my goal was to write a streaming decoder ...
4
votes
1
answer
194
views
Creating an image of the Mandelbrot set in Rust
I'm in the process of familiarizing myself with Rust. In order to get some practice, I decided to make a program that generates images of the Mandelbrot set.
The function I use to generate the image ...
2
votes
2
answers
165
views
pixelating images
I'm a hobby programer and I had an idea for pixelating images and I wrote it.
I was wondering how would a better programer write the same function.
I want to learn and I think that this would help me ...
5
votes
1
answer
347
views
Grabbing youtube thumbnails from urls
I made some C# code to grab youtube thumbnails from urls, I originally made this in python took some time converting it to C#. I am VERY new to C# and did this with minimal help.
...
1
vote
1
answer
132
views
How to using custom colormap with pixel calculation, gray scale value by opencv and make it workable on camera [closed]
I tried to implement the mcolor colormap in the paper
at page 8 to 10.
I developed the code to process a image file and it works ok.
Now, I want to adopt this image processing method to the camera ...
7
votes
1
answer
182
views
Grepping for text in images
I built a small wrapper script around pytesseract, that lets you
check if an image contains some text, or pattern
look for images, that contain some text, or pattern
High Level Approach
I get the ...
9
votes
1
answer
1k
views
Convert image into ASCII art
I made a python script that takes an image and converts it into an ASCII-art representation and saves it as a .txt file.
The logic is somewhat simple. It resizes the image to a manageable size, ...
3
votes
1
answer
476
views
Generating responsive image html with php?
As a beginner in php, I welcome you feedback on improving or simplifying the following php code that generates this responsive image html (image sizes and formats are auto-generated using Gulp). For ...
3
votes
1
answer
86
views
Radial gradient image generator
A function to create a radial gradient from one rgb colour to another and using rayon to improve performance. Are there better way to convert between some of the types / any obvious performance ...
4
votes
1
answer
232
views
Converts image from one type to another
This script first looks through a specified folder path for image files that have a given extension and removes any periods that might be in those file names. It also adds those sanitized file names ...
2
votes
1
answer
780
views
Matching corresponding masks of objects between 2 images
Here is a program that processes 2 grayscale images. Both represent the position of objects, in the form of multiple masks per image. Each mask is a shape with one color delimiting it, with 0 (or ...