Questions tagged [rasterizing]

Rasterization (or rasterization) is the task of taking an image described in a vector graphics format (shapes) and converting it into a raster image (pixels or dots) for output on a video display or printer, or for storage in a bitmap file format.

In normal usage, the term refers to the popular rendering algorithm for displaying three-dimensional shapes on a computer. Rasterization is currently the most popular technique for producing real-time 3D computer graphics. Real-time applications need to respond immediately to user input, and generally need to produce frame rates of at least 30 frames per second to achieve smooth animation.

Definition

278 questions
-1
votes
2 answers

Raster images performance issue

We started using vector drawables in our Android application. I have read about performance issues faced while using raster images in android applications. Can anyone explain the reason why there is a performance issue ? Is it okay to use plenty of…
-1
votes
1 answer

Cross-platform library for separating and converting PDFs to images?

I'm currently planning an application which involves manipulating PDFs. My goal is to have a program that i can pass in a PDF as an input which then saves separated grayscale images of the colour channels that the PDF consists of as an output. This…
Gary Willoughby
  • 50,926
  • 41
  • 133
  • 199
-1
votes
1 answer

Why is my Bresenhams line algorithm crashing my program?

I have been trying to create a Bresenhams line algorithm that preserves order so that the user is able to draw on a grid at runtime. It works 'for the most part, however, it seems to get stuck in a while loop and crashes my program occasionally. I…
Jim
  • 761
  • 3
  • 10
  • 32
-1
votes
1 answer

how do i go about manipulating the equations for ellipse midpoint algorithm

My question is how and what math do i use to manipulate the ellipse equation to form a midpoint algorithm and attempt to make a an ellipse. I get the code but don't understand the math that forms the basis of drawing an ellipse on screen. I'm…
death reverse
  • 31
  • 1
  • 5
-1
votes
1 answer

How can I convert the SVG to a PNG without jagged lines?

When you look at the rendered version of the SVG https://commons.wikimedia.org/wiki/File:Triangle-perpendicular.svg, it has jagged lines: For example, the line AC doesn't look as it should look. How can I convert this image to a PNG without getting…
Martin Thoma
  • 124,992
  • 159
  • 614
  • 958
-1
votes
1 answer

OpenGL scanline algorithm - does it use rays and bounding boxes?

I'm studying how scanline algorithms work and I'm wondering whether to determine the closest hit per each pixel a ray is shooted like ray tracing algorithms and, in that case, if bounding boxes are used to determine if there's an intersection or not
Marco A.
  • 43,032
  • 26
  • 132
  • 246
-2
votes
3 answers

Rasterise: combine mean and count

I want to grid a data frame averaging all the points in a grid box only if the number of points are more than 10. I can do the average and count the points separately with pts <- tmp[,c("lon","lat","z")] coordinates(pts) <- ~…
user3910073
  • 511
  • 1
  • 6
  • 23
-3
votes
1 answer

Bresenham Line Algorithm

Good day all, I am struggling to complete an algorithm for bresenham line equation. The output I get is the output in black and the output expected is in white. The bresenham algorithm is used to print the two diagonal lines in the middle of the…
Senyo
  • 81
  • 6
1 2 3
18
19