• Title/Summary/Keyword: C language

Search Result 1,646, Processing Time 0.031 seconds

PARALLEL IMAGE RECONSTRUCTION FOR NEW VACUUM SOLAR TELESCOPE

  • Li, Xue-Bao;Wang, Feng;Xiang, Yong Yuan;Zheng, Yan Fang;Liu, Ying Bo;Deng, Hui;Ji, Kai Fan
    • Journal of The Korean Astronomical Society
    • /
    • v.47 no.2
    • /
    • pp.43-47
    • /
    • 2014
  • Many advanced ground-based solar telescopes improve the spatial resolution of observation images using an adaptive optics (AO) system. As any AO correction remains only partial, it is necessary to use post-processing image reconstruction techniques such as speckle masking or shift-and-add (SAA) to reconstruct a high-spatial-resolution image from atmospherically degraded solar images. In the New Vacuum Solar Telescope (NVST), the spatial resolution in solar images is improved by frame selection and SAA. In order to overcome the burden of massive speckle data processing, we investigate the possibility of using the speckle reconstruction program in a real-time application at the telescope site. The code has been written in the C programming language and optimized for parallel processing in a multi-processor environment. We analyze the scalability of the code to identify possible bottlenecks, and we conclude that the presented code is capable of being run in real-time reconstruction applications at NVST and future large aperture solar telescopes if care is taken that the multi-processor environment has low latencies between the computation nodes.

Parametric modeling and shape optimization of four typical Schwedler spherical reticulated shells

  • Wu, J.;Lu, X.Y.;Li, S.C.;Xu, Z.H.;Li, L.P.;Zhang, D.L.;Xue, Y.G.
    • Structural Engineering and Mechanics
    • /
    • v.56 no.5
    • /
    • pp.813-833
    • /
    • 2015
  • Spherical reticulated shells are widely applied in structural engineering due to their good bearing capability and attractive appearance. Parametric modeling of spherical reticulated shells is the basis of internal analysis and optimization design. In the present study, generation methods of nodes and the corresponding connection methods of rod elements are proposed. Modeling programs are compiled by adopting the ANSYS Parametric Design Language (APDL). A shape optimization method based on the two-stage algorithm is presented, and the corresponding optimization program is compiled in FORTRAN environment. Shape optimization is carried out based on the objective function of the minimum total steel consumption and the restriction condition of strength, stiffness, slenderness ratio, stability. The shape optimization of four typical Schwedler spherical reticulated shells is calculated with the span of 30 m~80 m and rise to span ratio of 1/7~1/2. Compared with the shape optimization results, the variation rules of total steel consumption along with the span and rise to span ratio are discussed. The results show that: (1) The left and right rod-Schwedler spherical reticulated shell is the most optimized and should be preferentially adopted in structural engineering. (2) The left diagonal rod-Schwedler spherical reticulated shell is second only to left and right rod regarding the mechanical behavior and optimized results. It can be applied to medium and small-span structures. (3) Double slash rod-Schwedler spherical reticulated shell is advantageous in mechanical behavior but with the largest total weight. Thus, this type can be used in large-span structures as far as possible. (4) The mechanical performance of no latitudinal rod-Schwedler spherical reticulated shell is the worst and with the second largest weight. Thus, this spherical reticulated shell should not be adopted generally in engineering.

Optimal dimension design of a hatch cover for lightening a bulk carrier

  • Um, Tae-Sub;Roh, Myung-Il
    • International Journal of Naval Architecture and Ocean Engineering
    • /
    • v.7 no.2
    • /
    • pp.270-287
    • /
    • 2015
  • According to the increase of the operating cost and material cost of a ship due to the change of international oil price, a demand for the lightening of the ship weight is being made from various parties such as shipping companies, ship owners, and shipyards. To satisfy such demand, many studies for a light ship are being made. As one of them, an optimal design method of an existing hull structure, that is, a method for lightening the ship weight based on the optimization technique was proposed in this study. For this, we selected a hatch cover of a bulk carrier as an optimization target and formulated an optimization problem in order to determine optimal principal dimensions of the hatch cover for lightening the bulk carrier. Some dimensions representing the shape of the hatch cover were selected as design variables and some design considerations related to the maximum stress, maximum deflection, and geometry of the hatch cover were selected as constraints. In addition, the minimization of the weight of the hatch cover was selected as an objective function. To solve this optimization problem, we developed an optimization program based on the Sequential Quadratic Programming (SQP) using C++ programming language. To evaluate the applicability of the developed program, it was applied to a problem for finding optimal principal dimensions of the hatch cover of a deadweight 180,000 ton bulk carrier. The result shows that the developed program can decrease the hatch cover's weight by about 8.5%. Thus, this study will be able to contribute to make energy saving and environment-friendly ship in shipyard.

The Design of Multi-channel Synchronous Communication IC Using FPGA (FPGA를 이용한 다채널 동기 통신용 IC 설계)

  • Yang, Oh;Ock, Seung-Kyu
    • Journal of the Semiconductor & Display Technology
    • /
    • v.10 no.3
    • /
    • pp.1-6
    • /
    • 2011
  • In this paper, the IC(Integrated Circuit) for multi-channel synchronous communication was designed by using FPGA and VHDL language. The existing chips for synchronous communication that has been used commercially are composed for one to two channels. Therefore, when communication system with three channels or more is made, the cost becomes high and it becomes complicated for communication system to be realized and also has very little buffer, load that is placed into Microprocessor increases heavily in case of high speed communication or transmission of high-capacity data. The designed IC was improved the function and performance of communication system and reduced costs by designing 8 synchronous communication channels with only one IC, and it has the size of transmitter/receiver buffer with 1024 bytes respectively and consequently high speed communication became possible. It was designed with a communication signal of a form various encoding. To detect errors of communications, the CRC-ITU-T logic and channel MUX logic was designed with hardware logics so that the malfunction can be prevented and errors can be detected more easily and input/output port regarding each communication channel can be used flexibly and consequently the reliability of system was improved. In order to show the performance of designed IC, the test was conducted successfully in Quartus simulation and experiment and the excellence was compared with the 85C3016VSC of ZILOG company that are used widely as chips for synchronous communication.

A Study of Apology Strategies between Genders in EFL College Students

  • Shim, Jae-Hwang
    • English Language & Literature Teaching
    • /
    • v.15 no.2
    • /
    • pp.225-243
    • /
    • 2009
  • This study investigates the use of different speech act of apology strategies between male and female EFL college students by comparing the components of intensity, stylistic competence, and semantic formulas. The data was collected from 37 participants who were studying freshmen English reading course at the Department of English Education of C University in Seoul. Most students were English majors taking pre-teacher course of teaching English for secondary school students. The participants were divided into two gender groups of male and female. The discourse completion test (DCT) which was revised from the speech act of apology by Olshtain and Cohen (1990) was provided with the participants after the researcher explained the speech act of apology in ten situations. The speech act of apology depends on situation variables: social solidarity, severity of offense, and social status. The results show that in the preference of intensity, male and female have almost the similar ratio in high (female: 24.7%, male 24%) and low intensity (female: 75.3%, male: 76%). In the use of stylistic competence, male group (21%) expresses more diversely formal features than female group (12%), while female (87%) use more informal features than male (66%). Most of participants show a limitation in the use of speaking four types of semantic formulas: expression of apology (APOL), acknowledgment of responsibility (RESP), offer of repair (REPR), and promise of forbearance (FORB). As nonnative speakers, the participants cannot conduct the semantic formula in some situations regardless of the tasks provided. The results suggest that English teachers should recognize pragmatic variations in which students feel difficulty in appropriate speaking strategies on apology. This study also contributes to teaching learners the strategies and speaking patterns in the course of various apology situations.

  • PDF

Design and Implementation of Peer-to-Peer Electronic Commerce Systems based on the File Sharing Method between Users (이용자간 파일공유방식에 기반한 P2P 전자상거래 시스템 설계 및 구현)

  • Kim Chang-Su;Seo Young-Suk
    • The Journal of Information Systems
    • /
    • v.15 no.1
    • /
    • pp.1-20
    • /
    • 2006
  • Peer-to-peer systems (P2P) are rapidly growing in importance on the Internet environment, quickly extending the range of their usage. However, peer-to-peer systems have not been widely applied in electronic commerce because they have not been established as an appropriate business model. Therefore, we firstly review the previous research relevant to peer-to-peer systems, and then analyze the business models for P2P systems presented by previous researchers. Furthermore, this study categorizes major issues in terms of the technical and business model aspects. On the basis of these reviews, we develop P2P electronic commerce systems based on the file sharing method between users, focusing on user interface friendliness. A developed P2P electronic commerce systems are programmed by using the C# based on the Microsoft.net solution. A database is implemented using the MSSQL2000. A main application technology is designed that P2P electronic commerce systems make it possible. for user to extend into BtoB Solution by using WSDL (Web Services Description Language), UDDI (Universal Description, Discovery, and Integration) and the XML that is a document for users. User interface is made as form of Internet messenger for a user's convenience and is possible to develop into a commodity transaction system based on XML. In this study, it is possible for the P2P electronic commerce system to have extended application to fields such as Internet shopping mall and property transaction in a nonprofit organization, a public institution and a large scale nonprofit institution that have a similar structure as compared with a structure of a nonprofit educational institution.

  • PDF

Architectural Vocabulary Study of SeoGwolYeongGeonDoGamUiGwe(西闕營建都監儀軌) (1) - It is an attaching importance to with a timber transcriptions of Korean - ("서궐영건도감의궤"의 목재류 어휘 분석 연구)

  • Oh, Chang-Myong;Son, Hui-Ha;Cheon, Deuk-Youm
    • Journal of architectural history
    • /
    • v.16 no.1
    • /
    • pp.29-48
    • /
    • 2007
  • This study is an investigation that explication of the reading method of transcription marking, and explains what it means and where to use transcription marking of architectural vocabulary. focusing on timber class vocabulary from on SeoGwolYeongGeonDoGamUiGwe(${\ulcorner}$西闕營建都監儀軌(1831)${\lrcorner}$). This study is reviewed sequentially classifying items according to timber class, stone class, iron class architectural vocabulary. This treatise, named 'Architectural Vocabulary Study (1)', is mainly focused on making out a transcription marking of timber class vocabulary on the documents. But, because of the properties of the UiGwe(儀軌), there are some different expressions used for the same vocabulary. Therefore, the different expressions are referenced according to vocabulary used from the 17th century to the 20c century. This study lists timber class architectural vocabulary of transcription marking on SeoGwolYeongGeonDoGamUiGwe(${\ulcorner}$西闕營建都監儀軌(1831)$\lrcorner$). This study also explicates and explains the meaning of them. In advance, this study compares them with the vocabulary of national language in the middle ages and modern times. If we could explicate the transcription marking of the documents as it is, we can't only recover plenty of vocabulary related with characteristic architecture in the age of later Chosun Dynasty, but also correct wrongly used vocabulary nowadays. With the results, we can standardize and adjust vocabulary use of Korean traditional architecture. In advance, we can correct errors of spelling and mistaken explanation in the Korean Encyclopedia.

  • PDF

Arm Cortex S3C2440 Microcontroller Application for Transcranial Magnetic Stimulation's Pulse Forming on Bax Reactive Cells and Cell Death in Ischemia Induced Rats

  • Tac, Han-Ho;Kim, Whi-Young
    • Journal of Magnetics
    • /
    • v.21 no.2
    • /
    • pp.266-272
    • /
    • 2016
  • Transcranial magnetic stimulation devices has been used mainly for diagnostic purposes by measuring the functions of the nervous system rather than for treatment purposes, and has a problem of considerable energy fluctuations per repeated pulse. The majority of strokes are caused by ischemia and result in brain tissue damage, leading to problems of the central nervous system including hemiparesis, dysfunction of language and consciousness, and dysfunction of perception. Control is difficult and the size is large due to the difficulty of digitalizing the energy stored in a capacitor, and there are many heavy devices. In addition, there are many constraints when it is used for a range of purposes such as head and neck diagnosis, treatment and rehabilitation of nerve palsy, muscle strengthening, treatment of urinary incontinence etc. Output stabilization and minimization of the energy variation rate are required as the level of the transcranial magnetic stimulation device is dramatically improved and the demand for therapeutic purposes increases. This study developed a compact, low cost transcranial magnetic stimulation device with minimal energy variation of a high repeated pulse and output stabilization using a real time capacitor charge discharge voltage. Ischemia was induced in male SD rats by closing off the common carotid artery for 5 minutes, after which the blood was re-perfused. In the cerebrum, the number of PARP reactive cells after 24 hours significantly decreased (p < 0.05) in the TMS group compared to the GI group. As a result, TMS showed the greatest effect on necrosis-related PARP immuno-reactive cells 24 hours after ischemia, indicating necrosis inhibition, blocking of neural cell death, and protection of neural cells.

ASCII data hiding method based on blind video watermarking using minimum modification of motion vectors (움직임벡터의 변경 최소화 기법을 이용한 블라인드 비디오 워터마킹 기반의 문자 정보 은닉 기법)

  • Kang, Kyung-Won;Ryu, Tae-Kyung;Jeong, Tae-Il;Park, Tae-Hee;Kim, Jong-Nam;Moon, Kwang-Seok
    • The Journal of Korean Institute of Communications and Information Sciences
    • /
    • v.32 no.1C
    • /
    • pp.78-85
    • /
    • 2007
  • With the advancement of the digital broadcasting and popularity of the Internet, recently, many studies are making on the digital watermarking for the copyright protection of digital data. This paper proposes the minimum modification method of motion vector to minimize the degradation of video quality, hiding subtitles of many language and information of OST(original sound track), character profiles, etc. as well as the copyright protection. Our proposed algorithm extracts feature vector by comparing motion vector data with watermark data, and minimize the modification of motion vectors by deciding the inversion of bit. Thus the degradation of video quality is minimized comparing to conventional algorithms. This algorithm also can check data integrity, and retrieve embedded hidden data simply and blindly. And our proposed scheme can be useful for conventional MPEG-1, -2 standards without any increment of bit rate in the compressed video domain. The experimental result shows that the proposed scheme obtains better video quality than other previous algorithms by about $0.5{\sim}1.5dB$.

Customer Barcode Support System for the Cost Saving of Mail Items (우편물 처리원가 절감을 위한 고객 바코드 지원 시스템)

  • Hwang, Jae-Gak;Park, Moon-Sung;Song, Jae-Gwan;Woo, Dong-Chin
    • The Transactions of the Korea Information Processing Society
    • /
    • v.6 no.10
    • /
    • pp.2563-2573
    • /
    • 1999
  • In most mail automatic processing centers, after facing and canceling, letter mails are passed through an Optical Character Recognition/Barcode Sorter(OCR/BS) to read the postal code and 3 of 5 fluorescent (luminescent) barcode is applied. Normally, 31%∼35% of this mails are rejected. The main reasons for reading failures are poor printing quality of addresses and barcodes, script printing, writing in a cursive hand, variety fonts, and failure to locate the address. Our goal is to provide mailer with top quality service and customer barcode service as we move toward 100% barcoding automation of letter mail. In this paper, we propose a method of printing 3 of 5 customer barcode, postal code management, and detection of postal code based on postal address for increase the performance of automatic processing system in mail items. Using postal code generating rules, which are automatically extracted from postal addresses and address numbers, creates postal codes. The customer barcode support system is implemented by C++ language and runs on IBM PC under Windows 95.

  • PDF