Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Nick_T_1

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

01-16-2013
02:12 PM

68 Views

Connecting 2 points?

Hi Folks:

I have a image initialized with 0 for every pixel. Then there are tow points between which I would like to retrive a line with each pixel on this line being set to 1.

For the two points, there coordinates (x, y) are known, so the challenge I am facing is to get coordinates of all the pixels on the line (sub-pixel problem) that connects the two points. Once I retrived all (x, y) coordinates for the line, I should set thier value to 1.

Is there any IPP function can do this? Basically, connecting two points, and return the coordinates? Thanks a lot.

Nick

Link Copied

1 Reply

SergeyKostrov

Valued Contributor II

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

01-17-2013
08:40 PM

68 Views

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

For more complete information about compiler optimizations, see our Optimization Notice.