Sorting a jumbled face uding Matlab

In summary, the conversation revolves around developing a MATLAB code for arranging a jumbled image of a human face back into place. The idea is to use the face's symmetry and check for deviation by comparing the left and right sides of the image. The question is whether it would be easier to implement by matching pixels on the boundaries of each part of the image. The speaker also asks for any recommended reference websites for further guidance.
  • #1
i.mehrzad
84
0
I am developing a MATLAB code for the problem.

I have a idea but would like to improve it and therefore would want to ask for opinions.

We are given a jumbled up image of a human face.
We have to arrange the face back into place.
We will be shown and given the randomized image. The randomized image in general will comprise of parts(p's) 20(4X5,4X4...) parts. Dont expect it to be many.


My idea. I will use the face that the from face of an individual is symmetrical. Therefore i plan to take the p's and place them in random order, and
check for symmetry. In brief i will take left hand side of image-right hand side of image. Calculate deviation and i will set the treshold value.

Any idea which iseasier to implement. I myself am not understanding how to make the code for doing the above.



Any reference websites that i can read and get something read.
 
Physics news on Phys.org
  • #2
It sounds like it would be better to try to match up the pixels on the boundaries of each part of the image.
 
  • #3


I would suggest approaching this problem using a combination of image processing and pattern recognition techniques.

Firstly, the jumbled image can be pre-processed using image segmentation methods to identify the different parts (p's) of the face. This will help in separating the face into smaller, more manageable sections.

Next, feature extraction techniques can be used to extract key features from each p of the face, such as the shape, color, and texture. These features can then be compared to the features of a reference face to determine the similarity between them.

To improve the efficiency and accuracy of the sorting process, machine learning algorithms can be used to train a model on a dataset of correctly arranged faces. This model can then be used to predict the correct order of the p's in the jumbled face.

As for implementing the code, MATLAB has a variety of built-in functions and toolboxes for image processing and machine learning that can be utilized for this task. The official MATLAB documentation and forums can also be helpful resources for understanding and implementing the code.

In addition, there are many online tutorials and courses available that cover image processing and machine learning techniques in MATLAB. Some recommended websites for further reading include MathWorks, Coursera, and Udemy.

Overall, I would suggest experimenting with different approaches and techniques to find the most efficient and accurate solution for this problem. Good luck with your project!
 

Related to Sorting a jumbled face uding Matlab

1. How can I use Matlab to sort a jumbled face?

To sort a jumbled face using Matlab, you can follow these steps:

  1. Load the image of the jumbled face into Matlab.
  2. Convert the image into a grayscale image using the rgb2gray function.
  3. Use the imhist function to equalize the histogram of the grayscale image.
  4. Apply a noise removal filter, such as medfilt2, to the equalized image.
  5. Use the detectSURFFeatures function to detect features in the image.
  6. Use the extractFeatures function to extract the features from the image.
  7. Match the features using the matchFeatures function.
  8. Use the estimateGeometricTransform function to find the transformation matrix between the jumbled face and the original face.
  9. Apply the transformation matrix to the jumbled face using the warpAffine function.

2. Can I use any image of a face to sort a jumbled face using Matlab?

Yes, you can use any image of a face to sort a jumbled face using Matlab. However, it is recommended to use a high-quality image with clear and distinct features for better results.

3. How accurate is the sorting process using Matlab?

The accuracy of the sorting process using Matlab depends on the quality of the image and the features detected. It also depends on the complexity of the jumbled face. In general, Matlab has a high accuracy in sorting jumbled faces.

4. Can I use Matlab to sort jumbled faces with different backgrounds?

Yes, Matlab can be used to sort jumbled faces with different backgrounds. However, the background should not obstruct the features of the face, as this may affect the accuracy of the sorting process.

5. Is sorting a jumbled face using Matlab a time-consuming process?

The time it takes to sort a jumbled face using Matlab depends on the complexity of the image and the processing power of the computer. In general, it may take a few seconds to a few minutes to complete the sorting process.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
823
  • Engineering and Comp Sci Homework Help
Replies
8
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
14
Views
3K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
12
Views
3K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
3K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
3K
Replies
12
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
5K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
3K
Back
Top