Skip to main content

Questions tagged [image-processing]

These challenges involve processing pre-existing image files, by altering them in some way, gathering statistics, or other image processing tasks.

15 votes
15 answers
2k views

Rotate an Image

This challenge is simple: Take a path to an png image file as input and overwrite that file with a copy of itself rotated 90 degrees clockwise. You may assume that ...
Ginger's user avatar
  • 5,700
3 votes
2 answers
537 views

How Mondrian is your fine art collection? [closed]

For the purpose of this challenge a rectangular piece of ASCII art is Mondrian if it looks the same upside down. What does "looks the same" mean? A feature is any orthogonally connected ...
loopy walt's user avatar
  • 16.7k
8 votes
5 answers
381 views

Random Pixels Image Compression

Challenge: Given an integer \$n\$, guaranteed to be \$\geq2\$ and a power of 2, we are going to draw multiply boards either side-by-side or below one another, where the first has dimensions of \$n\$ ...
Kevin Cruijssen's user avatar
3 votes
2 answers
218 views

Resize the image

Given an \$n\times m\$ matrix \$A\$ and two integers \$w,h\$, output a matrix of \$w\times h\$ called \$B\$, such that $$B_{i,j} = \int_{i-1}^i\mathbb dx\int_{j-1}^j A_{\left\lceil \frac xw\cdot n\...
l4m2's user avatar
  • 25k
7 votes
2 answers
322 views

Temporally Dither an Image (Image to PWM Image)

Background I want to display rich, vibrant images on my theoretical fancy custom display, but due to budget constraints, it displays everything in 3-bit colour! Whilst Regular Dithering would work, I ...
ATaco's user avatar
  • 10.9k
14 votes
3 answers
1k views

Recognize a Roboto Mono character

Your input will consist of an 18×18 image in any reasonable format, containing a horizontally and vertically centered 14px Roboto Mono character. This can be any of 94 printable ASCII characters (not ...
Rydwolf Programs's user avatar
12 votes
2 answers
892 views

Smallest image containing one of every RGB color

I'm not sure if this kind of golf is allowed, but here it is. Your objective is to create an image containing one pixel of every possible RGB color. The image with the smallest file size wins. Rules: ...
LostXOR's user avatar
  • 907
12 votes
7 answers
744 views

Toroidally magnify-blur a matrix

Task Given a matrix of numbers \$M\$ with \$r\$ rows and \$c\$ columns, and the magnification factor \$n\$, build the matrix with \$rn\$ rows and \$cn\$ columns where the original elements are spaced ...
Bubbler's user avatar
  • 77.5k
19 votes
5 answers
1k views

Generate Green Spray Paint Patterns

This challenge is about creating these neat "green spray paint" patterns: (more pictures below) Loosely explained, they are generated by starting with a black image and a point in the center. ...
Discrete Games's user avatar
27 votes
5 answers
16k views

Flag mashup generator

Part 2 of the challenge is here Flags Mashup Bot is a small Twitter bot that generates a new flag based on two random flags and tweets the result every couple of minutes. Task Your task is to ...
SztupY's user avatar
  • 3,879
4 votes
1 answer
296 views

Draw these shapes

Given: a width, a height, and a set of sets of points. Output: An image where each set of points is connected and colored in (like a shape). Each shape must be a different color from all of the other ...
vityavv's user avatar
  • 779
1 vote
1 answer
260 views

(bit)Wise Images [closed]

Given a truth table and two images, use the truth table as a bitwise operation to the two images. For example with the truth table: 1 0 1 0 0 0 1 0 (Note that ...
MilkyWay90's user avatar
  • 2,722
7 votes
1 answer
646 views

Hilbertize an image

For a computer vision app I want to do a mapping of an image, in such a way that every pixel fit hilbert curve, instead of conventional layout. So task could be as follows: Task description Given ...
xakepp35's user avatar
  • 313
10 votes
0 answers
328 views

Captcha Capture [closed]

Captchas aren't meant to be machine-readable, and that's terrible. It is time to end this obvious bout of unfounded hatred for machines just trying to let you know about great deals on ṗḧ@ṛḿ4ćëüẗ1ċäḷṡ ...
Twilight Sparkle's user avatar
29 votes
4 answers
1k views

Where's Blackhat?

Challenge Write code which, given an image of a panel from a random xkcd comic, returns a truthy value if Blackhat is in the comic or falsey if not. Who is Blackhat? Blackhat is the unofficial name ...
Beta Decay's user avatar
  • 23.4k

15 30 50 per page
1
2 3 4 5
9