Creating a test image



Hi,

I need to create a test image of size 100*100 pixels, with
a circle of diameter 50. The value inside the circle should
be 50 and the rest 100. thanks
.



Relevant Pages

  • Re: need help with homework
    ... So if you solve for circumference you get pi x diameter, ... Now if you know relation between diameter and radius, ... Center of circle splits diameter into two radii. ... circular disk, i.e. a disk whose perimiter is a circle. ...
    (sci.math)
  • Re: Is the term canceling each others vote a fallacy or fact?
    ... of paper back from the ATM for a recount ... ... the area of the great circle is a quarter ... These gravitational redshift objects ... about one light week in diameter. ...
    (sci.math)
  • Re: grade-separated roads (with ramps) vs roundabouts vs signalized
    ... roads and light-volume 4-lane roads, ... and lights become a win. ... would have an central island diameter of 120-150 feet. ... traffic IN the circle had to yield to incoming traffic. ...
    (misc.transport.road)
  • Re: Hexagon cutting tablesaw jig
    ... The diameter of the compass place anywhere on the circle, ... Draw a segement that is the length of the width of the desired ...
    (rec.woodworking)
  • Re: Irregular bolt circle calculator from simple distance measurements
    ... That is, the holes all fall around the same circle, ... but at random angles, rather than evenly spaced around the circle. ... with the following formulas to calculate the bolt circle diameter given ...
    (rec.crafts.metalworking)