Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed yesterday.
Improve this question
How can I detect QR codes when processing the pixels of an image?
The image might be pixelated (low-fidelity), noisy (missing or extra pixels in a line), blurry (antialiasing), or be at an angle (image skew). Simply looping through the pixels seems like it would require some sort of line detection and then you could figure out a good calculate of the number of expected blocks between the three (or four) different corners.
You will need to use an image processing library to detect QRCodes. I’ve used go-zxing in the past which is 100% native go.
You will need to be familiar with the go image package that’s part of the standard library.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I need a Rubiks cube generator for my project. I searched a lot but I only found websites that provide me a scramble but do not provided a method/function to do so. Is there a way for me to make my own or is an algorithm already available. Thanks
Find yourself a way how to represent the cube (each side and each cell of a side)
Determine, how your representation changes when rotating a horizontal section once clockwise and how your representation changes when rotating a vertical section once clockwise.
n times, randomly select a horizontal or vertical section and rotate it once clockwise.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I got this aerial image of a warehouse from Google Map, and I'd like to analyze the characteristics of the building inside the image. How can I find the approximate building footprint?
I learned some functions for matlab image processing. But I'm still a newbie for image processing. I'll be very appreciated if anyone can help me.
Or is it easier to figure out the area using the roadmap image below?
Import the roadmap image in Matlab, convert in in an 8bit greyscale image and use the following binarization.
BW = imbinarize(I,'adaptive','Sensitivity',0.68);
figure, imshow(BW,[0,1])
From Here you can either use regionprops (link) or extract lines using a Hough transform.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I draw a graphical primitives using functions ccDraw... and I need to calc for example a scale and transition using 3x3 matrices.
How to solve this issue in cocos2d? I can't simply use sprites/nodes because all the calculated points belong to the same object. Is it possible without converting CGPoint->matrix->CGPoint?
It sounds like you are trying to do scale/rotation on the CGPoints. You can do this using CGAffineTransform functions and structure that are part of Quartz 2D.
See these references:
Apple's Documents.
A single example of rotating a rectangle formed by four points.
SO Example(s).
Was this helpful?
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I have recently came across a great image processing algorithm called Seam Carving.
It uses graphs (Shortest Path algorithm) to do its job.
What other amazing algorithms are out there worth looking at?
I'm not talking about the majority of boring matrix based ones, rather something you could never think about before you came across it, just like this one.
Even though this is offtopic I'm going to answer ;)
In this page you can find algorithms which:
Depixelize an image
Color a black and white image
Restore a picture or make a HDR (whatever that means...)
Turn a photo into an hand-drawn like image
Seam carving
Remove objects
Compose a picture
Beautify a face
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have this larger image: http://imgur.com/henxc that I need to create a smaller tile of to repeat as a background. However I'm having difficulty knowing what part I need to crop. Can someone please explain how to make this into a small piece that will tile? Is there a technique in Photoshop to make this easier maybe?
You can test if an image will "tile" by cutting it in half (copy half to another layer) and moving the left half to the right side and vice versa. Then you will see how the edges of the tile line up and can make adjustments. You can move one half over the other until they match up, mark them, and use that mark as the edge of the tile. Then repeat the process vertically.
This tut explains it better than I can (and with pictures) starting at step 5.
You should use the offset filter. You need to find the value which is exactly half of your image and enter for both of the numebrs. To get to it go to Filter > Other > Offset.