Mirroring is done by copying. Suppose a Picture has H rows of Pixels and W columns of Pixels and W is an even number, like W is 2N. Here N is a the whole number that is exactly 1/2 of W. How many Pixels are copied when the Picture is mirrored along the vertical line through its middle? <-- I understand what the question is asking. Its just how would I go about doing it? Should I type up a program?
Monkey101
0
Newbie Poster
Recommended Answers
Jump to PostWhat are the coordinates for the pixels (source and target) as they are copied? Make a loop that copies the pixels for each row inside another loop that goes through the rows.
Jump to PostHow many Pixels are copied when the Picture is mirrored along the vertical line through its middle?
Isn't the answer just "all of them" (H*W)? Or am I missing something?
All 6 Replies
NormR1
563
Posting Sage
Team Colleague
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Monkey101
0
Newbie Poster
NormR1
563
Posting Sage
Team Colleague
Monkey101
0
Newbie Poster
NormR1
563
Posting Sage
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.