Chapter 327 (1/2)
Chapter 330
the award allocation rules of the National Undergraduate modeling contest are as follows:
all the awards in the competition area are equally divided into two topics a and B.
Half of the national prizes will be allocated equally to two subjects a and B, and half of them will be allocated in proportion to the number of subjects a and B.
Whether from the competition area awards or from the allocation mechanism of national awards, if we choose the one which is less selected by a and B, the chances of winning will increase to a certain extent.
Therefore, those teams who think that the level is not enough, or hovering on the edge of winning the prize, should not only consider whether they are suitable for their own group, but also consider whether the competition for this topic is fierce.
Under normal circumstances, three days of competition time, the selection of topics will take almost a morning.
After all, the team must have a full and comprehensive understanding of both topics before making a careful choice. Otherwise, when the topic is half done, it will be found that it is not suitable for their group, and there is no place to cry.
No one just glances at the topic, the specific modeling ideas will appear in the mind, of course, except for Cheng Nuo!
Others need a morning to choose the topic, but Cheng Nuo doesn't have to be so troublesome.
After hesitating for a while, Cheng Nuo chose the question B, which is expected to be chosen by many people.
There are 3-4 problems in each modeling topic, and the splicing and restoration modeling of this broken paper is no exception.
Question 1: [for a given paper shredder (only slitting) from the same page of printed text document, the paper fragment splicing recovery model and algorithm are established, and the fragment data of Chinese and English documents given in Annex 1 and Annex 2 are spliced and restored. If the recovery process 】
question 2: [in the case of both longitudinal and cross cutting of the shredder, please design the paper fragment splicing recovery model and algorithm, and conduct splicing recovery for the fragment data of Chinese and English files of one page given in Annex 3 and Annex 4 】
question 3: [the above-mentioned fragment data are all single-sided printing files. From the reality, there may also be the problem of splicing and restoring the fragments of double-sided printing files. Annex 5 shows the fragment data of one page English printed text double-sided printing document. Please try to design the corresponding paper fragment splicing restoration model and 】
to summarize. In fact, the difficulty of the three problems increases in turn.
First of all, just let you restore the single side slitting of paper fragments. The second question is to restore one side of the paper, which has been cut transversely and longitudinally at the same time. And the third question is to discuss the two-sided, at the same time, cross cutting, longitudinal cutting pieces of paper.
Cheng Nuo doesn't want to build a model step by step according to the order of the problems. That would be boring and boring for him.
According to his idea, in view of these three questions, we only need to model a model to solve the three problems at the same time.
In other words, as long as the mathematical model can solve the third problem, the first two problems will be solved naturally.
After thinking in his mind, Cheng Nuo turned his head and said to the two girls behind him, ”I'm going to start working. Don't disturb me until it's time to eat!”
Finish saying, Cheng Nuo turns around, shake the mouse, at the same time click Open MATLAB software and a word document!
Modeling, programming, thesis, should be the work of three people, now all pressure on Cheng Nuo. This may not be easy for other thighs to model, but it is much easier for Cheng Nuo.
Three in one, the whole team is the voice of Cheng Nuo, there is no conflict of ideas and so on. Besides, no one has said that the three tasks can not be carried out at the same time, can they?
Do what you say!
Cheng Nuo chose to start with modeling, skip the current two questions, and directly carry out the modeling of the third question.
Firstly, the imread function of MATLAB software is called to read 24 pictures in Annex 5. Cheng Nuo gets a gray matrix AK (I, J), (K ∈ [1,24], I ∈ [1, n], J ∈ [1, M]).
next, Cheng Nuo takes out a pile of manuscript paper and extracts the gray matrix formula.
The next step is to use the binary method to transform the gray matrix. Through calculation, we can get the binary image w (x, y) formula:
W (x, y) = 1, th ≤ g (x)