Ask Your Question

TopRightCheese's profile - activity

2018-07-04 17:12:22 -0600 commented question Lock to certain image location?

Problem description: I would like to go back to a given location using a marker. I'll look into the thread you link

2018-07-03 16:15:14 -0600 asked a question Lock to certain image location?

Lock to certain image location? Hi everybody, I was wondering if there was any way to lock a passed in image so that it

2018-03-15 15:30:53 -0600 marked best answer Make 32x32 sections on an image in C++ OpenCV?

Im trying to divide a passed in, gray scaled image and divide it into 32x32 "blocks" or "sections". Sort of like an imaginary, overlay grid.

Once this is done, I need to loop through each pixel in each individual section to perform analysis on the single channel, gray scale value that is returned by each pixel.

For example:

// For region (x,y)

if pixelVal >= 120 && pixelVal <= 130{

bitStream += "1"; }

else if pixelVal >= 135 && pixelVal <= 140{

bitstream += "0"; }

else{

bitStream += "X"; }

Does this make sense? I'm very new to OpenCV and C++ and basically I know how to show, loop through, and return the pixel value at a given point, just not within a certain, predetermined area. Im thinking about creating some sort of window that loops through? I just have no idea how to code it.

2018-03-15 15:30:53 -0600 received badge  Scholar (source)
2018-03-15 15:20:36 -0600 commented answer Make 32x32 sections on an image in C++ OpenCV?

This answer is fantastic! My mistake on the last comment. I didn't use mean[0].....which brings me to my next question.

2018-03-15 15:20:17 -0600 commented answer Make 32x32 sections on an image in C++ OpenCV?

My mistake on the last comment. I didn't use mean[0].....which brings me to my next question. Is there any ability to ju

2018-03-15 13:30:26 -0600 commented question Make 32x32 sections on an image in C++ OpenCV?

1."why the blocks then?": Im going to take an average pixel count in the respective blocks. So say block (4,16) is aver

2018-03-14 19:57:07 -0600 asked a question Make 32x32 sections on an image in C++ OpenCV?

Make 32x32 sections on an image in C++ OpenCV? Im trying to divide a passed in, gray scaled image and divide it into 32x