Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hw3 #426

Open
wants to merge 5 commits into
base: HW3
Choose a base branch
from
Open

Hw3 #426

wants to merge 5 commits into from

Conversation

rohitahuja
Copy link

No description provided.

// CODE FOR PART 1 HERE
// We set new_label to the value of old_label, but you will need
// to adjust this for correctness.
new_label = old_label;
// grab the smallest pixel amoung the current and surrounding pixels
new_label = min(old_label,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After grandparent fetching old_label might be different than buffer[buf_y * buf_w + buf_x]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants