원시데이터 수집 시스템
선정목록으로

A Wireless Visualized Sensing System with Prosthesis Pose Reconstruction for Total Knee Arthroplasty

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (21) 에폭시수지

기본 정보

저자
  1. Hanjun Jiang — Institute of Microelectronics, Tsinghua University, Beijing 100084, China
  2. Shaolin Xiang — Institute of Microelectronics, Tsinghua University, Beijing 100084, China
  3. Yanshu Guo — Institute of Microelectronics, Tsinghua University, Beijing 100084, China
  4. Zhihua Wang — Institute of Microelectronics, Tsinghua University, Beijing 100084, China
DOI
10.3390/s19132909
저널
Sensors
발행년도
2019
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
4
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/s19132909
토픽
Analytical Chemistry and Sensors
OpenAlex ID
W2954132440

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(21) 에폭시수지
R&D 측면
물성·성능 평가
확신도
0.70
근거 용어
polyethylene plastic spacer, contact force distribution, wear, attrition, mechanical reasons
판단 근거
논문은 인공 무릎 관절의 플라스틱 스페이서(polyethylene spacer)의 마모와 위치 정렬에 따른 하중 분포를 측정하는 시스템을 다룹니다. 이는 코오롱인더스트리의 엔지니어링 플라스틱(23) 및 화학/수지(21) 분야에서 다루는 고분자 소재의 내마모성 및 기계적 성능 평가 원리와 연관될 수 있습니다.
R&D 활용 포인트
고분자 스페이서나 엔지니어링 플라스틱 부품의 실제 구동 환경에서의 하중 분포 및 마모 메커니즘을 분석하는 센싱 기술 및 평가 모델로 활용 가능합니다.
평가 입력
본문 72,900자 중 30,032자 발췌

초록

The surgery quality of the total knee arthroplasty (TKA) depends on how accurate the knee prosthesis is implanted. The knee prosthesis is composed of the femoral component, the plastic spacer and the tibia component. The instant and kinetic relative pose of the knee prosthesis is one key aspect for the surgery quality evaluation. In this work, a wireless visualized sensing system with the instant and kinetic prosthesis pose reconstruction has been proposed and implemented. The system consists of a multimodal sensing device, a wireless data receiver and a data processing workstation. The sensing device has the identical shape and size as the spacer. During the surgery, the sensing device temporarily replaces the spacer and captures the images and the contact force distribution inside the knee joint prosthesis. It is connected to the external data receiver wirelessly through a 432 MHz data link, and the data is then sent to the workstation for processing. The signal processing method to analyze the instant and kinetic prosthesis pose from the image data has been investigated. Experiments on the prototype system show that the absolute reconstruction errors of the flexion-extension rotation angle (the pitch rotation of the femoral component around the horizontal long axis of the spacer), the internal-external rotation (the yaw rotation of the femoral component around the spacer vertical axis) and the mediolateral translation displacement between the centers of the femoral component and the spacer based on the image data are less than 1.73°, 1.08° and 1.55 mm, respectively. It provides a force balance measurement with error less than ±5 N. The experiments also show that kinetic pose reconstruction can be used to detect the surgery defection that cannot be detected by the force measurement or instant pose reconstruction.

본문 72,900자

본문 펼치기
# _sensors_ _Article_ ## A Wireless Visualized Sensing System with Prosthesis Pose Reconstruction for Total Knee Arthroplasty Hanjun Jiang * , Shaolin Xiang, Yanshu Guo and Zhihua Wang Institute of Microelectronics, Tsinghua University, Beijing 100084, China * Correspondence: jianghanjun@tsinghua.edu.cn; Tel.: +86-10-6277-3045 Received: 16 May 2019; Accepted: 28 June 2019; Published: 1 July 2019 [���������](http://www.mdpi.com/1424-8220/19/13/2909?type=check_update&version=1) [�������](http://www.mdpi.com/1424-8220/19/13/2909?type=check_update&version=1) Abstract: The surgery quality of the total knee arthroplasty (TKA) depends on how accurate the knee prosthesis is implanted. The knee prosthesis is composed of the femoral component, the plastic spacer and the tibia component. The instant and kinetic relative pose of the knee prosthesis is one key aspect for the surgery quality evaluation. In this work, a wireless visualized sensing system with the instant and kinetic prosthesis pose reconstruction has been proposed and implemented. The system consists of a multimodal sensing device, a wireless data receiver and a data processing workstation. The sensing device has the identical shape and size as the spacer. During the surgery, the sensing device temporarily replaces the spacer and captures the images and the contact force distribution inside the knee joint prosthesis. It is connected to the external data receiver wirelessly through a 432 MHz data link, and the data is then sent to the workstation for processing. The signal processing method to analyze the instant and kinetic prosthesis pose from the image data has been investigated. Experiments on the prototype system show that the absolute reconstruction errors of the flexion-extension rotation angle (the pitch rotation of the femoral component around the horizontal long axis of the spacer), the internal–external rotation (the yaw rotation of the femoral component around the spacer vertical axis) and the mediolateral translation displacement between the centers of the femoral component and the spacer based on the image data are less than 1.73 <sup>◦</sup>, 1.08 <sup>◦</sup> and 1.55 mm, respectively. It provides a force balance measurement with error less than ±5 N. The experiments also show that kinetic pose reconstruction can be used to detect the surgery defection that cannot be detected by the force measurement or instant pose reconstruction. Keywords: total knee arthroplasty (TKA); multimodal sensing; visualization; pose reconstruction 1. Introduction There is an increasing number of people that suffer from arthritis or chronic joint diseases. For example, in the United States, the number of people aged 65 and older with these symptoms will exceed 41 million by 2030 [1]. Among them, knee arthritis contributes considerably to morbidity and results in a low quality of life. The primary surgical treatment for these patients is the total knee arthroplasty (TKA), namely, the replacement of the worn knee joint with a prosthesis implant [2–6]. As shown in Figure 1, the TKA implant is composed of three components: the femoral component, the tibia component and the polyethylene plastic spacer. _Sensors_ 2019, _19_ [, 2909; doi:10.3390/s19132909](http://dx.doi.org/10.3390/s19132909) [www.mdpi.com/journal/sensors](http://www.mdpi.com/journal/sensors) _Sensors_ 2019, _19_, 2909 2 of 22 _Femur_ _Femoral_ _Component_ _Plastic Spacer_ _Tibial Tray_ _Tibia_ Figure 1. A total knee replacement prosthesis (side view). A successful TKA surgery improves the knee function, and relieves the knee joint pain. However, the improper placement of the knee prosthesis may accelerate the attrition of the plastic spacer, which will result in a reduced working life, and cause severe pain to patients [2]. The integrity of a successful TKA surgery depends on several factors, including the appropriate alignment of the components, the rotational congruency between the prosthetic proximal tibia and the prosthetic femoral condyles, and the ligamentous balance of the knee joint [3]. Recent research [4] shows that the overall TKA failure rate is about 2.3%, and more than 74% of TKA failures are caused by non-infection reasons such as instability, aseptic loosening, stiffness, etc. Actually, most TKA failures are directly or indirectly caused by the operative mechanical reasons such as malalignment [5]. Traditionally, the quality of the TKA surgery is determined exclusively by the experience of the surgeons. The digitally guided assistance equipment will be meaningful to improve the surgery quality, and reduce the failure rate caused by the operative reasons. Many efforts have been made to develop the instrumentation of the knee joint prosthesis, for the purpose of surgery quality evaluation or long-term monitoring. Some investigations focused on measuring the contact force inside the joint prosthesis under different conditions [7–15]. In [7–9], a tibia tray was designed to measure the six load components in TKA. The in-vivo experiment under the conditions of walking or stair climbing during the postoperative follow-up of 6 to 10 months was conducted, in which the contact force of the prosthesis components were measured for five subjects. Similarly, a set of force sensing components were measured in [10–13] for three subjects in the scenarios of exercising and recreational activities after the TKA surgery, and the in-vivo experiment validated the effectiveness of the method. An implantable tibia prosthesis with the multiaxial force sensing was implemented and reported in [13]. In [14], a sensing system inside the knee implant for the force measurement was designed, fabricated and tested. The sensing system could be used to measure the contact force up to 1.5 times the body weight, and it was suitable for long-term monitoring. In [15–17], an instrumented smart knee prosthesis for the in-vivo measurement of the contact force and kinematics was proposed. This system could be used to monitor the knee prosthesis after the implantation with three magnetic sensors and a permanent magnet, and to prevent the possible damage to the prosthesis by detecting the load imbalance or abnormal forces and kinematics in the knee prosthesis. In [18], a long-term knee implant fatigue monitoring system using a floating-gate sensor array was introduced for the long-term, battery-less fatigue monitoring. All the above-mentioned designs were successful in measuring knee prosthesis contact force, and some could also measure the kinetic movement of _Sensors_ 2019, _19_, 2909 3 of 22 the knee prosthesis. Nevertheless, they were designed to monitor the knee prosthesis after the TKA surgeries. It is also very meaningful to develop the technique to improve the implantation surgery quality during the process of TKA surgeries. The motivation of this work is to provide a device to help the surgeons to improve the TKA surgery quality during the surgery process. Such a device is used only during the TKA surgery for measurement of less than one hour. Some efforts have been made to provide the auxiliary methods to help the surgeons to improve the quality in the surgery procedure. In [19], a “VERASENSE Knee System” is presented, in which an array of sensors provides the dynamic, intraoperative feedback regarding tibiofemoral position and quantitative pressure at peak contact points in the medial and lateral compartments in the TKA surgery. The kinematic tracking can also be assessed. In [20], a wireless knee joint force measurement system is proposed to increase the accuracy of the ligament balancing procedure. In [21], a force amplitudeand location-sensing device has been designed to improve the ligament balancing procedure in TKA. However, the above-mentioned systems only acquire the single modal sensor data, which may miss some important information. The sensing system can be more comprehensive with additional sensor data such as the image data. A wireless visualized sensing system has been proposed and implemented in this work for multimodal signal sensing inside the knee joint prosthesis. The system is used during the surgery as a trial component for adjustment and calibration of the implant without reforming the standard knee prosthesis or changing the standard clinical procedures. The proposed system consists of a small-sized sensing device, a wireless data receiver and a data processing workstation. The system can be used to acquire both the direct images and the contact force distribution inside the prosthesis. The real-time images can help the surgeons directly see and understand the real situation in the joint. More importantly, the image sensors have higher resolution than the piezoelectric, magneto-resistive and other types of physical sensors, and the proposed system can acquire much richer information about the knee joint prosthesis with the vision sensing. The proposed sensing device is used during the surgery when the patient lies flat. Once the sensing device is placed in the knee joint, the surgeons will move the shin manually, and the device records the inside images and the contact forces. The further signal processing reconstructs the instant pose, and the kinematic trajectory of the relative movement between the femoral component and spacer. The surgeons can use the obtained information to calibrate the position of the components in the joint prosthesis. During the surgery, the sensing device is temporarily inserted into the knee implant as a trial component and will be replaced by the real spacer component once the femoral component and tibia component are fitted to the proper position. The influence on the TKA procedure is quite small. The TKA surgeons can easily use it in the standard clinical procedures. In general, the proposed sensing device cannot be used to monitor the progression of the prosthesis over time after the surgery, partially due to the limited battery lifetime with the huge power consumption associated with image data acquisition and processing. The rest of the paper is organized as follows. In Section 2, the proposed system architecture and the design considerations are presented. Section 3 describes the hardware design details of the sensing device as well as the wireless data receiver. In Section 4, the detailed data processing procedures and algorithms will be introduced. Section 5 gives the experimental results. This work is concluded in Section 6. 2. Design Considerations and System Design The proposed wireless sensing measurement system consists of three parts, namely, the multimodal sensing device, the wireless data receiver, and the workstation, as shown in Figure 2. _Sensors_ 2019, _19_, 2909 4 of 22 _A. Multimodal_ _sensing device_ _C. Workstation_ _B. Wireless_ _data receiver_ _USB wire_ _Force sensors_ _CMOS image sensor_ _1L/1R_ _30°_ _2L/2R_ _3L/3R_ _4L/4R_ _5L/5R_ _2L_ _2R_ _3L_ _3R_ _4L_ _4R_ _5L_ _5R_ Figure 2. Proposed system architecture. The small-sized multimodal signal sensing device has the identical shape and size as the real spacer of the knee joint prosthesis. During the surgery, before the final placement of the real spacer, the sensing device is placed in its position inside the joint prosthesis as a trial of the spacer. The sensing device can take two types of data: (1) the images of the femoral component viewed from the spacer side; (2) the contact force distribution between the spacer and the femoral component. To facilitate the image data processing, some simple but easily recognizable markers are printed on the surface of the femoral component. The wireless data receiver is used to receive the sensing data acquired by the sensing device through a 432 MHz wireless link. The data receiver is then connected with the workstation through a USB cable. The signal processing will be carried out in the workstation, which will recognize the real-time relative position between the spacer and the femoral component from the multimodal sensing data. The algorithm implemented in the workstation can also the 3D kinematic trajectory of the femoral component with respect to the spacer. The surgeons can use the reconstructed information to evaluate if the knee joint prosthesis is properly installed, and make the adjustment if necessary. Generally speaking, the force data acquired through this system is only 2D data, and it is difficult to obtain the 3D information from the force data only. The image data is also 2D data, but the high-resolution images also contain the depth information. With the proposed kinetic pose estimation algorithm in this work, the presented system can output a 3D motion trajectory which is not available from other systems that acquire the force data only. There are some abnormal TKA situations that cannot be identified using the force data only, and there are also some abnormal situations that cannot be detected only using the image data. Figure 3 gives some examples to show the advantage of multimodal sensing data instead of the single-modal data. As shown in Figure 3a, if the knee joint is appropriately installed, the spacer and the femoral component is well aligned with a certain relative pose in both the static and kinetic conditions, and the ligament around the two sides of the knee joint is well balanced. The sensing device presented in [21] could be used to determine if the ligament is well balanced by comparing the contact forces of the two sides, since it could only measure the contact force distribution between the spacer and the femoral component. Such a device could detect the inappropriate condition as shown in Figure 2b, in which the spacer is tilted, and the contact force distribution is not in equilibrium if the patients stand straight. However, the sensing device in [21] could not report the inappropriate situation as shown in Figure 2c. In this situation, the contact forces between the two sides of the knee joint are equal, and therefore the device in [21] would faultily judge it as a good situation, although the spacer and the femoral component are misaligned. Nevertheless, the malalignment can be detected by processing the _Sensors_ 2019, _19_, 2909 5 of 22 direct images taken inside the joint using the multimodal sensing device presented in this work. In general, the surgery flaws shown in both Figure 3b,c can be detected using the presented multimodal sensing system. <u>α</u> _Ligament Balance_ _Instant pose_ ( c ) ✔ ✘ _Ligament Balance_ _Ligament Balance_ ✘ _Instant pose_ ✔ _Ligament Balance_ ✔ ✔ _Instant pose_ ( b ) ( a ) Figure 3. Typical situations of the knee joint prosthesis of total knee arthroplasty (TKA) surgery: ( a ) the joint prosthesis is well installed, ( b ) inappropriate condition with the spacer tilted, ( c ) inappropriate condition with malalignment between the spacer and the femoral component. 3. Hardware Implementation The hardware implementation of the presented sensing system will be presented in this section. _3.1._ _Multimodal Sensing Device_ The functional diagram of the image and force sensing device is shown in Figure 4. It consists of five key functional blocks, i.e., the image sensor, the force sensors array in together with an analog-to-digital converter (ADC) for signal conversion, the wireless data transmitter, the sensor interface chip to bridge the sensors and the transmitter, and the microcontroller (MCU) for the system initialization. There are four white LEDs distributed evenly around the image sensor lens. These four LEDs provide the necessary lighting for the image sensing, since the sensing device will work in the dark or dim environment side the knee joint. The illuminance can be tuned by adjusting the driving current of the LEDs to avoid the overexposure or underexposure. _Sensor Interface Chip_ _Symmetric Force_ _Sensors Array_ _CMOS_ _Image Sensor_ _Power_ _Management_ _Matching_ _<mark>ADC</mark>_ _ADC_ _Interface_ _CIS_ _Interface_ _Data_ _Combination_ _M_ _C_ _U_ _Wireless Data Transmitter Chip_ _Voltage_ _Clock_ _Reference_ _Network_ _Power_ _Amplifier_ _Transmitter_ _Data_ _Data_ _(RF)_ _Modulator_ _Compression_ Figure 4. Functional diagram of the multimodal sensing device. _Sensors_ 2019, _19_, 2909 6 of 22 The MSP430 MCU by Texas Instruments Inc. provides the initial settings for all the other chips in the sensing device during the power-up phase. Since the wireless data transmitter and the sensors operate autonomously, the MCU is programmed to power off to save power consumption once the device starts the full operation. The OV7670 image sensor used in this device is a CMOS sensor manufactured by Omnivision with a maximum resolution of 640 × 480. In this application, it can be programmed to output images with 480 × 480 or 240 × 240 resolution. A view angle of 140 <sup>◦</sup> is achieved by using a specially designed wide-angle macro lens. Since the image sensor is very close to the femoral component, this wide view angle macro lens can guarantee that most of the surface of the femoral component can be “seen” by the image sensor. The sensing device contains six low profile force sensors manufactured by Honeywell based on silicon-implanted piezo resistors. Each sensor has a measurement range of 0–45 N. A 6-channel 24-bit Σ∆ ADC by ADI is used to quantize the force sensors’ output. The wireless data transmitter chip is a highly integrated system-on-a-chip (SoC) which is an improved design of that reported in [22]. The ultra-low power SoC was originally designed to transmit the image sensor data. It is mainly composed of a minimum shift keying (MSK) transmitter working at the 400 MHz band and an image data compressor. In this application, the transmitter is configured to work at 416 MHz, and it provides a raw data rate of 3 Mbps. The image data compressor provides a near-lossless data compression ratio of ~3, which can help to boost the transmission frame rate. In this application, the transmitter SoC can be configured to transmit 480 × 480 images with a frame rate of ~3 fps, or 240 × 240 images with a frame rate of 6–8 fps. The SoC contains one charge-pump boost regulator and three programmable low-dropout (LDO) linear regulators, which provide 4 V, 2.5 V, 1.8 V and 1.2 V power supplies to all the other circuits in the SoC and the other function blocks in the sensing device. The 4V power supply is used to drive four white LEDs, which serve as the flash lights for image sensing. A coil antenna with −8.9 dBi peak gain and a voltage standing wave ratio (VSWR) of less than 2.0 at the 416 MHz center frequency with the proper matching between the antenna and the RF power amplifier. The RF transmitter has an energy efficiency of 1.3 nJ/bit not including the power amplifier. Since the wireless transmitter SoC was originally designed to transmit the image data, it can only receive the data from the image sensor using an 8-bit parallel data port. The dedicated sensor interface chip is used to pack the sensing data from the force sensor array and the image sensor into the format of 8-bit parallel image data, which is readable by the SoC. Actually, the first four data rows of each 480 × 480 or 240 × 240 image is replaced by the force sensor data with careful consideration of data synchronization. From the view point of the transmitter SoC, it just receives and transmits the “image” data from the interface chip. By doing so, each frame of the image will lose the first four rows, which is affordable, considering that each image contains at least 240 rows. The sensing device is supplied by a 3 V lithium manganese battery with a capacity of 170 mAh. There is the potential risk to use this type of battery since it is not dedicated for the medical applications. Regardless, this battery is only used for the experiments before the clinical trial. In the future, the lithium manganese battery can be replaced by a safer battery, such as the lithium/iodine cell battery for the real medical product. The currently used battery has a peak current of 30 mA that occurs when the image sensor is enabled, with the image sensor drawing 15 mA from a regulated 2.5 V supply and the flash lights consuming ~14 mA current. The transmitter SoC has a peak current of ~6 mA. Note that the image sensor and the transmitter are not enabled simultaneously to avoid too much peak current. The force sensors and the ADC has a peak current of less than 1 mA. In overall, the sensing device consumes a peak current of ~30 mA. All the circuits in the sensing device are powered on only when necessary, the sensing device has an average current of ~10 mA from the 3 V supply. Roughly, 40% of the total average current is contributed by the transmitter SoC and almost all the remaining 60% is contributed by the image _Sensors_ 2019, _19_, 2909 7 of 22 sensor in together with its flash lights. The force sensors and the following ADC are enabled at very low duty cycle ratio, and the contribution to the average current is less than 1%. As shown in Figure 5a, the force sensors and the image sensor reside on the same printed circuit board (PCB) which has the same outline as the spacer. The PCB is sealed inside a transparent shell which is composed of the upper shell and lower shell. The central region of the upper shell is transparent and polished to ensure the image quality. The entire sensing device is shown in Figure 5b. It has the identical shape and size as the real spacer used in the knee joint prosthesis. Since there are many versions of spacers with various sizes to meet the requirements of different patients, the sensing devices in the real product should also have as many as versions to match the spacers. The shell of the sensing device is made of the medical-level polycarbonate. Since the device is not permanently implanted, the wear issue is not of concern. Note that the sensing device is used when the patient lies flat. It is estimated that the force applied to the shell of the device is less than 20 kilograms. The mechanical architecture of the sensing device is well designed so that it can tolerate the loads up to 50 kilograms. Experiments have been performed to validate the mechanical reliability of the sensing device with a 50 kg load. _Force_ _Sensors Array_ _Central_ _transparent_ _region_ _CMOS Image_ _Sensor_ ( a ) ( b ) Figure 5. Package and assembling of the sensing device. ( a ) printed circuit board (PCB), ( b ) the entire sensing device with the transparent shell. The performance of the sensing device is summarized in Table 1. Table 1. Sensing device performance summary. Specification Performance Typical size (varies with the prosthesis model) 76 mm × 52 mm × 17 mm Typical weight (varies with the prosthesis model) 25.56 g Number of sensors 6 Force sensing Measurement range (each sensor) 0–45 N Resolution 240 × 240 or 480 × 480 Image sensing Maximum frame rate 8 fps (240 × 240) Carrier frequency 416 MHz Wireless transmitter Maximum data rate 3 Mbps Power supply 3 V Average power consumption ~10 mA@3V <u>Battery Lifetime(CR2025 Li/MnO2)</u> <u>>5 h</u> _Sensors_ 2019, _19_, 2909 8 of 22 _3.2._ _Wireless Data Receiver_ The data receiver in the proposed wireless visualized measurement system is used to receive the multimodal data from the sensing device. The block diagram of the receiver is shown in Figure 6. The key parts of the data receiver are the RF receiver and the FPGA-based MSK demodulator. The digital demodulator receives the digitized intermediate frequency (IF) signals from a pair of 8-bit 24 Msps ADCs, and performs the MSK demodulation. Note that in the sensing device, the image sensor output and the force sensors’ output are packed. Correspondingly, the image data and the force data are decomposed from the received data in the data receiver. The data receiver is then connected to the workstation through a USB cable for further data processing. _Wireless data Receiver_ _Power Management_ _Flash Memory_ _FPGA-based_ _Matching Network_ _RF Receiver_ _USB Controller_ _demodulator_ Figure 6. Block diagram of the data receiver. _USB cable to_ _workstation_ The PCB and package of the data receiver is shown in Figure 7. The data receiver has a size of 124 × 86 × 22 mm <sup>3</sup> . It contains a li-iron battery of 4000 mAh, and the battery life is about 10 h. ( a ) ( b ) Figure 7. PCB and package of the data receiver. 4. Multimodal Sensor Data Processing The multimodal sensing data is eventually sent to the workstation for further processing to acquire the relative pose of the components in the knee joint prosthesis. The force sensors’ data can be used to check the ligament balance of the knee prosthesis, and the details of the force data processing can be found in the paper previously published by our group [21]. As shown in Figure 8, the image data processing is composed of three steps, i.e., the image data pre-processing, the instant pose reconstruction from the individual image, and the kinetic pose reconstruction based on multiple consecutive images. _Sensors_ 2019, _19_, 2909 9 of 22 _Image inside_ _Knee Prothesis_ _Image Denoising_ I. _Image_ _Pre-processing_ II. _Instant Pose_ _Reconstruction_ _Contrast_ _Enhancement_ III. _Kinetic Pose_ _Reconstrcution_ _Distortion_ _Correction_ _OpenCV_ _Camera_ _Calibration_ _Method_ _Similar 2D_ _blocks_ _grouping_ _4.1._ _Image Pre-Processing_ _3D data array_ _collaborative_ _filtering_ _Aggregate by_ _weighted_ _average_ _Multi-Scale_ _Retinex on_ _Green_ _channel_ Figure 8. Data processing flow in the workstation. In the image pre-processing part, the images are denoised, and then the contrast is enhanced, and the lens distortion is corrected. Note that the contrast enhancement is necessary since all the images are taken under the low illumination scenario inside the knee prosthesis. The distortion introduced by the wide-angle macro-lens must also be corrected before further processing. The steps of the pre-processing are shown in Figure 8. The Block-Matching and 3D filtering (BM3D) algorithm [23] is used for the denoising. In this algorithm, the similar blocks in the femoral component surface images are used to eliminate the noise, and the image quality is improved in terms of both the peak signal-to-noise ratio (PSNR) and the subjective visual quality. For the contrast enhancement, a modified Multi-Scale Retinex (MSR) algorithm [24] is used to enhance the edge features of the images. For each input image data matrix _S_ ( _x_, _y_ ), the output of the MSR processing is the reflectance matrix _R_ ( _x_, _y_ ) given by: _R_ ( _x_, _y_ ) = _S_ ( _x_, _y_ )/( _F_ ( _x_, _y_ ) ∗ _S_ ( _x_, _y_ )) (1) in which _F_ ( _x_, _y_ ) is a Gaussian filter. _F_ ( _x_, _y_ ) is given by: / _c_ <sup>2�</sup> _F_ (x, y) = exp - _x_ <sup>2</sup> + _y_ <sup>2�</sup> (2) where c is the scale factor. To simplify the calculation, the logarithmic matrix _r_ ( _x_, _y_ ) is used, and _r_ ( _x_, _y_ ) is calculated as: _r_ (x, y) = ln _R_ ( _x_, _y_ ) = ln _S_ ( _x_, _y_ ) − ln( _F_ ( _x_, _y_ ) ∗ _S_ ( _x_, _y_ )) (3) - - Following the method in [25], three Gaussian filters _Fk_ (x, y) = exp - _x_ <sup>2</sup> + _y_ <sup>2�</sup> / _c_ <sup>2</sup> _k_, _k_ = 1, 2, 3 are used to generate three outputs, i.e., _rk_ (x, y), _k_ = 1, 2, 3 and the weighted summation of _rk_ (x, y), _k_ = 1, 2, 3 is calculated to find the final MSR output. / _c_ <sup>2</sup> _k_ _k_ - _x_ <sup>2</sup> + _y_ <sup>2�</sup> Following the method in [25], three Gaussian filters _Fk_ (x, y) = exp ��3 (4) _R_ ( _x_, _y_ ) = exp _k_ =1 <sup>_Wkrk_</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>)</sup> In this application, based on the experiments on the image data taken in the emulated environment, the MSR processing is only applied to the G channel of the original RGB image data, which yields the best subjective quality. Also based on the experimental data, the following set of parameters are used for the MSR processing, i.e., _c_ 1 = 15, _c_ 2 = 80, _c_ 3 = 250, and _W_ 1 = _W_ 2 = _W_ 3 = 1/3. _Sensors_ 2019, _19_, 2909 10 of 22 The R, G and B channels after the MSR processing are normalized separately, to balance the relative intensities of the three-color channels. The last step in the pre-processing is to correct the lens distortion. The camera calibration method from OpenCV [26] is used. A test board with the chess board pattern is utilized to find the camera matrix, distortion coefficients, rotation and translation vectors, etc., which is then used for the distortion correction. _4.2._ _Establishment of the Pose Reconstruction Problem_ To facilitate the image data processing, five pairs of control points are marked on the femoral component, by printing some special markers on its surface. Those control points are numbered as _1L_ / _1R, 2L_ / _2R, 3L_ / _3R, 4L_ / _4R_ and _5L_ / _5R_ . As shown in the side view of the femoral component given in Figure 9, the five pairs of control points are spaced approximately evenly on the femoral component surface with an angle difference of 30 <sup>◦</sup> . Any two pairs of control points form a rectangle. The femoral component is usually made of reflective materials, which will bring difficult to take the. However, the most concerned features of the images are the five pairs of control points. Non-reflective material with high contrast should be chosen to print the control points, so that they can then easily be distinguished, even if the entire image is affected by the surface reflection issue. _2L_ _2R_ _1L/1R_ _30°_ _2L/2R_ _3L/3R_ _4L/4R_ _5L/5R_ ( a ) _3L_ _3R_ _4L_ _4R_ _5L_ _5R_ _2L/2R_ _4L/4R_ _1L/1R_ _3L/3R_ _5L/5R_ ( b ) Figure 9. Femoral component with five pairs of control points on its surface: ( a ) side view, ( b ) front view (partial). Only three types of markers are used, namely, the triangle, round and square markers. 1 _L_ /1 _R_ markers are triangle, 2 _L_ /2 _R_ and 3 _L_ /3 _R_ markers are round, and 4 _L_ /4 _R_ and 5 _L_ /5 _R_ markers are square. Since the movement of the femoral component has limited freedom, the control point numbers can be easily recognized by recognizing the shapes of the markers. For example, if the surface image of the femoral component contains two round markers and two square markers, the control point numbers are recognized as 3 _L_ /3 _R_ and 4 _L_ /4 _R_ . The image data processing of this system turns to finding the relative position between the spacer (sensing device) and the femoral component from the surface images of the femoral component “seen” by the spacer (sensing device) with the aid of the control points. Geometrically, the spacer and the femoral component are represented by two coordinate systems, namely, the spacer coordinate system { _O_ C _X_ C _Y_ C _Z_ C}, and the femoral coordinate system { _O_ F _X_ F _Y_ F _Z_ F}, as shown in Figure 10. For the spacer coordinate system, the origin _O_ C is the center of the space bottom plane, the X axis _O_ C _X_ C is defined as the long axis the space bottom plane, and the Y axis _O_ C _Y_ C is the axis perpendicular to _O_ C _X_ C on the space bottom plane, and the Z axis _O_ C _Z_ C is vertically perpendicular to the space bottom plane. Ideally, when the femur is alignment with the tibia, the femoral coordinate system { _O_ F _X_ F _Y_ F _Z_ F} is fully parallel to { _O_ C _X_ C _Y_ C _Z_ C}, and the two origins _O_ F and _O_ C are apart vertically. _Sensors_ 2019, _19_, 2909 11 of 22 The spacer coordinate system is used as the camera coordinate system in this implementation. The relative position of the spacer and the femoral component can be described by the rotational angles [φ, θ, ψ], and the 3-dimensional translation _t_ CF = [ _t_ x, _ty_, _t_ z] <sup>T</sup> between the two origins. φ is the the roll angle about the _O_ C _Y_ C axis. θ is the flexion-extension rotation angle, namely, the pitch angle about the _O_ C _X_ C axis. ψ is the internal–external rotation angle, namely, the yaw angle about the _O_ C _Z_ C axis between the two coordinate systems. _t_ x is the mediolateral translation, namely, the horizontal distance between the centers of the femoral component and the spacer along the _O_ C _X_ C axis. For a successful TKR surgery, it is expected that φ, ψ and _t_ x are all zero when the tibia moves relative to the femur. _Femoral component_ _coordinate system_ _Control point_ _coordinate system_ _C2_ _ZF_ _C1_ _OA_ _ZA_ _OF_ _C4_ _YF_ _XF_ _ZC_ _OC_ _XC_ _Yaw_ ψ _Roll_ φ _Pitch θ_ _YA_ _<u>YC</u>_ _C3_ _Camera (spacer)_ _coordinate system_ _XA_ Figure 10. The coordinate systems to represent the relative position between the spacer and the femoral component. In the image data processing, it is more convenient to use the rotation matrix R instead of the rotational angles [φ, θ, ψ]. [φ, θ, ψ] can easily calculated from _R_ based on the definition of _R_ as follows: cos φ cos ψ - cos φ sin ψ sin φ cos θ sin ψ + cos ψ sin φ sin θ cos ψ cos θ − sin φ sin ψ sin θ - cos φ sin θ - cos ψ cos θ sin φ + sin ψ sin θ cos θ sin φ sin ψ + cos ψ sin θ cos φ cos θ   _RCF_ =   (5) The relative pose reconstruction problem is converted to the problem to find RCF and tCF between two coordinate systems { _O_ C _X_ C _Y_ C _Z_ C} and { _O_ F _X_ F _Y_ F _Z_ F}. It is not easy for the sensing device to directly recognize the coordinate system { _O_ F _X_ F _Y_ F _Z_ F}. However, with the wide view angle of the image sensor in the sensing device, any femoral component image taken by the sensing device contains at least 2 pairs of control points, which can define an assistant control point coordinate system { _O_ A _X_ A _Y_ A _Z_ A}. There are a series of control point coordinate systems { _O_ A _X_ A _Y_ A _Z_ A} defined by the control points, and the rotation matrix RAF and the translational distance tAF between any { _O_ A _X_ A _Y_ A _Z_ A} and { _O_ F _X_ F _Y_ F _Z_ F} are exactly known. On the other hand, RCA and tCA between { _O_ C _X_ C _Y_ C _Z_ C} and { _O_ A _X_ A _Y_ A _Z_ A} can be calculated using the image data processing shown next. Assume that the coordinates of a given point in these three coordinate systems are _C_ C = [ _x_ C, _y_ C, _z_ C] <sup>T</sup>, _C_ A = [ _x_ A, _y_ A, _z_ A] <sup>T</sup>, and _C_ F = [ _x_ F, _y_ F, _z_ F] <sup>T</sup>, respectively. The coordinate transformation gives the following equations: _CF_ = _RCF_ ( _CC_ - _tCF_ ) (6) _CF_ = _RAF_ ( _CA_ - _tAF_ ) (7) _Sensors_ 2019, _19_, 2909 12 of 22 _CA_ = _RCA_ ( _CC_ - _tCA_ ) (8) Substituting (6) and (7) into (8) gives: _CF_ = _RAF_ ( _RCA_ ( _CC_ - _tCA_ ) − _tAF_ ) ⇒ _CF_ = _RAFRCA_ Comparing (6) and (9), it follows that: _CC_ - _tCA_ + _R_ <sup>−</sup> _CA_ <sup>1</sup> <sup>_tAF_</sup> - _tCA_ + _R_ <sup>−</sup> _CA_ <sup>1</sup> �� (9) _RCF_ _tCF_ = - _RAFRCA_ _R_ <sup>−</sup> _CA_ <sup>1</sup> <sup>_tAF_</sup> <sup>+</sup> <sup>_tCA_</sup> (10) The problem to solve _R_ CF and _t_ CF is finally converted to the coplanar perspective-4-points problem [27] to find [ _R_ CA, _t_ CA], with [ _R_ AF, _t_ AF] as the known parameters. _4.3._ _Instant Pose Reconstruction_ After the pre-processing, the control points in the femoral component images are recognized. The images are firstly filtered by an adaptive threshold filter to generate the binary images. The contours of the control point markers are then recognized using the method by [28]. The numbers of the control points are recognized by the markers’ shapes. For each individual image, four adjacent control points which form the biggest rectangle area in this image are chosen to establish the control point coordinate system { _O_ A _X_ A _Y_ A _Z_ A}. An analytic and non-iterative method is then proposed to solve the coplanar perspective-4-points problem to find [ _R_ CA, _t_ CA] as described in the previous subsection. There are many classical methods to solve this perspective problem, including the non-iterative method Epnp [29], the iterative linear solution using unbiased statistics [30,31], some simple methods based on P3P problem [32,33] and many linear analytic solutions [34–38] and so on. Compared to these classical methods, the proposed method has the advantage of low computational complexity. The geometry of the proposed method is explained in Figure 11. As shown in Figure 11, the four control points _C_ 1, _C_ 2, _C_ 3, _C_ 4 are projected to the image plane as the image points _m_ 1, _m_ 2, _m_ 3, _m_ 4, and the correspondence between the control points and the image points is known. The point _O_ is the perspective center of the camera. Solving the estimation problem can be equivalent to solving the ⇀ depth of _OC_ 1, _OC_ 2, _OC_ 3, and _OC_ 4. The vector ⇀ _ri_ is the unit vector with the same direction as _Omi_ (I = 1, 2, 3, 4) and γ1, γ2, γ3 are the angles between _r_ ⇀1 and _r_ ⇀2, _r_ ⇀3, _r_ ⇀4, respectively. H1, H2, H3 are the points depth of _OC_ 1, _OC_ 2, _OC_ 3, and _OC_ 4. The vector ⇀ _ri_ is the unit vector with the same direction as _r_ ⇀2, 1, 2, 3, 4) and γ1, γ2, γ3 are the angles between _r_ ⇀1 and _r_ ⇀2, _r_ ⇀3, _r_ ⇀4, respectively. H1, H2, H3 are the points on line _OC_ 2, _OC_ 3, and _OC_ 4 with _C_ 1 _H_ 1⊥ _OC_ 2, _C_ 1 _H_ 2⊥ _OC_ 3 and _C_ 1 _H_ 3⊥ _OC_ 4. _r_ ⇀3, _D1_ _C3_ _C4_ _D2_ _k3x_ _k2x_ _H2_ _H3_ _D2_ _m4_ _C1_ _D1_ _C2_ _k1x_ _H1_ _OC1 = x_ _m3_ _m1_ _<u>r3</u>_ _r1_ _r4_ _r2_ _m2_ γ _3_ γ _1_ γ _2_ _O_ Figure 11. Geometry of the proposed analytic and non-iterative method. _Sensors_ 2019, _19_, 2909 13 of 22 To simplify this problem, assume that _OC_ 1 has a length of _x_ and _C_ 1 _H_ 1, _C_ 1 _H_ 2, _C_ 1 _H_ 3 equal to _k_ 1 _x_, _k_ 2 _x_ and _k_ 3 _x_ respectively. How to find the values of _k_ 1, _k_ 2, _k_ 3 and _x_ is explained as follows. In the triangle _C_ 1 _C_ 2 _C_ 3: <sup>2</sup> 1 <sup>=</sup> <sup>_C_</sup> <sup>1</sup> <sup>_H_</sup> <sup>12 +</sup> <sup>_H_</sup> <sup>1</sup> <sup>_C_</sup> <sup>22</sup> <sup>=</sup> <sup>_x_</sup> <sup>2�</sup> sin <sup>2</sup> γ1 + _k_ 1 <sup>2</sup> _C_ 1 _C_ 2 <sup>2</sup> = _D_ <sup>2</sup> 1 1 <sup>2</sup> (11) <sup>2</sup> 1 <sup>+</sup> <sup>_D_</sup> 2 <sup>2</sup> <sup>=</sup> <sup>_C_</sup> <sup>1</sup> <sup>_H_</sup> <sup>22 +</sup> <sup>_H_</sup> <sup>2</sup> <sup>_C_</sup> <sup>32</sup> <sup>=</sup> <sup>_x_</sup> <sup>2�</sup> sin <sup>2</sup> γ2 + _k_ 2 <sup>2</sup> _C_ 1 _C_ 3 <sup>2</sup> = _D_ <sup>2</sup> 1 2 <sup>2</sup> (12) where _D_ 1 and _D_ 2 are the two side lengths of rectangle _C_ 1 _C_ 2 _C_ 3 _C_ 4. According to the cosine theorem: <u>�����</u> _<u>D</u>_ <u>1</u> cos ∠ _C_ 2 _C_ 1 _C_ 3 = <u>�</u> _D_ <sup>2</sup> 1 <sup>+</sup> <sup>_D_</sup> 2 <sup>2</sup> = → → _<u>C</u>_ <u>1</u> _<u>C</u>_ <u>2</u> ∗ _<u>C</u>_ <u>1</u> _<u>C</u>_ <u>3</u> → → _C_ 1 _C_ 2 _C_ 1 _C_ 3 <u>�����</u> <u>�����</u> ∗ <u>�����</u> → _C_ 1 _C_ 2 <u>�����</u> → _<u>C</u>_ <u>1</u> _<u>C</u>_ <u>2</u> ∗ → _<u>C</u>_ <u>1</u> _<u>C</u>_ <u>2</u> ∗ → _<u>C</u>_ <u>1</u> _<u>C</u>_ <u>3</u> = <u>�����</u> ∗ <u>�����</u> → _C_ 1 _C_ 3 <u>�����</u> <u>�����</u> _D_ 1/ ~~<u>�</u>~~ _D_ <sup>2</sup> 1 (13) <sup>2</sup> 1 <sup>+</sup> <sup>_D_</sup> 2 <sup>2</sup> <sup>∗</sup> <sup>_C_</sup> <sup>1</sup> <sup>_C_</sup> <sup>32</sup> According to the geometry relationship: → _C_ 1 _C_ 2 = → _C_ 1 _C_ 3 = → _OC_ 2 − → _OC_ 3 − → _OC_ 1 = _x_ → _OC_ 1 = _x_ �(cos γ1 + _k_ 1) �(cos γ2 + _k_ 2) _r_ →1 (14) _r_ →1 (15) _r_ →2 − _r_ →3 − Substitute (14) and (15) into (13): _D_ <sup>2</sup> <u>1</u> _r_ →1 ��(cos γ2 + _k_ 2) _r_ →1 (cos γ1 + _k_ 1) ) _r_ →2 − _r_ →3 − (16) <u>1</u> _D_ <sup>2</sup> 1 <sup>+</sup> <sup>2</sup> 1 <sup>+</sup> <sup>_D_</sup> 2 <sup>2</sup> �sin <sup>2</sup> γ2 + _k_ 2 <sup>2</sup> - _x_ <sup>2</sup> = _x_ <sup>2�</sup> �sin <sup>2</sup> γ2 + _k_ 2 <sup>2</sup> (16) can be expanded to (17): Substitute (17) into (11)/(12): _a_ 1 _k_ 2 <sup>2</sup> <sup>+</sup> <sup>_b_</sup> <sup>1</sup> <sup>_k_</sup> <sup>2 +</sup> <sup>_c_</sup> <sup>1</sup> <sup>=</sup> <sup>_k_</sup> <sup>1(</sup> <sup>_d_</sup> <sup>1</sup> <sup>_k_</sup> <sup>2 +</sup> <sup>_e_</sup> <sup>1)</sup> (17) _f_ 1 _k_ 2 <sup>4</sup> <sup>+</sup> <sup>_g_</sup> <sup>1</sup> <sup>_k_</sup> 2 <sup>3</sup> <sup>+</sup> <sup>_h_</sup> <sup>1</sup> <sup>_k_</sup> 2 <sup>2</sup> <sup>+</sup> <sup>_i_</sup> <sup>1</sup> <sup>_k_</sup> <sup>2 +</sup> <sup>_j_</sup> <sup>1</sup> <sup>= 0</sup> (18) Similarly, in the triangle _C_ 1 _C_ 4 _C_ 3: _a_ 2 _k_ 2 <sup>2</sup> <sup>+</sup> <sup>_b_</sup> <sup>2</sup> <sup>_k_</sup> <sup>2 +</sup> <sup>_c_</sup> <sup>2</sup> <sup>=</sup> <sup>_k_</sup> <sup>3(</sup> <sup>_d_</sup> <sup>2</sup> <sup>_k_</sup> <sup>2 +</sup> <sup>_e_</sup> <sup>2)</sup> (19) _f_ 2 _k_ 2 <sup>4</sup> <sup>+</sup> <sup>_g_</sup> <sup>2</sup> <sup>_k_</sup> 2 <sup>3</sup> <sup>+</sup> <sup>_h_</sup> <sup>2</sup> <sup>_k_</sup> 2 <sup>2</sup> <sup>+</sup> <sup>_i_</sup> <sup>2</sup> <sup>_k_</sup> <sup>2 +</sup> <sup>_j_</sup> <sup>2</sup> <sup>= 0</sup> (20) While in the triangle _C_ 1 _C_ 2 _C_ 4: _C_ 1 _C_ 2⊥ _C_ 1 _C_ 4 ⇒ _x_ <sup>2�</sup> (cos γ1 + _k_ 1) _r_ →2 − _r_ →1 ��(cos γ3 + _k_ 3) _r_ →4 − _r_ →1 = 0 (21) Combining (17), (19) and (21) leads to an equation without _k_ 1 or _k_ 3: _f_ 3 _k_ 2 <sup>4</sup> <sup>+</sup> <sup>_g_</sup> <sup>3</sup> <sup>_k_</sup> 2 <sup>3</sup> <sup>+</sup> <sup>_h_</sup> <sup>3</sup> <sup>_k_</sup> 2 <sup>2</sup> <sup>+</sup> <sup>_i_</sup> <sup>3</sup> <sup>_k_</sup> <sup>2 +</sup> <sup>_j_</sup> <sup>3</sup> <sup>= 0</sup> (22) In (17)–(22), the coefficients _a_ i, _b_ i, _c_ i, _d_ i, _e_ i, _f_ i, _g_ i, _h_ i, _i_ i, _j_ i (I = 1, 2, 3) are used without explanation. Actually, these coefficients all have the analytical expressions in terms of γ1, γ2, γ3, which are shown in Appendix A. (18), (20) and (22) can be combined and written in the form of matrix operation:   _f_ 1 _g_ 1 _h_ 1 _i_ 1 _j_ 1 _f_ 2 _g_ 2 _h_ 2 _i_ 2 _j_ 2 _f_ 3 _g_ 3 _h_ 3 _i_ 3 _j_ 3 0 0 0       - _k_ <sup>4</sup> 2 <sup>3</sup> _k_ <sup>2</sup> 2 2 (23) <sup>4</sup> _k_ <sup>3</sup> 2 2 2 <sup>2</sup> _k_ 2 1 - _T_ = _Sensors_ 2019, _19_, 2909 14 of 22 The unique solution of _k_ 2 can be found from these homogeneous linear equations, based on the right singular vectors of null space of the 3 × 5 matrix [20]. Consequently, _k_ 1, _k_ 3 and length _x_ can be calculated from (17), (19) and (11), respectively. Note that: → _OC_ 1 = _x_ _r_ →1 _r_ →4  _r_ →3 _OC_ → 1 = _xr_ →1 _OC_ → 2 = _x_ (cos γ1 + _k_ 1) _r_ →2 → → _OC_ 3 = _x_ (cos γ2 + _k_ 2) _r_ →3 _OC_ 4 = _x_ (cos γ3 + _k_ 3) _r_ →4 → _OC_ 2 = _x_ (cos γ1 + _k_ 1) → _OC_ 4 = _x_ (cos γ3 + _k_ 3) Consequently, _R_ CA and _t_ CA can be calculated as: → _OC_ 3 + → _OC_ 4 (24) (25) → _tCA_ = _tx_ _ty_ _tz_ - _T_ = <u>1</u> - _OC_ → 1 + 4 → _OC_ 2 + → _<u>C</u>_ <u>1</u> _<u>C</u>_ <u>4</u> _RCA_ = - → _<u>C</u>_ <u>1</u> _<u>C</u>_ <u>2</u> ∥ <u>→</u> _C_ 1 _C_ 2∥ → _<u>C</u>_ <u>1</u> _<u>C</u>_ <u>4</u> <u>→</u> _C_ 1 _C_ 4∥ → _<u>C</u>_ <u>1</u> _<u>C</u>_ <u>4</u> <u>�</u> (26) ∥ ∥ → _<u>C</u>_ <u>1</u> _<u>C</u>_ <u>2×</u> <u>→</u> _C_ 1 _C_ 2× <u>→</u> _C_ 1 _C_ 4∥ _R_ CF and _t_ CF can then be calculated using (10), and the rotational angles [φ, θ, ψ] can be calculated from _R_ CF using (5). Obviously, the proposed method can solve the problem without any iteration, and the computation complexity can be characterized as O(1). As a result, the instant pose reconstruction can be implemented in real time, while requiring limited computation overhead. _4.4._ _Kinetic Pose Reconstruction_ During the TKA surgeries, the instant relative pose reconstructed by the image data and the ligament balance indicated by the force sensor data should be checked by slowly moving the tibia with respect to the femur. As shown in Figure 12, there are some typical angles between the tibia and the femur, such as 0 <sup>◦</sup>, 45 <sup>◦</sup>, 90 <sup>◦</sup> and 130 <sup>◦</sup> [39]. ( a ) ( b ) Figure 12. Typical angles for instant prosthesis pose check: ( a ) 0 <sup>◦</sup>, ( b ) 90 <sup>◦</sup> . It is also of great significance to check the kinematic trajectory of the femoral component “seen” by the spacer when moving the tibia with respect to the femur. A successful surgery will lead to a trajectory that is central symmetric and smooth. The symmetry of the kinetic trajectory indicates the balance of the prosthesis, and the smoothness indicates the knee joint can move freely without interference between the prosthesis components. In the instant pose reconstruction, the coordinate of the femoral component coordinate origin in the spacer coordinate system is described as _t_ CF = [ _t_ x, _t_ y, _t_ z] <sup>T</sup> . The change of _t_ CF = [ _t_ x, _t_ y, _t_ z] <sup>T</sup> when moving the tibia with respect to the femur can be used as the kinetic trajectory. However, this trajectory has limited amplitude. To amplify this trajectory, another point P which is the lowest central point of the femoral component is defined and the relative trajectory of P in the spacer coordinate system _Sensors_ 2019, _19_, 2909 15 of 22 is described. As shown in Figure 13, the point P has a coordinate of [0, 0, −50] <sup>T</sup>, then in the spacer coordinate system, the coordinate of point P is given by: - _T_ + _tx_ _ty_ _tz_ - _T_ (27) _CP_, _C_ = _R_ <sup>−</sup> _CF_ <sup>1</sup> <sup>−</sup> _CF_ <sup>1</sup> <sup>_CP_</sup> <sup>,</sup> <sup>_F_</sup> <sup>+</sup> <sup>_tCF_</sup> <sup>=</sup> <sup>_R_</sup> <sup>−</sup> _CF_ <sup>1</sup> _CF_ 0 0 −50 _ZF_ _OF_ _XF_ _dx=50mm_ _<u>P</u>_ _Zw_ _Ow_ _Xw_ Figure 13. Kinetic pose reconstruction actually reconstructs the trajectory of point P in the femoral component. The kinetic pose reconstruction is just to sketch the trajectory of point P with the coordinate _C_ P,C in the camera coordinate system. 5. Experimental Results _5.1._ _Prototype Sensing System_ The prototype system implemented in this work is shown in Figure 14a. The sensing device can be programmed take images with resolution of 240 × 240 or 480 × 480. The frame rate of image transmission can reach 8 fps when transmitting the compressed 240 × 240 images. The frame rate is actually limited by the data rate of the wireless transmitter. Considering that the knee joint moves quite slowly, this frame rate is acceptable. The refreshing rate of the force data acquisition is 30 Hz. _Pitch axis_ _vernier_ _Multiple Display_ _Workstation_ _Wireless_ _Sensing Device_ _Spacer_ _Data Logger_ ( a ) Figure 14. Prototype system and the test platform. _Femoral_ _Component_ _Yaw axis_ _vernier_ ( b ) _Sensors_ 2019, _19_, 2909 16 of 22 In the experiment, the spacer (sensing device) is placed in a test platform, which can be used to resemble the situation that the femoral component moves around the spacer during the TKA surgery. As shown in Figure 14b, the test platform includes a base which is used to fix the spacer (sensing device) and a movable femoral component. The femoral component can rotate along a track to resemble the flexion-extension (pitch) rotation around the _O_ C _X_ C axis in the spacer coordinate system. The base to hold the spacer can also rotate to resemble the internal–external (yaw) rotation of the femoral component around the _O_ C _Z_ C axis. The mediolateral distance between the femoral component and the spacer can also be adjusted to resemble the translational displacement. The test platform consists of the rotation and translation tracks with the scales, and the pitch and yaw angles and the translational displacement of the femoral component can be precisely controlled. The sensing devices take the image of the femoral component and record the contact force between the sensing device and the femoral component during the rotation and translation. _5.2._ _Experiment Results of Instant Pose Reconstruction_ The signal processing steps of the instant relative pose reconstruction is shown in Figure 15. Figure 15a gives one typical original image before the processing. Figure 15b–d give the image after the denoising and contrast enhancement, the distortion correction, and the control point recognition, respective. Figure 15e gives the relative pose reconstruction result, including the pitch, yaw, and the roll angles, and the translational distance. _Zw_ _Yw_ _Ow_ _Xw_ ( a ) ( b ) _Trans:_ <mark>8.96</mark> _mm_ _Pitch:_ <mark>15.82</mark> _°_ _Yaw:_ <mark>3.19</mark> _°_ _Roll:_ <mark>0.53</mark> _°_ ( c ) ( d ) ( e ) Figure 15. Instant relative pose reconstruction: ( a ) original image, ( b ) after denoising and contrast enhancement, ( c ) after lens distortion correction, ( d ) control point recognition, ( e ) instant pose reconstruction. To evaluate the pose reconstruction accuracy, more than 400 images of the femoral component are taken by the sensing device, with the flexion-extension (pitch) angle varying from 0 <sup>◦</sup> to 90 <sup>◦</sup> with a step of 10 <sup>◦</sup>, the internal–external (yaw) angle varying from −15 <sup>◦</sup> to 15 <sup>◦</sup> with a step of 5 <sup>◦</sup>, and the mediolateral translation varying from 0 to 30 mm with a step of 5 mm. During the instant pose reconstruction experiment, the femoral component is placed on the test platform. The relative flexion-extension (pitch) angle, internal–external (yaw) angle and translational displacement of the femoral component with respect to the spacer are adjusted, and the motion degrees/distances are read from the scales on the test platform. The measurement errors are obtained by comparing the reconstructed pose to the motion values read from the scales. The detailed pose reconstruction error distribution is shown in Figure 16. With the proposed system, the flexion-extension angle estimation error of 0.01 <sup>◦</sup> ± 1.06 <sup>◦</sup> (mean ± σ), and the internal–external estimation error is 0.03 <sup>◦</sup> ± 0.50 <sup>◦</sup> (mean ± σ). As a contrast, _Sensors_ 2019, _19_, 2909 17 of 22 in [17], the flexion-extension angle estimation error is 0.0 <sup>◦</sup> ± 0.9 <sup>◦</sup> (mean ± σ), and the internal–external estimation error is 0.2 <sup>◦</sup> ± 1.1 <sup>◦</sup> (mean ± σ). The presented vision system has a smaller estimation error. In addition, the most important performance for this system is the absolute maximum error. The absolute maximum flexion-extension (pitch) and internal–external (yaw) reconstruction errors are 1.73 <sup>◦</sup> and 1.08 <sup>◦</sup>, respectively. And the absolute maximum mediolateral translation reconstruction error is only 1.55 mm. The instant relative pose reconstruction accuracy is summarized in Table 2. Figure 16. Experimental pose reconstruction errors of flexion-extension (pitch) angle, internal–external (yaw) angle, and mediolateral translation. Table 2. Pose Reconstruction Errors. Maximum Error (Absolute Value) Average Error Standard Mean Error (Absolute Value) Derivation σ flexion-extension (pitch) 1.73 <sup>◦</sup> 0.67 <sup>◦</sup> −0.01 <sup>◦</sup> 1.06 <sup>◦</sup> internal–external (yaw) 1.08 <sup>◦</sup> 0.51 <sup>◦</sup> 0.03 <sup>◦</sup> 0.50 <sup>◦</sup> mediolateral translation 1.55 mm 0.82 mm −0.04 mm 0.72 mm _5.3._ _Balance Measurement with Force Sensing_ The force sensing data can be used to determine the contact force between the spacer and the femoral component is balanced between the sides. In the experiment, imbalanced forces are applied to the sides of the spacer (sensing device), and the force sensors in the sensing device measure the force difference (imbalance). Figure 17a shows the measured force imbalance versus the actual force imbalance, and Figure 17b shows the force imbalance measurement error versus the actual force imbalance. The maximum force imbalance measurement error is less than ±5 N, which is adequately small to judge the ligament balance of the knee joint prosthesis. _Sensors_ 2019, _19_, 2909 18 of 22 150 100 50 0 -50 -100 -150 5.0 2.5 0 -2.5 -5.0 ~~-~~ 150 -100 -50 0 50 100 150 The actual value of force difference (Left - Right) / N ( a ) -150 -100 -50 0 50 100 150 The actual value of force difference (Left - Right) / N ( b ) Figure 17. Contact force imbalance measurement: ( a ) measured force difference vs. actual force difference, ( b ) force imbalance measurement error vs. actual force difference. _5.4._ _Kinetic Pose Reconstruction_ In this kinetic pose reconstruction experiment, the femoral component is placed in two typical situations, and the relative trajectories of the femoral component “seen” by the spacer are acquired and plotted. Specifically, the femoral component rotates around the _O_ C _X_ C and _O_ C _Z_ C axes of the sensing device slowly with a rotation velocity of ~30 <sup>◦</sup> per second, and this rotation velocity is close to that in the TKA procedure in which the surgeons check the trial implants by slowly moving the tibia with respect to the femur. As shown in Figure 18a, the femoral component is in an appropriate position. The measured force data shows good ligament balance, the instant relative pose meets the expectation, and the kinetic trajectory is smoot and resides on the _YOZ_ plane. _Ligament Balance_ _Ligament Balance_ ✔ _Instant pose_ ✔ _Kinetic pose_ ✘ ✘ _Ligament Balance_ _Instant pose_ ✔ ✔ _Instant pose_ _Kinetic pose_ ✔ _ZC_ _OC_ _YC_ _XC_ _YC_ _XC_ _ZC_ _OC_ ( a ) ( b ) Figure 18. Examples of kinetic pose reconstruction: ( a ) successful surgery gives smooth kinetic trajectory, ( b ) kinetic trajectory finds inappropriate surgery which cannot be found using force measurement or instant pose reconstruction. As shown in Figure 18b, the femoral component is in the good position, but the spacer does not exactly fit the space between the femoral component and tibia component. In this case, both the force measurement and the instant relative pose at some specific point show good result. But the kinetic trajectory shows that relative movement between the spacer and the femoral component has _Sensors_ 2019, _19_, 2909 19 of 22 some fluctuation which is does not meet the expectation. This case shows an example of TKA surgery defection that can be found only using the kinetic pose reconstruction. The experiment results show that it provides more comprehensive evaluation of the TKA surgeries by combining the result of force sensing, the instant pose reconstruction, and the kinetic post reconstruction, rather than that with only the force sensing in [8]. 6. Conclusions A wireless visualized measurement system has been proposed and implemented to improve the quality of the TKA surgeries. The system consists of a multimodal sensing device, a wireless data receiver and a multimodal data processing workstation. The multimodal sensing device can take the images of the femoral component of the knee prosthesis and measure the contact force distribution between the spacer and the femoral component. The system is capable of the instant and kinetic prosthesis pose reconstruction based on the image sensing. With the image processing algorithms proposed in this work, the proposed system can provide pose reconstruction with higher accuracy. The absolute reconstruction errors of the flexion-extension rotation angle, the internal–external rotation angle as well as the mediolateral distance between the femoral component and the spacer are less than 1.73 <sup>◦</sup>, 1.08 <sup>◦</sup> and 1.55 mm, respectively. The force imbalance measurement error is less than ±5 N. With the kinetic pose estimation algorithm, the presented system can output a 3D motion trajectory which is not available from other systems that acquire the single modal data such as the force data. The system is used during the surgery as a trial component. The influence on the TKA procedure is quite small. The TKA surgeons can easily use it in the standard clinical procedures. The current implementation has several limitations that can be improved in the future. The image sensing frame rate is limited to 8 fps due to the limited data rate provided by the transmitter. The wireless transmission distance is limited due to the limited antenna gain. In the future, the transmitter and antenna design will be improved so that the system can provide higher image frame rate and longer wireless communication distance. The device will soon be validated in the real clinical environment. There is the possibility that the data processing algorithm performance may degrade under real situations. The algorithms will be then optimized for the real situations. Author Contributions: Conceptualization, Z.W. and H.J.; methodology, H.J. and S.X.; validation, S.X. and Y.G.; data curation, S.X. and Y.G.; writing—original draft preparation, S.X.; writing—review and editing, H.J.; project administration, Z.W.; funding acquisition, H.J. Funding: This work was funded, in partial, by National Natural Science Foundation of China under contract number 61661166010, Suzhou-Tsinghua Innovation Leadership Program under contract number 2016SZ0214, National Key R&D Program of China under contract number 2016YFC0105603, and Beijing Engineering Research Center No. BG0149. Acknowledgments: The authors want to acknowledge the invaluable contribution of Hong Chen and Shaojie Su in this project. Conflicts of Interest: The authors declare no conflict of interest. Appendix A In (17)–(22), the coefficients _a_ i, _b_ i, _c_ i, _d_ i, _e_ i, _f_ i, _g_ i, _h_ i, _i_ i, _j_ i ( _i_ = 1, 2, 3) are listed below:  _d_ 1 = _r_ →2 ∗ _r_ →3 _e_ 1 = cos γ2 _r_ →2 ∗ _r_ →3 − <sup>2</sup> 1 <sup>/</sup> - _D_ <sup>2</sup> 1 _r_ →2 ∗ _a_ 1 = _D_ <sup>2</sup> 1 <sup>2</sup> 1 <sup>+</sup> <sup>_D_</sup> 2 <sup>2</sup> _b_ 1 = cos <sup>2</sup> γ2 − cos γ1 _r_ →2 ∗ _r_ →3 _c_ 1 = _a_ 1 sin <sup>2</sup> γ2 − cos γ1 cos γ2 _r_ →2 ∗ _r_ →3 + cos2 _b_ 1 = cos <sup>2</sup> γ2 − cos γ1 _r_ →2 ∗ cos γ2 _r_ →2 ∗ _r_ →3 + cos2 γ2 + cos2 γ1 − 1 _d_ 1 = _r_ →2 ∗ _r_ →3 _r_ →2 ∗ _r_ →2 ∗ (A1) _r_ →3 − cos γ1 _n_ 1 = _a_ 1 sin <sup>2</sup> γ2 − sin <sup>2</sup> γ1 (A2) _Sensors_ 2019, _19_, 2909 20 of 22  _f_ 1 = _a_ <sup>2</sup> 1 <sup>−</sup> <sup>_a_</sup> <sup>1</sup> <sup>_d_</sup> <sup>2</sup> 1 _g_ 1 = 2( _a_ 1 _b_ 1 − _a_ 1 _d_ 1 _e_ 1) _h_ 1 = _b_ <sup>2</sup> 1 <sup>+ 2</sup> <sup>_a_</sup> <sup>1</sup> <sup>_c_</sup> <sup>1 −</sup> <sup>_a_</sup> <sup>1</sup> <sup>_e_</sup> <sup>2</sup> 1 <sup>−</sup> <sup>_n_</sup> _f_ 1 = _a_ <sup>2</sup> 1 _j_ 1 = _c_ <sup>2</sup> 1 <sup>−</sup> <sup>_n_</sup> <sup>1</sup> <sup>_e_</sup> <sup>2</sup> 1 _b_ <sup>2</sup> 1 <sup>+ 2</sup> <sup>_a_</sup> <sup>1</sup> <sup>_c_</sup> <sup>1 −</sup> <sup>_a_</sup> <sup>1</sup> <sup>_e_</sup> <sup>2</sup> 1 <sup>−</sup> <sup>_n_</sup> <sup>1</sup> <sup>_d_</sup> <sup>2</sup> 1 _i_ 1 = 2( _b_ 1 _c_ 1 − _n_ 1 _d_ 1 _e_ 1)  _d_ 2 = _r_ →4 ∗ _r_ →3 _e_ 2 = cos γ2 _r_ →4 ∗ _r_ →3 − <sup>2</sup> 1 <sup>/</sup> - _D_ <sup>2</sup> 1 _r_ →4 ∗ _r_ →3 − cos γ3 _a_ 2 = _D_ <sup>2</sup> 1 <sup>2</sup> 1 <sup>+</sup> <sup>_D_</sup> 2 <sup>2</sup> _b_ 2 = cos <sup>2</sup> γ2 − cos γ3 _r_ →4 ∗ _r_ →3 _c_ 2 = _a_ 2 sin <sup>2</sup> γ2 − cos γ3 cos γ2 _r_ →4 ∗ _r_ →3 + cos2 _b_ 2 = cos <sup>2</sup> γ2 − cos γ3 _r_ →4 ∗ cos γ2 _r_ →4 ∗ _r_ →3 + cos2 γ2 + cos2 γ3 − 1 _d_ 2 = _r_ →4 ∗ _r_ →3 _r_ →4 ∗ (A3) (A4) _r_ →4 ∗ _n_ 2 = _a_ 2 sin <sup>2</sup> γ2 − sin <sup>2</sup> γ3 (A5) _f_ 2 = _a_ <sup>2</sup> 2 <sup>−</sup> <sup>_a_</sup> <sup>2</sup> <sup>_d_</sup> <sup>2</sup> 2 _g_ 2 = 2( _a_ 2 _b_ 2 − _a_ 2 _d_ 2 _e_ 2) _h_ 2 = _b_ <sup>2</sup> 2 <sup>+ 2</sup> <sup>_a_</sup> <sup>2</sup> <sup>_c_</sup> <sup>2 −</sup> <sup>_a_</sup> <sup>2</sup> <sup>_e_</sup> <sup>2</sup> 2 <sup>−</sup> <sup>_n_</sup> <sup>2</sup> <sup>_d_</sup> <sup>2</sup> 2 (A6) _i_ 2 = 2( _b_ 2 _c_ 2 − _n_ 2 _d_ 2 _e_ 2)  _j_ 2 = _c_ <sup>2</sup> 2 <sup>−</sup> <sup>_n_</sup> <sup>2</sup> <sup>_e_</sup> <sup>2</sup> _f_ 2 = _a_ <sup>2</sup> 2 <sup>−</sup> <sup>_a_</sup> <sup>2</sup> <sup>_d_</sup> <sup>2</sup> 2 _g_ 2 = 2( _a_ 2 _b_ 2 − _a_ 2 _d_ 2 _e_ 2) _h_ 2 = _b_ <sup>2</sup> 2 <sup>+ 2</sup> <sup>_a_</sup> <sup>2</sup> <sup>_c_</sup> <sup>2 −</sup> <sup>_a_</sup> <sup>2</sup> <sup>_e_</sup> <sup>2</sup> 2 <sup>−</sup> <sup>_n_</sup> _f_ 2 = _a_ <sup>2</sup> 2 _b_ <sup>2</sup> 2 <sup>+ 2</sup> <sup>_a_</sup> <sup>2</sup> <sup>_c_</sup> <sup>2 −</sup> <sup>_a_</sup> <sup>2</sup> <sup>_e_</sup> <sup>2</sup> 2 <sup>−</sup> <sup>_n_</sup> <sup>2</sup> <sup>_d_</sup> <sup>2</sup> 2 _i_ 2 = 2( _b_ 2 _c_ 2 − _n_ 2 _d_ 2 _e_ 2) (A6) _j_ 2 = _c_ <sup>2</sup> 2 <sup>2</sup> 2 <sup>−</sup> <sup>_n_</sup> <sup>2</sup> <sup>_e_</sup> <sup>2</sup> 2  _q_ = _m_ = _r_ →2 ∗ _r_ →4 _n_ 3 = cos γ3 _r_ →2 ∗ _r_ →4 − _r_ →2 ∗ _m_ = _r_ →4 − cos γ1 _p_ = �cos γ3 _r_ �cos γ1 _r_ → _r_ →2 ∗ _r_ →2 ∗ _r_ →4 − cos γ3 (A7) _r_ →2 ∗ _r_ →4 − cos2 γ1 + sin2 γ3 �cos γ1 cos γ3  _f_ 3 = _a_ 1 _a_ 2 _m_ _g_ 3 = _m_ ( _a_ 1 _b_ 2 + _a_ 2 _b_ 1) + _n_ 3( _a_ 1 _d_ 2 + _a_ 2 _d_ 1) _h_ 3 = _m_ ( _a_ 1 _c_ 2 + _a_ 2 _c_ 1 + _b_ 1 _b_ 2) + _n_ 3( _a_ 1 _e_ 2 + _b_ 1 _d_ 2) + _p_ ( _a_ 2 _e_ 1 + _b_ 2 _d_ 1) + _qd_ 1 _d_ 2 _i_ 3 = _m_ ( _b_ 1 _c_ 2 + _b_ 2 _c_ 1) + _n_ 3( _c_ 1 _d_ 2 + _b_ 1 _e_ 2) + _p_ ( _c_ 2 _d_ 1 + _b_ 2 _e_ 1) + _q_ ( _e_ 1 _d_ 2 + _d_ 1 _e_ 2) _j_ 3 = _mc_ 1 _c_ 2 + _n_ 3 _c_ 1 _e_ 2 + _pe_ 1 _c_ 2 + _qe_ 1 _e_ 2 (A8) References 1. Kane, R.L.; Saleh, K.J.; Wilt, T.J.; Bershadsky, B.; Cross, W.W., 3rd; MacDonald, R.M.; Rutks, I. _Total Knee_ _Replacement:_ _Summary_ ; US Department of Health and Human Services, Public Health Service, Agency for Healthcare Research and Quality: Rockville, MD, USA, 2003. 2. Bono, J.V.; Scott, R.D. _Revision Total Knee Arthroplasty_ ; Springer: Berlin/Heidelberg, Germany, 2005. 3. Victor, J.; Dujardin, J.; Vandenneucker, H.; Arnout, N.; Bellemans, J. Patient-specific guides do not improve accuracy in total knee arthroplasty: A prospective randomized controlled trial. _Clin Orthop Relat Res._ 2014, _472_, 263–271. [[CrossRef] [PubMed]](http://dx.doi.org/10.1007/s11999-013-2997-4) 4. Pitta, M.; Esposito, C.I.; Li, Z.; Lee, Y.Y.; Wright, T.M.; Padgett, D.E. Failure After Modern Total Knee Arthroplasty: A Prospective Study of 18,065 Knees. _J. Arthrop._ 2018, _33_, 407–414. [[CrossRef] [PubMed]](http://dx.doi.org/10.1016/j.arth.2017.09.041) 5. Kim, K.T.; Lee, S.; Ko, D.O.; Seo, B.S.; Jung, W.S.; Chang, B.K. Causes of Failure after Total Knee Arthroplasty in Osteoarthritis Patients 55 Years of Age or Younger. _Knee Surg Relat Res._ 2014, _26_, 13–19. [[CrossRef] [PubMed]](http://dx.doi.org/10.5792/ksrr.2014.26.1.13) 6. Hafezalkotob, A.; Hafezalkotob, A. Comprehensive MULTIMOORA method with target-based attributes and integrated significant coefficients for materials selection in biomedical applications. _Mater._ _Des._ 2015, _87_, 949–959. [[CrossRef]](http://dx.doi.org/10.1016/j.matdes.2015.08.087) 7. Heinlein, B.; Graichen, F.; Bender, A.; Rohlmann, A.; Bergmann, G. Design, calibration and pre-clinical testing of an instrumented tibial tray. _J. Biomech._ 2007, _40_, S4–S10. [[CrossRef] [PubMed]](http://dx.doi.org/10.1016/j.jbiomech.2007.02.014) 8. Heinlein, B.; Kutzner, I.; Graichen, F.; Bender, A.; Rohlmann, A.; Halder, A.M.; Beier, A.; Bergmann, G. Complete data of total knee replacement loading for level walking and stair climbing measured in vivo with a follow-up of 6–10 months. _Clin._ _Biomech._ 2009, _24_, 315–326. [[CrossRef]](http://dx.doi.org/10.1016/j.clinbiomech.2009.01.011) _Sensors_ 2019, _19_, 2909 21 of 22 9. Kutzner, I.; Heinlein, B.; Graichen, F.; Bender, A.; Rohlmann, A.; Halder, A.; Beier, A.; Bergmann, G. Loading of the knee joint during activities of daily living measured in vivo in five subjects. _J._ _Biomech._ 2010, _43_, 2164–2173. [[CrossRef]](http://dx.doi.org/10.1016/j.jbiomech.2010.03.046) 10. Morris, B.A.; D’Lima, D.D.; Slamin, J.; Kovacevic, N.; Arms, S.W.; Townsend, C.P.; Colwell Jr, C.W. e-Knee: Evolution of the electronic knee prosthesis-Telemetry technology development. _J. Bone Joint Surg._ 2001, _83_, 62–66. [[CrossRef]](http://dx.doi.org/10.2106/00004623-200100021-00013) 11. D’Lima, D.D.; Patil, S.; Steklov, N.; Slamin, J.E.; Colwell, C.W., Jr. In vivo knee forces after total knee arthroplasty. _Clin._ _Ortho._ _Relat._ _Res._ 2005, _440_, 45–49. 12. D’Lima, D.D.; Steklov, N.; Patil, S.; Colwell, C.W., Jr. The Mark Coventry Award: In vivo knee forces during recreation and exercise after knee arthroplasty. _Clin._ _Ortho._ _Relat._ _Res._ 2008, _466_, 2605–2611. [[CrossRef]](http://dx.doi.org/10.1007/s11999-008-0345-x) 13. Kirking, B.; Krevolin, J.; Townsend, C.; Colwell, C.W., Jr.; D’Lima, D.D. A multiaxial force-sensing implantable tibial prosthesis. _J. Biomech._ 2006, _39_, 1744–1751. [[CrossRef] [PubMed]](http://dx.doi.org/10.1016/j.jbiomech.2005.05.023) 14. Forchelet, D.; Simoncini, M.; Arami, A.; Bertsch, A.; Meurville, E.; Aminian, K.; Ryser, P.; Renaud, P. Enclosed Electronic System for Force Measurements in Knee Implants. _Sensors_ 2014, _14_, 15009–15021. [[CrossRef] [PubMed]](http://dx.doi.org/10.3390/s140815009) 15. Arami, A.; Dejnabadi, H.; Leclercq, V.; Aminian, K. An Implantable System for Angles Measurement in Prosthetic Knee. In Proceedings of the International Society of Biomechanics (ISB), Brussels, Belgium, 3–7 July 2011. 16. Arami, A.; Simoncini, M.; Atasoy, O.; Ali, S.; Hasenkamp, W.; Bertsch, A.; Meurville, E.; Tanner, S.; Renaud, P.; Dehollain, C.; et al. Instrumented Knee Prosthesis for Force and Kinematics Measurements. _IEEE Trans._ _Autom._ _Sci._ _Eng._ 2013, _10_, 615–624. [[CrossRef]](http://dx.doi.org/10.1109/TASE.2012.2226030) 17. Arami, A.; Vallet, A.; Aminian, K. Accurate Measurement of Concurrent Flexion–Extension and Internal–External Rotations in Smart Knee Prostheses. _IEEE Trans._ _Biomed._ _Eng._ 2013, _60_, 2504–2510. [[CrossRef]](http://dx.doi.org/10.1109/TBME.2013.2259489) 18. Lajnef, N.; Elvin, N.G.; Chakrabartty, S. A Piezo-Powered Floating-Gate Sensor Array for Long-Term Fatigue Monitoring in Biomechanical Implants. _IEEE Trans._ _Biomed._ _Circuits Syst._ 2008, _2_, 164–172. [[CrossRef] [PubMed]](http://dx.doi.org/10.1109/TBCAS.2008.2001473) 19. Gustke, K.A.; Golladay, G.J.; Roche, M.W.; Elson, L.C.; Anderson, C.R. A New Method for Defining Balance: Promising Short-Term Outcomes of Sensor-Guided TKA. _J. Arthroplast._ 2014, _29_, 955–960. [[CrossRef]](http://dx.doi.org/10.1016/j.arth.2013.10.020) 20. Luo, H.; Liu, M.; Chen, H.; Zhang, C.; Wang, Z. A wireless force measurement system for Total Knee Arthroplasty. In Proceedings of the 2012 IEEE International Symposium on Circuits and Systems, Seoul, Korea, 20–23 May 2012. 21. Crottet, D.; Maeder, T.; Fritschy, D.; Bleuler, H.; Nolte, L.P.; Pappas, I.P. Development of a Force Amplitudeand Location-Sensing Device Designed to Improve the Ligament Balancing Procedure in TKA. _IEEE Trans._ _Biomed._ _Eng._ 2005, _52_, 1609–1611. [[CrossRef]](http://dx.doi.org/10.1109/TBME.2005.851504) 22. Jiang, H.; Li, F.; Chen, X.; Ning, Y.; Zhang, X.; Zhang, B.; Teng, M.; Wang, Z. A SoC with 3.9 mW 3 Mbps UHF transmitter and 240 µW MCU for capsule endoscope with bidirectional communication. In Proceedings of the 2010 IEEE Asian Solid State Circuits Conference (A-SSCC), Beijing, China, 8–10 November 2010. 23. Dabov, K.; Foi, A.; Katkovnik, V.; Egiazarian, K. Image Denoising by Sparse 3-D Transform-Domain Collaborative Filtering. _IEEE Trans._ _Image Process._ 2007, _16_, 2080–2095. [[CrossRef]](http://dx.doi.org/10.1109/TIP.2007.901238) 24. Jobson, D.J.; Rahman, Z.; Woodell, G.A. Properties and performance of a center/surround retinex. _IEEE Trans._ _Image Process._ 1997, _6_, 451–462. [[CrossRef]](http://dx.doi.org/10.1109/83.557356) 25. Rahman, Z.; Jobson, D.J.; Woodell, G.A. Multi-scale retinex for color image enhancement. In Proceedings of the 3rd IEEE International Conference on Image Processing, Lausanne, Switzerland, 19 September 1996. 26. Classic Camera Calibration Method of OpenCV. Available online: [https://opencv-python-tutroals.readthedocs.](https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_calib3d/py_calibration/py_calibration.html) [io/en/latest/py_tutorials/py_calib3d/py_calibration/py_calibration.html (accessed on 29 June 2019).](https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_calib3d/py_calibration/py_calibration.html) 27. Fischler, M.A.; Bolles, R.C. Random Sample Consensus: A Paradigm for Model Fitting with Applications to Image Analysis and Automated Cartography. _Graph._ _Image Process._ 1981, _24_, 381–395. [[CrossRef]](http://dx.doi.org/10.1145/358669.358692) 28. Classic Contours Recognition Method of OpenCV. Available online: [https://opencv-python-tutroals.](https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_contours/py_contour_features/py_contour_features.html?highlight=contours) [readthedocs.io/en/latest/py_tutorials/py_imgproc/py_contours/py_contour_features/py_contour_features.](https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_contours/py_contour_features/py_contour_features.html?highlight=contours) [html?highlight=contours (accessed on 29 June 2019).](https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_contours/py_contour_features/py_contour_features.html?highlight=contours) 29. Lepetit, V.; Moreno-Noguer, F.; Fua, P. Epnp: An accurate o(n) solution to the pnp problem. _Int._ _J. Comput._ _Vis._ 2009, _88_, 155–166. [[CrossRef]](http://dx.doi.org/10.1007/s11263-008-0152-6) 30. Vigueras, F.; Hernández, A.; Maldonado, I. Iterative Linear Solution of the Perspective n-Point Problem Using Unbiased Statistics. In Proceedings of the 2009 Eighth Mexican International Conference on Artificial Intelligence, Guanajuato, Mexico, 9–13 November 2009. _Sensors_ 2019, _19_, 2909 22 of 22 31. Gao, J.; Zhang, Y. An Improved Iterative Solution to the PnP Problem. In Proceedings of the 2013 International Conference on Virtual Reality and Visualization, Xi’an, China, 14–15 September 2013. 32. Merzban, M.H.; Abdellatif, M.; Abouelsoud, A.A. A simple solution for the non perspective three point pose problem. In Proceedings of the 2014 International Conference on 3D Imaging (IC3D), Liege, Belgium, 9–10 December 2014. 33. Li, S.; Xu, C. A Stable Direct Solution of Perspective-Three-Point Problem. _Int._ _J. Pattern Recogn._ _Artif._ _Intell._ 2010, _25_, 627–642. [[CrossRef]](http://dx.doi.org/10.1142/S0218001411008774) 34. Horaud, R.; Conio, B.; Leboulleux, O. An Analytic Solution for the Perspective 4-Point Problem. In Proceedings of the CVPR ’89: IEEE Computer Society Conference on Computer Vision and Pattern Recognition, San Diego, CA, USA, 4–8 June 1989. 35. Quan, L.; Lan, Z. Linear N-point camera pose determination. _IEEE Trans._ _Pattern Anal._ _Mach._ _Intell._ 1999, _21_, 774–780. [[CrossRef]](http://dx.doi.org/10.1109/34.784291) 36. Schweighofer, G.; Pinz, A. Robust Pose Estimation from a Planar Target. _IEEE Trans._ _Pattern Anal._ _Mach._ _Intell._ 2006, _28_, 2024–2030. [[CrossRef] [PubMed]](http://dx.doi.org/10.1109/TPAMI.2006.252) 37. Zheng, Y.; Kuang, Y.; Sugimoto, S.; Åström, K.; Okutomi, M. Revisiting the PnP Problem: A Fast, General and Optimal Solution. In Proceedings of the 2013 IEEE International Conference on Computer Vision, Darling Harbour, Sydney, 1–8 December 2013. 38. Xu, C.; Zhang, L.; Cheng, L.; Koch, R. Pose Estimation from Line Correspondences: A Complete Analysis and a Series of Solutions. _IEEE Trans._ _Pattern Anal._ _Mach._ _Intell._ 2017, _39_, 1209–1222. [[CrossRef] [PubMed]](http://dx.doi.org/10.1109/TPAMI.2016.2582162) 39. Virtual knee surgery. Available online: [https://www.silvergames.com/en/virtual-knee-surgery (accessed on](https://www.silvergames.com/en/virtual-knee-surgery) 29 June 2019). © 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution [(CC BY) license (http://creativecommons.org/licenses/by/4.0/).](http://creativecommons.org/licenses/by/4.0/.)

섹션 본문 117문단 · 65,942자

(제목 없음)

1The surgery quality of the total knee arthroplasty (TKA) depends on how accurate the knee prosthesis is implanted. The knee prosthesis is composed of the femoral component, the plastic spacer and the tibia component. The instant and kinetic relative pose of the knee prosthesis is one key aspect for the surgery quality evaluation. In this work, a wireless visualized sensing system with the instant and kinetic prosthesis pose reconstruction has been proposed and implemented. The system consists of a multimodal sensing device, a wireless data receiver and a data processing workstation. The sensing device has the identical shape and size as the spacer. During the surgery, the sensing device temporarily replaces the spacer and captures the images and the contact force distribution inside the knee joint prosthesis. It is connected to the external data receiver wirelessly through a 432 MHz data link, and the data is then sent to the workstation for processing. The signal processing method to analyze the instant and kinetic prosthesis pose from the image data has been investigated. Experiments on the prototype system show that the absolute reconstruction errors of the flexion-extension rotation angle (the pitch rotation of the femoral component around the horizontal long axis of the spacer), the internal-external rotation (the yaw rotation of the femoral component around the spacer vertical axis) and the mediolateral translation displacement between the centers of the femoral component and the spacer based on the image data are less than 1.73 • , 1.08 • and 1.55 mm, respectively. It provides a force balance measurement with error less than ±5 N. The experiments also show that kinetic pose reconstruction can be used to detect the surgery defection that cannot be detected by the force measurement or instant pose reconstruction.

Introduction

2There is an increasing number of people that suffer from arthritis or chronic joint diseases. For example, in the United States, the number of people aged 65 and older with these symptoms will exceed 41 million by 2030 [1]. Among them, knee arthritis contributes considerably to morbidity and results in a low quality of life. The primary surgical treatment for these patients is the total knee arthroplasty (TKA), namely, the replacement of the worn knee joint with a prosthesis implant [2][3][4][5][6]. As shown in Figure 1, the TKA implant is composed of three components: the femoral component, the tibia component and the polyethylene plastic spacer. Many efforts have been made to develop the instrumentation of the knee joint prosthesis, for the purpose of surgery quality evaluation or long-term monitoring. Some investigations focused on measuring the contact force inside the joint prosthesis under different conditions [7][8][9][10][11][12][13][14][15]. In [7][8][9], a tibia tray was designed to measure the six load components in TKA. The in-vivo experiment under the conditions of walking or stair climbing during the postoperative follow-up of 6 to 10 months was conducted, in which the contact force of the prosthesis components were measured for five subjects. Similarly, a set of force sensing components were measured in [10][11][12][13] for three subjects in the scenarios of exercising and recreational activities after the TKA surgery, and the in-vivo experiment validated the effectiveness of the method. An implantable tibia prosthesis with the multiaxial force sensing was implemented and reported in [13]. In [14], a sensing system inside the knee implant for the force measurement was designed, fabricated and tested. The sensing system could be used to measure the contact force up to 1.5 times the body weight, and it was suitable for long-term monitoring. In [15][16][17], an instrumented smart knee prosthesis for the in-vivo measurement of the contact force and kinematics was proposed. This system could be used to monitor the knee prosthesis after the implantation with three magnetic sensors and a permanent magnet, and to prevent the possible damage to the prosthesis by detecting the load imbalance or abnormal forces and kinematics in the knee prosthesis. In [18], a long-term knee implant fatigue monitoring system using a floatinggate sensor array was introduced for the long-term, battery-less fatigue monitoring. All the abovementioned designs were successful in measuring knee prosthesis contact force, and some could also measure the kinetic movement of the knee prosthesis. Nevertheless, they were designed to monitor the knee prosthesis after the TKA surgeries. It is also very meaningful to develop the technique to improve the implantation surgery quality during the process of TKA surgeries. The motivation of this work is to provide a device to help the surgeons to improve the TKA surgery quality during the A successful TKA surgery improves the knee function, and relieves the knee joint pain. However, the improper placement of the knee prosthesis may accelerate the attrition of the plastic spacer, which will result in a reduced working life, and cause severe pain to patients [2]. The integrity of a successful TKA surgery depends on several factors, including the appropriate alignment of the components, the rotational congruency between the prosthetic proximal tibia and the prosthetic femoral condyles, and the ligamentous balance of the knee joint [3]. Recent research [4] shows that the overall TKA failure rate is about 2.3%, and more than 74% of TKA failures are caused by non-infection reasons such as instability, aseptic loosening, stiffness, etc. Actually, most TKA failures are directly or indirectly caused by the operative mechanical reasons such as malalignment [5]. Traditionally, the quality of the TKA surgery is determined exclusively by the experience of the surgeons. The digitally guided assistance equipment will be meaningful to improve the surgery quality, and reduce the failure rate caused by the operative reasons.

3Many efforts have been made to develop the instrumentation of the knee joint prosthesis, for the purpose of surgery quality evaluation or long-term monitoring. Some investigations focused on measuring the contact force inside the joint prosthesis under different conditions [7][8][9][10][11][12][13][14][15]. In [7][8][9], a tibia tray was designed to measure the six load components in TKA. The in-vivo experiment under the conditions of walking or stair climbing during the postoperative follow-up of 6 to 10 months was conducted, in which the contact force of the prosthesis components were measured for five subjects. Similarly, a set of force sensing components were measured in [10][11][12][13] for three subjects in the scenarios of exercising and recreational activities after the TKA surgery, and the in-vivo experiment validated the effectiveness of the method. An implantable tibia prosthesis with the multiaxial force sensing was implemented and reported in [13]. In [14], a sensing system inside the knee implant for the force measurement was designed, fabricated and tested. The sensing system could be used to measure the contact force up to 1.5 times the body weight, and it was suitable for long-term monitoring. In [15][16][17], an instrumented smart knee prosthesis for the in-vivo measurement of the contact force and kinematics was proposed. This system could be used to monitor the knee prosthesis after the implantation with three magnetic sensors and a permanent magnet, and to prevent the possible damage to the prosthesis by detecting the load imbalance or abnormal forces and kinematics in the knee prosthesis. In [18], a long-term knee implant fatigue monitoring system using a floating-gate sensor array was introduced for the long-term, battery-less fatigue monitoring. All the above-mentioned designs were successful in measuring knee prosthesis contact force, and some could also measure the kinetic movement of the knee prosthesis. Nevertheless, they were designed to monitor the knee prosthesis after the TKA surgeries. It is also very meaningful to develop the technique to improve the implantation surgery quality during the process of TKA surgeries. The motivation of this work is to provide a device to help the surgeons to improve the TKA surgery quality during the surgery process. Such a device is used only during the TKA surgery for measurement of less than one hour.

4Some efforts have been made to provide the auxiliary methods to help the surgeons to improve the quality in the surgery procedure. In [19], a "VERASENSE Knee System" is presented, in which an array of sensors provides the dynamic, intraoperative feedback regarding tibiofemoral position and quantitative pressure at peak contact points in the medial and lateral compartments in the TKA surgery. The kinematic tracking can also be assessed. In [20], a wireless knee joint force measurement system is proposed to increase the accuracy of the ligament balancing procedure. In [21], a force amplitudeand location-sensing device has been designed to improve the ligament balancing procedure in TKA. However, the above-mentioned systems only acquire the single modal sensor data, which may miss some important information. The sensing system can be more comprehensive with additional sensor data such as the image data.

5A wireless visualized sensing system has been proposed and implemented in this work for multimodal signal sensing inside the knee joint prosthesis. The system is used during the surgery as a trial component for adjustment and calibration of the implant without reforming the standard knee prosthesis or changing the standard clinical procedures. The proposed system consists of a small-sized sensing device, a wireless data receiver and a data processing workstation. The system can be used to acquire both the direct images and the contact force distribution inside the prosthesis. The real-time images can help the surgeons directly see and understand the real situation in the joint. More importantly, the image sensors have higher resolution than the piezoelectric, magneto-resistive and other types of physical sensors, and the proposed system can acquire much richer information about the knee joint prosthesis with the vision sensing.

6The proposed sensing device is used during the surgery when the patient lies flat. Once the sensing device is placed in the knee joint, the surgeons will move the shin manually, and the device records the inside images and the contact forces. The further signal processing reconstructs the instant pose, and the kinematic trajectory of the relative movement between the femoral component and spacer. The surgeons can use the obtained information to calibrate the position of the components in the joint prosthesis. During the surgery, the sensing device is temporarily inserted into the knee implant as a trial component and will be replaced by the real spacer component once the femoral component and tibia component are fitted to the proper position. The influence on the TKA procedure is quite small. The TKA surgeons can easily use it in the standard clinical procedures. In general, the proposed sensing device cannot be used to monitor the progression of the prosthesis over time after the surgery, partially due to the limited battery lifetime with the huge power consumption associated with image data acquisition and processing.

7The rest of the paper is organized as follows. In Section 2, the proposed system architecture and the design considerations are presented. Section 3 describes the hardware design details of the sensing device as well as the wireless data receiver. In Section 4, the detailed data processing procedures and algorithms will be introduced. Section 5 gives the experimental results. This work is concluded in Section 6.

Design Considerations and System Design

8The proposed wireless sensing measurement system consists of three parts, namely, the multimodal sensing device, the wireless data receiver, and the workstation, as shown in Figure 2.

9a USB cable. The signal processing will be carried out in the workstation, which will recognize the real-time relative position between the spacer and the femoral component from the multimodal sensing data. The algorithm implemented in the workstation can also the 3D kinematic trajectory of the femoral component with respect to the spacer. The surgeons can use the reconstructed information to evaluate if the knee joint prosthesis is properly installed, and make the adjustment if necessary. Generally speaking, the force data acquired through this system is only 2D data, and it is difficult to obtain the 3D information from the force data only. The image data is also 2D data, but the highresolution images also contain the depth information. With the proposed kinetic pose estimation algorithm in this work, the presented system can output a 3D motion trajectory which is not available from other systems that acquire the force data only.

A. Multimodal

10There are some abnormal TKA situations that cannot be identified using the force data only, and there are also some abnormal situations that cannot be detected only using the image data. Figure 3 gives some examples to show the advantage of multimodal sensing data instead of the single-modal data. As shown in Figure 3a, if the knee joint is appropriately installed, the spacer and the femoral component is well aligned with a certain relative pose in both the static and kinetic conditions, and the ligament around the two sides of the knee joint is well balanced. The sensing device presented in [21] could be used to determine if the ligament is well balanced by comparing the contact forces of the two sides, since it could only measure the contact force distribution between the spacer and the femoral component. Such a device could detect the inappropriate condition as shown in Figure 2b, in which the spacer is tilted, and the contact force distribution is not in equilibrium if the patients stand straight. However, the sensing device in [21] could not report the inappropriate situation as shown in Figure 2c. In this situation, the contact forces between the two sides of the knee joint are equal, and therefore the device in [21] would faultily judge it as a good situation, although the spacer and the femoral component are misaligned. Nevertheless, the malalignment can be detected by processing the direct images taken inside the joint using the multimodal sensing device presented in this work. In general, the surgery flaws shown in both Figure 3b,c can be detected using the presented multimodal sensing system. The small-sized multimodal signal sensing device has the identical shape and size as the real spacer of the knee joint prosthesis. During the surgery, before the final placement of the real spacer, the sensing device is placed in its position inside the joint prosthesis as a trial of the spacer. The sensing device can take two types of data: (1) the images of the femoral component viewed from the spacer side; (2) the contact force distribution between the spacer and the femoral component. To facilitate the image data processing, some simple but easily recognizable markers are printed on the surface of the femoral component.

11The wireless data receiver is used to receive the sensing data acquired by the sensing device through a 432 MHz wireless link. The data receiver is then connected with the workstation through a USB cable. The signal processing will be carried out in the workstation, which will recognize the real-time relative position between the spacer and the femoral component from the multimodal sensing data. The algorithm implemented in the workstation can also the 3D kinematic trajectory of the femoral component with respect to the spacer. The surgeons can use the reconstructed information to evaluate if the knee joint prosthesis is properly installed, and make the adjustment if necessary.

12Generally speaking, the force data acquired through this system is only 2D data, and it is difficult to obtain the 3D information from the force data only. The image data is also 2D data, but the high-resolution images also contain the depth information. With the proposed kinetic pose estimation algorithm in this work, the presented system can output a 3D motion trajectory which is not available from other systems that acquire the force data only.

13There are some abnormal TKA situations that cannot be identified using the force data only, and there are also some abnormal situations that cannot be detected only using the image data. Figure 3 gives some examples to show the advantage of multimodal sensing data instead of the single-modal data. As shown in Figure 3a, if the knee joint is appropriately installed, the spacer and the femoral component is well aligned with a certain relative pose in both the static and kinetic conditions, and the ligament around the two sides of the knee joint is well balanced. The sensing device presented in [21] could be used to determine if the ligament is well balanced by comparing the contact forces of the two sides, since it could only measure the contact force distribution between the spacer and the femoral component. Such a device could detect the inappropriate condition as shown in Figure 2b, in which the spacer is tilted, and the contact force distribution is not in equilibrium if the patients stand straight. However, the sensing device in [21] could not report the inappropriate situation as shown in Figure 2c. In this situation, the contact forces between the two sides of the knee joint are equal, and therefore the device in [21] would faultily judge it as a good situation, although the spacer and the femoral component are misaligned. Nevertheless, the malalignment can be detected by processing the

Hardware Implementation

14The hardware implementation of the presented sensing system will be presented in this section.

Multimodal Sensing Device

15The functional diagram of the image and force sensing device is shown in Figure 4. It consists of five key functional blocks, i.e., the image sensor, the force sensors array in together with an analogto-digital converter (ADC) for signal conversion, the wireless data transmitter, the sensor interface chip to bridge the sensors and the transmitter, and the microcontroller (MCU) for the system initialization. There are four white LEDs distributed evenly around the image sensor lens. These four LEDs provide the necessary lighting for the image sensing, since the sensing device will work in the dark or dim environment side the knee joint. The illuminance can be tuned by adjusting the driving current of the LEDs to avoid the overexposure or underexposure.

Hardware Implementation

16The hardware implementation of the presented sensing system will be presented in this section.

Multimodal Sensing Device

17The functional diagram of the image and force sensing device is shown in Figure 4. It consists of five key functional blocks, i.e., the image sensor, the force sensors array in together with an analog-to-digital converter (ADC) for signal conversion, the wireless data transmitter, the sensor interface chip to bridge the sensors and the transmitter, and the microcontroller (MCU) for the system initialization. There are four white LEDs distributed evenly around the image sensor lens. These four LEDs provide the necessary lighting for the image sensing, since the sensing device will work in the dark or dim environment side the knee joint. The illuminance can be tuned by adjusting the driving current of the LEDs to avoid the overexposure or underexposure.

Hardware Implementation

18The hardware implementation of the presented sensing system will be presented in this section.

Multimodal Sensing Device

19The functional diagram of the image and force sensing device is shown in Figure 4. It consists of five key functional blocks, i.e., the image sensor, the force sensors array in together with an analogto-digital converter (ADC) for signal conversion, the wireless data transmitter, the sensor interface chip to bridge the sensors and the transmitter, and the microcontroller (MCU) for the system initialization. There are four white LEDs distributed evenly around the image sensor lens. These four LEDs provide the necessary lighting for the image sensing, since the sensing device will work in the dark or dim environment side the knee joint. The illuminance can be tuned by adjusting the driving current of the LEDs to avoid the overexposure or underexposure. The MSP430 MCU by Texas Instruments Inc. provides the initial settings for all the other chips in the sensing device during the power-up phase. Since the wireless data transmitter and the sensors operate autonomously, the MCU is programmed to power off to save power consumption once the device starts the full operation.

20The OV7670 image sensor used in this device is a CMOS sensor manufactured by Omnivision with a maximum resolution of 640 × 480. In this application, it can be programmed to output images with 480 × 480 or 240 × 240 resolution. A view angle of 140 • is achieved by using a specially designed wide-angle macro lens. Since the image sensor is very close to the femoral component, this wide view angle macro lens can guarantee that most of the surface of the femoral component can be "seen" by the image sensor.

21The sensing device contains six low profile force sensors manufactured by Honeywell based on silicon-implanted piezo resistors. Each sensor has a measurement range of 0-45 N. A 6-channel 24-bit Σ∆ ADC by ADI is used to quantize the force sensors' output.

22The wireless data transmitter chip is a highly integrated system-on-a-chip (SoC) which is an improved design of that reported in [22]. The ultra-low power SoC was originally designed to transmit the image sensor data. It is mainly composed of a minimum shift keying (MSK) transmitter working at the 400 MHz band and an image data compressor. In this application, the transmitter is configured to work at 416 MHz, and it provides a raw data rate of 3 Mbps. The image data compressor provides a near-lossless data compression ratio of~3, which can help to boost the transmission frame rate. In this application, the transmitter SoC can be configured to transmit 480 × 480 images with a frame rate of 3 fps, or 240 × 240 images with a frame rate of 6-8 fps. The SoC contains one charge-pump boost regulator and three programmable low-dropout (LDO) linear regulators, which provide 4 V, 2.5 V, 1.8 V and 1.2 V power supplies to all the other circuits in the SoC and the other function blocks in the sensing device. The 4V power supply is used to drive four white LEDs, which serve as the flash lights for image sensing. A coil antenna with −8.9 dBi peak gain and a voltage standing wave ratio (VSWR) of less than 2.0 at the 416 MHz center frequency with the proper matching between the antenna and the RF power amplifier. The RF transmitter has an energy efficiency of 1.3 nJ/bit not including the power amplifier.

23Since the wireless transmitter SoC was originally designed to transmit the image data, it can only receive the data from the image sensor using an 8-bit parallel data port. The dedicated sensor interface chip is used to pack the sensing data from the force sensor array and the image sensor into the format of 8-bit parallel image data, which is readable by the SoC. Actually, the first four data rows of each 480 × 480 or 240 × 240 image is replaced by the force sensor data with careful consideration of data synchronization. From the view point of the transmitter SoC, it just receives and transmits the "image" data from the interface chip. By doing so, each frame of the image will lose the first four rows, which is affordable, considering that each image contains at least 240 rows.

24The sensing device is supplied by a 3 V lithium manganese battery with a capacity of 170 mAh. There is the potential risk to use this type of battery since it is not dedicated for the medical applications. Regardless, this battery is only used for the experiments before the clinical trial. In the future, the lithium manganese battery can be replaced by a safer battery, such as the lithium/iodine cell battery for the real medical product. The currently used battery has a peak current of 30 mA that occurs when the image sensor is enabled, with the image sensor drawing 15 mA from a regulated 2.5 V supply and the flash lights consuming~14 mA current. The transmitter SoC has a peak current of~6 mA. Note that the image sensor and the transmitter are not enabled simultaneously to avoid too much peak current. The force sensors and the ADC has a peak current of less than 1 mA. In overall, the sensing device consumes a peak current of~30 mA.

25All the circuits in the sensing device are powered on only when necessary, the sensing device has an average current of~10 mA from the 3 V supply. Roughly, 40% of the total average current is contributed by the transmitter SoC and almost all the remaining 60% is contributed by the image sensor in together with its flash lights. The force sensors and the following ADC are enabled at very low duty cycle ratio, and the contribution to the average current is less than 1%.

26As shown in Figure 5a, the force sensors and the image sensor reside on the same printed circuit board (PCB) which has the same outline as the spacer. The PCB is sealed inside a transparent shell which is composed of the upper shell and lower shell. The central region of the upper shell is transparent and polished to ensure the image quality. The entire sensing device is shown in Figure 5b. It has the identical shape and size as the real spacer used in the knee joint prosthesis. Since there are many versions of spacers with various sizes to meet the requirements of different patients, the sensing devices in the real product should also have as many as versions to match the spacers. The shell of the sensing device is made of the medical-level polycarbonate. Since the device is not permanently implanted, the wear issue is not of concern. Note that the sensing device is used when the patient lies flat. It is estimated that the force applied to the shell of the device is less than 20 kilograms. The mechanical architecture of the sensing device is well designed so that it can tolerate the loads up to 50 kilograms. Experiments have been performed to validate the mechanical reliability of the sensing device with a 50 kg load. As shown in Figure 5a, the force sensors and the image sensor reside on the same printed circuit board (PCB) which has the same outline as the spacer. The PCB is sealed inside a transparent shell which is composed of the upper shell and lower shell. The central region of the upper shell is transparent and polished to ensure the image quality. The entire sensing device is shown in Figure 5b. It has the identical shape and size as the real spacer used in the knee joint prosthesis. Since there are many versions of spacers with various sizes to meet the requirements of different patients, the sensing devices in the real product should also have as many as versions to match the spacers. The shell of the sensing device is made of the medical-level polycarbonate. Since the device is not permanently implanted, the wear issue is not of concern. Note that the sensing device is used when the patient lies flat. It is estimated that the force applied to the shell of the device is less than 20 kilograms. The mechanical architecture of the sensing device is well designed so that it can tolerate the loads up to 50 kilograms. Experiments have been performed to validate the mechanical reliability of the sensing device with a 50 kg load.

27The performance of the sensing device is summarized in Table 1. The performance of the sensing device is summarized in Table 1.

Wireless Data Receiver

28The data receiver in the proposed wireless visualized measurement system is used to receive the multimodal data from the sensing device. The block diagram of the receiver is shown in Figure 6. The key parts of the data receiver are the RF receiver and the FPGA-based MSK demodulator. The digital demodulator receives the digitized intermediate frequency (IF) signals from a pair of 8-bit 24 Msps ADCs, and performs the MSK demodulation. Note that in the sensing device, the image sensor output and the force sensors' output are packed. Correspondingly, the image data and the force data are decomposed from the received data in the data receiver. The data receiver is then connected to the workstation through a USB cable for further data processing.

29Sensors 2019, 19, x FOR PEER REVIEW 8 of 22 and the force sensors' output are packed. Correspondingly, the image data and the force data are decomposed from the received data in the data receiver. The data receiver is then connected to the workstation through a USB cable for further data processing. Figure 6. Block diagram of the data receiver.

30The PCB and package of the data receiver is shown in Figure 7. The data receiver has a size of 124 × 86 × 22 mm 3 . It contains a li-iron battery of 4000 mAh, and the battery life is about 10 h.

Multimodal Sensor Data Processing

31The multimodal sensing data is eventually sent to the workstation for further processing to acquire the relative pose of the components in the knee joint prosthesis.

32The force sensors' data can be used to check the ligament balance of the knee prosthesis, and the details of the force data processing can be found in the paper previously published by our group [21]. As shown in Figure 8, the image data processing is composed of three steps, i.e., the image data preprocessing, the instant pose reconstruction from the individual image, and the kinetic pose reconstruction based on multiple consecutive images. The PCB and package of the data receiver is shown in Figure 7. The data receiver has a size of 124 × 86 × 22 mm 3 . It contains a li-iron battery of 4000 mAh, and the battery life is about 10 h. and the force sensors' output are packed. Correspondingly, the image data and the force data are decomposed from the received data in the data receiver. The data receiver is then connected to the workstation through a USB cable for further data processing. Figure 6. Block diagram of the data receiver.

33The PCB and package of the data receiver is shown in Figure 7. The data receiver has a size of 124 × 86 × 22 mm 3 . It contains a li-iron battery of 4000 mAh, and the battery life is about 10 h.

34The multimodal sensing data is eventually sent to the workstation for further processing to acquire the relative pose of the components in the knee joint prosthesis.

35The force sensors' data can be used to check the ligament balance of the knee prosthesis, and the details of the force data processing can be found in the paper previously published by our group [21]. As shown in Figure 8, the image data processing is composed of three steps, i.e., the image data preprocessing, the instant pose reconstruction from the individual image, and the kinetic pose reconstruction based on multiple consecutive images.

36The multimodal sensing data is eventually sent to the workstation for further processing to acquire the relative pose of the components in the knee joint prosthesis.

37The force sensors' data can be used to check the ligament balance of the knee prosthesis, and the details of the force data processing can be found in the paper previously published by our group [21]. As shown in Figure 8, the image data processing is composed of three steps, i.e., the image data pre-processing, the instant pose reconstruction from the individual image, and the kinetic pose reconstruction based on multiple consecutive images.

Image Pre-Processing

38In the image pre-processing part, the images are denoised, and then the contrast is enhanced, and the lens distortion is corrected. Note that the contrast enhancement is necessary since all the images are taken under the low illumination scenario inside the knee prosthesis. The distortion introduced by the wide-angle macro-lens must also be corrected before further processing. The steps of the pre-processing are shown in Figure 8.

39The Block-Matching and 3D filtering (BM3D) algorithm [23] is used for the denoising. In this algorithm, the similar blocks in the femoral component surface images are used to eliminate the noise, and the image quality is improved in terms of both the peak signal-to-noise ratio (PSNR) and the subjective visual quality.

40For the contrast enhancement, a modified Multi-Scale Retinex (MSR) algorithm [24] is used to enhance the edge features of the images. For each input image data matrix S(x,y), the output of the MSR processing is the reflectance matrix R(x,y) given by:

41in which F(x,y) is a Gaussian filter. F(x,y) is given by:

42where c is the scale factor. To simplify the calculation, the logarithmic matrix r(x,y) is used, and r(x,y) is calculated as:

43Following the method in [25], three Gaussian filters x, y = exp − + / , = 1,2,3 are used to generate three outputs, i.e., x, y , = 1,2,3 and the weighted summation of x, y , = 1,2,3 is calculated to find the final MSR output.

44In this application, based on the experiments on the image data taken in the emulated environment, the MSR processing is only applied to the G channel of the original RGB image data, which yields the best subjective quality. Also based on the experimental data, the following set of parameters are used for the MSR processing, i.e., c1 = 15, c2 = 80, c3 = 250, and W1 = W2 = W3 = 1/3.

45In the image pre-processing part, the images are denoised, and then the contrast is enhanced, and the lens distortion is corrected. Note that the contrast enhancement is necessary since all the images are taken under the low illumination scenario inside the knee prosthesis. The distortion introduced by the wide-angle macro-lens must also be corrected before further processing. The steps of the pre-processing are shown in Figure 8.

46The Block-Matching and 3D filtering (BM3D) algorithm [23] is used for the denoising. In this algorithm, the similar blocks in the femoral component surface images are used to eliminate the noise, and the image quality is improved in terms of both the peak signal-to-noise ratio (PSNR) and the subjective visual quality.

47For the contrast enhancement, a modified Multi-Scale Retinex (MSR) algorithm [24] is used to enhance the edge features of the images. For each input image data matrix S(x,y), the output of the MSR processing is the reflectance matrix R(x,y) given by:

48in which F(x,y) is a Gaussian filter. F(x,y) is given by:

49where c is the scale factor. To simplify the calculation, the logarithmic matrix r(x,y) is used, and r(x,y) is calculated as:

50Following the method in [25], three Gaussian filters F k (x, y) = exp − x 2 + y 2 /c 2 k , k = 1, 2, 3 are used to generate three outputs, i.e., r k (x, y), k = 1, 2, 3 and the weighted summation of r k (x, y), k = 1, 2, 3 is calculated to find the final MSR output.

51R(x, y) = exp The R, G and B channels after the MSR processing are normalized separately, to balance the relative intensities of the three-color channels.

52The last step in the pre-processing is to correct the lens distortion. The camera calibration method from OpenCV [26] is used. A test board with the chess board pattern is utilized to find the camera matrix, distortion coefficients, rotation and translation vectors, etc., which is then used for the distortion correction.

Establishment of the Pose Reconstruction Problem

53To facilitate the image data processing, five pairs of control points are marked on the femoral component, by printing some special markers on its surface. Those control points are numbered as 1L/1R, 2L/2R, 3L/3R, 4L/4R and 5L/5R. As shown in the side view of the femoral component given in Figure 9, the five pairs of control points are spaced approximately evenly on the femoral component surface with an angle difference of 30 • . Any two pairs of control points form a rectangle. The femoral component is usually made of reflective materials, which will bring difficult to take the. However, the most concerned features of the images are the five pairs of control points. Non-reflective material with high contrast should be chosen to print the control points, so that they can then easily be distinguished, even if the entire image is affected by the surface reflection issue. The R, G and B channels after the MSR processing are normalized separately, to balance the relative intensities of the three-color channels.

54The last step in the pre-processing is to correct the lens distortion. The camera calibration method from OpenCV [26] is used. A test board with the chess board pattern is utilized to find the camera matrix, distortion coefficients, rotation and translation vectors, etc., which is then used for the distortion correction.

55To facilitate the image data processing, five pairs of control points are marked on the femoral component, by printing some special markers on its surface. Those control points are numbered as 1L/1R, 2L/2R, 3L/3R, 4L/4R and 5L/5R. As shown in the side view of the femoral component given in Figure 9, the five pairs of control points are spaced approximately evenly on the femoral component surface with an angle difference of 30°. Any two pairs of control points form a rectangle. The femoral component is usually made of reflective materials, which will bring difficult to take the. However, the most concerned features of the images are the five pairs of control points. Non-reflective material with high contrast should be chosen to print the control points, so that they can then easily be distinguished, even if the entire image is affected by the surface reflection issue. Only three types of markers are used, namely, the triangle, round and square markers. 1L/1R markers are triangle, 2L/2R and 3L/3R markers are round, and 4L/4R and 5L/5R markers are square. Since the movement of the femoral component has limited freedom, the control point numbers can be easily recognized by recognizing the shapes of the markers. For example, if the surface image of the femoral component contains two round markers and two square markers, the control point numbers are recognized as 3L/3R and 4L/4R.

56The image data processing of this system turns to finding the relative position between the spacer (sensing device) and the femoral component from the surface images of the femoral component "seen" by the spacer (sensing device) with the aid of the control points.

57Geometrically, the spacer and the femoral component are represented by two coordinate systems, namely, the spacer coordinate system {OCXCYCZC}, and the femoral coordinate system {OFXFYFZF}, as shown in Figure 10. For the spacer coordinate system, the origin OC is the center of the space bottom plane, the X axis OCXC is defined as the long axis the space bottom plane, and the Y axis OCYC is the axis perpendicular to OCXC on the space bottom plane, and the Z axis OCZC is vertically perpendicular to the space bottom plane. Ideally, when the femur is alignment with the tibia, the femoral coordinate system {OFXFYFZF} is fully parallel to {OCXCYCZC}, and the two origins OF and OC are apart vertically. The spacer coordinate system is used as the camera coordinate system in this Only three types of markers are used, namely, the triangle, round and square markers. 1L/1R markers are triangle, 2L/2R and 3L/3R markers are round, and 4L/4R and 5L/5R markers are square. Since the movement of the femoral component has limited freedom, the control point numbers can be easily recognized by recognizing the shapes of the markers. For example, if the surface image of the femoral component contains two round markers and two square markers, the control point numbers are recognized as 3L/3R and 4L/4R.

58The image data processing of this system turns to finding the relative position between the spacer (sensing device) and the femoral component from the surface images of the femoral component "seen" by the spacer (sensing device) with the aid of the control points.

59Geometrically, the spacer and the femoral component are represented by two coordinate systems, namely, the spacer coordinate system {O C X C Y C Z C }, and the femoral coordinate system {O F X F Y F Z F }, as shown in Figure 10. For the spacer coordinate system, the origin O C is the center of the space bottom plane, the X axis O C X C is defined as the long axis the space bottom plane, and the Y axis O C Y C is the axis perpendicular to O C X C on the space bottom plane, and the Z axis O C Z C is vertically perpendicular to the space bottom plane. Ideally, when the femur is alignment with the tibia, the femoral coordinate system {O F X F Y F Z F } is fully parallel to {O C X C Y C Z C }, and the two origins O F and O C are apart vertically. The spacer coordinate system is used as the camera coordinate system in this implementation. The relative position of the spacer and the femoral component can be described by the rotational angles [φ, θ, ψ], and the 3-dimensional translation t CF = [t x , ty, t z ] T between the two origins. φ is the the roll angle about the O C Y C axis. θ is the flexion-extension rotation angle, namely, the pitch angle about the O C X C axis. ψ is the internal-external rotation angle, namely, the yaw angle about the O C Z C axis between the two coordinate systems. t x is the mediolateral translation, namely, the horizontal distance between the centers of the femoral component and the spacer along the O C X C axis. For a successful TKR surgery, it is expected that φ, ψ and t x are all zero when the tibia moves relative to the femur. Figure 10. The coordinate systems to represent the relative position between the spacer and the femoral component.

60In the image data processing, it is more convenient to use the rotation matrix R instead of the rotational angles [ϕ, θ, ψ]. [ϕ, θ, ψ] can easily calculated from R based on the definition of R as follows:

61cos cos cos sin sin cos sin cos sin sin cos cos sin sin sin cos sin cos cos sin sin sin cos sin sin cos sin cos cos CF R

62The relative pose reconstruction problem is converted to the problem to find RCF and tCF between two coordinate systems {OCXCYCZC} and {OFXFYFZF}.

63It is not easy for the sensing device to directly recognize the coordinate system {OFXFYFZF}. However, with the wide view angle of the image sensor in the sensing device, any femoral component image taken by the sensing device contains at least 2 pairs of control points, which can define an assistant control In the image data processing, it is more convenient to use the rotation matrix R instead of the rotational angles [φ, θ, ψ]. [φ, θ, ψ] can easily calculated from R based on the definition of R as follows:

64cos φ cos ψ − cos φ sin ψ sin φ cos θ sin ψ + cos ψ sin φ sin θ cos ψ cos θ − sin φ sin ψ sin θ − cos φ sin θ − cos ψ cos θ sin φ + sin ψ sin θ cos θ sin φ sin ψ + cos ψ sin θ cos φ cos θ

65The relative pose reconstruction problem is converted to the problem to find R CF and t CF between two coordinate systems

66It is not easy for the sensing device to directly recognize the coordinate system {O F X F Y F Z F }. However, with the wide view angle of the image sensor in the sensing device, any femoral component image taken by the sensing device contains at least 2 pairs of control points, which can define an assistant control point coordinate system

67There are a series of control point coordinate systems {O A X A Y A Z A } defined by the control points, and the rotation matrix R AF and the translational distance t AF between any {O A X A Y A Z A } and {O F X F Y F Z F } are exactly known. On the other hand, R CA and t CA between {O C X C Y C Z C } and {O A X A Y A Z A } can be calculated using the image data processing shown next.

68Assume that the coordinates of a given point in these three coordinate systems are C C = [x C , y C , z C ] T , C A = [x A , y A , z A ] T , and C F = [x F , y F , z F ] T , respectively. The coordinate transformation gives the following equations:

69Sensors 2019, 19, 2909

7012 of 22

71Substituting (6) and (7) into (8) gives:

72Comparing (6) and (9), it follows that:

73The problem to solve R CF and t CF is finally converted to the coplanar perspective-4-points problem [27] to find [R CA , t CA ], with [R AF , t AF ] as the known parameters.

Instant Pose Reconstruction

74After the pre-processing, the control points in the femoral component images are recognized. The images are firstly filtered by an adaptive threshold filter to generate the binary images. The contours of the control point markers are then recognized using the method by [28]. The numbers of the control points are recognized by the markers' shapes. For each individual image, four adjacent control points which form the biggest rectangle area in this image are chosen to establish the control point coordinate

75An analytic and non-iterative method is then proposed to solve the coplanar perspective-4-points problem to find [R CA , t CA ] as described in the previous subsection. There are many classical methods to solve this perspective problem, including the non-iterative method Epnp [29], the iterative linear solution using unbiased statistics [30,31], some simple methods based on P3P problem [32,33] and many linear analytic solutions [34][35][36][37][38] and so on. Compared to these classical methods, the proposed method has the advantage of low computational complexity.

76The geometry of the proposed method is explained in Figure 11. As shown in Figure 11, the four control points C 1 , C 2 , C 3 , C 4 are projected to the image plane as the image points m 1 , m 2 , m 3 , m 4 , and the correspondence between the control points and the image points is known. The point O is the perspective center of the camera. Solving the estimation problem can be equivalent to solving the depth of OC 1 , OC 2 , OC 3 , and OC 4 . The vector r i is the unit vector with the same direction as Om i (I = 1, 2, 3, 4) and γ 1 , γ 2 , γ 3 are the angles between r 1 and r 2 , r 3 , r 4 , respectively. H 1 , H 2 , H 3 are the points on line OC 2 , OC 3 , and OC 4 with C 1 H 1 ⊥OC 2 , C 1 H 2 ⊥OC 3 and C 1 H 3 ⊥OC 4 .

77Substituting (6) and (7) into (8) gives:

78Comparing (6) and (9), it follows that:

79The problem to solve RCF and tCF is finally converted to the coplanar perspective-4-points problem [27] to find [RCA, tCA], with [RAF, tAF] as the known parameters.

80After the pre-processing, the control points in the femoral component images are recognized. The images are firstly filtered by an adaptive threshold filter to generate the binary images. The contours of the control point markers are then recognized using the method by [28]. The numbers of the control points are recognized by the markers' shapes. For each individual image, four adjacent control points which form the biggest rectangle area in this image are chosen to establish the control point coordinate system {OAXAYAZA}.

81An analytic and non-iterative method is then proposed to solve the coplanar perspective-4points problem to find [RCA, tCA] as described in the previous subsection. There are many classical methods to solve this perspective problem, including the non-iterative method Epnp [29], the iterative linear solution using unbiased statistics [30,31], some simple methods based on P3P problem [32,33] and many linear analytic solutions [34][35][36][37][38] and so on. Compared to these classical methods, the proposed method has the advantage of low computational complexity. The geometry of the proposed method is explained in Figure 11. As shown in Figure 11, the four control points C1, C2, C3, C4 are projected to the image plane as the image points m1, m2, m3, m4, and the correspondence between the control points and the image points is known. The point O is the perspective center of the camera. Solving the estimation problem can be equivalent to solving the depth of OC1, OC2, OC3, and OC4. The vector ⃑ is the unit vector with the same direction as ⃑ (I = 1, 2, 3, 4) and , , are the angles between ⃑ and ⃑, ⃑, ⃑, respectively. H1, H2, H3 are the Figure 11. Geometry of the proposed analytic and non-iterative method.

82To simplify this problem, assume that OC 1 has a length of x and C 1 H 1 , C 1 H 2 , C 1 H 3 equal to k 1 x, k 2 x and k 3 x respectively. How to find the values of k 1 , k 2 , k 3 and x is explained as follows. In the triangle C 1 C 2 C 3 :

83where D 1 and D 2 are the two side lengths of rectangle C 1 C 2 C 3 C 4 . According to the cosine theorem:

84According to the geometry relationship:

85Substitute (14) and (15) into (13):

86(16) can be expanded to (17):

87Substitute (17) into (11)/(12):

88Similarly, in the triangle C 1 C 4 C 3 :

89While in the triangle C 1 C 2 C 4 :

90Combining (17), (19) and (21) leads to an equation without k 1 or k 3 :

91In (17)- (22), the coefficients 1, 2, 3) are used without explanation. Actually, these coefficients all have the analytical expressions in terms of γ 1 , γ 2 , γ 3 , which are shown in Appendix A. (18), (20) and (22) can be combined and written in the form of matrix operation: The unique solution of k 2 can be found from these homogeneous linear equations, based on the right singular vectors of null space of the 3 × 5 matrix [20]. Consequently, k 1 , k 3 and length x can be calculated from (17), (19) and (11), respectively. Note that:

92Consequently, R CA and t CA can be calculated as:

93R CF and t CF can then be calculated using (10), and the rotational angles [φ, θ, ψ] can be calculated from R CF using (5).

94Obviously, the proposed method can solve the problem without any iteration, and the computation complexity can be characterized as O(1). As a result, the instant pose reconstruction can be implemented in real time, while requiring limited computation overhead.

Kinetic Pose Reconstruction

95During the TKA surgeries, the instant relative pose reconstructed by the image data and the ligament balance indicated by the force sensor data should be checked by slowly moving the tibia with respect to the femur. As shown in Figure 12, there are some typical angles between the tibia and the femur, such as 0 • , 45 • , 90 • and 130 • [39].

96Consequently, RCA and tCA can be calculated as:

97( )

98RCF and tCF can then be calculated using (10), and the rotational angles [ϕ, θ, ψ] can be calculated from RCF using (5).

99Obviously, the proposed method can solve the problem without any iteration, and the computation complexity can be characterized as O(1). As a result, the instant pose reconstruction can be implemented in real time, while requiring limited computation overhead.

100During the TKA surgeries, the instant relative pose reconstructed by the image data and the ligament balance indicated by the force sensor data should be checked by slowly moving the tibia with respect to the femur. As shown in Figure 12, there are some typical angles between the tibia and the femur, such as 0°, 45°, 90° and 130° [39]. It is also of great significance to check the kinematic trajectory of the femoral component "seen" by the spacer when moving the tibia with respect to the femur. A successful surgery will lead to a trajectory that is central symmetric and smooth. The symmetry of the kinetic trajectory indicates the balance of the prosthesis, and the smoothness indicates the knee joint can move freely without interference between the prosthesis components. It is also of great significance to check the kinematic trajectory of the femoral component "seen" by the spacer when moving the tibia with respect to the femur. A successful surgery will lead to a trajectory that is central symmetric and smooth. The symmetry of the kinetic trajectory indicates the balance of the prosthesis, and the smoothness indicates the knee joint can move freely without interference between the prosthesis components.

101In the instant pose reconstruction, the coordinate of the femoral component coordinate origin in the spacer coordinate system is described as t CF = [t x , t y , t z ] T . The change of t CF = [t x , t y , t z ] T when moving the tibia with respect to the femur can be used as the kinetic trajectory. However, this trajectory has limited amplitude. To amplify this trajectory, another point P which is the lowest central point of the femoral component is defined and the relative trajectory of P in the spacer coordinate system is described. As shown in Figure 13, the point P has a coordinate of [0, 0, −50] T , then in the spacer coordinate system, the coordinate of point P is given by: In the instant pose reconstruction, the coordinate of the femoral component coordinate origin in the spacer coordinate system is described as tCF = [tx, ty, tz] T . The change of tCF = [tx, ty, tz] T when moving the tibia with respect to the femur can be used as the kinetic trajectory. However, this trajectory has limited amplitude. To amplify this trajectory, another point P which is the lowest central point of the femoral component is defined and the relative trajectory of P in the spacer coordinate system is described. As shown in Figure 13, the point P has a coordinate of [0, 0, −50] T , then in the spacer coordinate system, the coordinate of point P is given by:

102The kinetic pose reconstruction is just to sketch the trajectory of point P with the coordinate CP,C in the camera coordinate system.

Prototype Sensing System

103The prototype system implemented in this work is shown in Figure 14a. The sensing device can be programmed take images with resolution of 240 × 240 or 480 × 480. The frame rate of image transmission can reach 8 fps when transmitting the compressed 240 × 240 images. The frame rate is actually limited by the data rate of the wireless transmitter. Considering that the knee joint moves quite slowly, this frame rate is acceptable. The refreshing rate of the force data acquisition is 30 Hz. The kinetic pose reconstruction is just to sketch the trajectory of point P with the coordinate C P,C in the camera coordinate system.

104The prototype system implemented in this work is shown in Figure 14a. The sensing device can be programmed take images with resolution of 240 × 240 or 480 × 480. The frame rate of image transmission can reach 8 fps when transmitting the compressed 240 × 240 images. The frame rate is actually limited by the data rate of the wireless transmitter. Considering that the knee joint moves quite slowly, this frame rate is acceptable. The refreshing rate of the force data acquisition is 30 Hz. In the experiment, the spacer (sensing device) is placed in a test platform, which can be used to resemble the situation that the femoral component moves around the spacer during the TKA surgery. As shown in Figure 14b, the test platform includes a base which is used to fix the spacer (sensing device) and a movable femoral component. The femoral component can rotate along a track to In the experiment, the spacer (sensing device) is placed in a test platform, which can be used to resemble the situation that the femoral component moves around the spacer during the TKA surgery. As shown in Figure 14b, the test platform includes a base which is used to fix the spacer (sensing device) and a movable femoral component. The femoral component can rotate along a track to resemble the flexion-extension (pitch) rotation around the O C X C axis in the spacer coordinate system. The base to hold the spacer can also rotate to resemble the internal-external (yaw) rotation of the femoral component around the O C Z C axis. The mediolateral distance between the femoral component and the spacer can also be adjusted to resemble the translational displacement. The test platform consists of the rotation and translation tracks with the scales, and the pitch and yaw angles and the translational displacement of the femoral component can be precisely controlled. The sensing devices take the image of the femoral component and record the contact force between the sensing device and the femoral component during the rotation and translation.

Experiment Results of Instant Pose Reconstruction

105The signal processing steps of the instant relative pose reconstruction is shown in Figure 15. Figure 15a gives one typical original image before the processing. Figure 15b-d give the image after the denoising and contrast enhancement, the distortion correction, and the control point recognition, respective. Figure 15e gives the relative pose reconstruction result, including the pitch, yaw, and the roll angles, and the translational distance. In the experiment, the spacer (sensing device) is placed in a test platform, which can be used to resemble the situation that the femoral component moves around the spacer during the TKA surgery. As shown in Figure 14b, the test platform includes a base which is used to fix the spacer (sensing device) and a movable femoral component. Figure 16. With the proposed system, the flexion-extension angle estimation error of 0.01 • ± 1.06 • (mean ± σ), and the internal-external estimation error is 0.03 • ± 0.50 • (mean ± σ). As a contrast, in [17], the flexion-extension angle estimation error is 0.0 • ± 0.9 • (mean ± σ), and the internal-external estimation error is 0.2 • ± 1.1 • (mean ± σ). The presented vision system has a smaller estimation error. In addition, the most important performance for this system is the absolute maximum error. The absolute maximum flexion-extension (pitch) and internal-external (yaw) reconstruction errors are 1.73 • and 1.08 • , respectively. And the absolute maximum mediolateral translation reconstruction error is only 1.55 mm. The instant relative pose reconstruction accuracy is summarized in Table 2.

106The signal processing steps of the instant relative pose reconstruction is shown in Figure 15. Figure 15a gives one typical original image before the processing. Figure 15b-d give the image after the denoising and contrast enhancement, the distortion correction, and the control point recognition, respective. Figure 15e gives the relative pose reconstruction result, including the pitch, yaw, and the roll angles, and the translational distance. To evaluate the pose reconstruction accuracy, more than 400 images of the femoral component are taken by the sensing device, with the flexion-extension (pitch) angle varying from 0° to 90° with a step of 10°, the internal-external (yaw) angle varying from −15° to 15° with a step of 5°, and the mediolateral translation varying from 0 to 30 mm with a step of 5 mm. During the instant pose reconstruction experiment, the femoral component is placed on the test platform. The relative flexionextension (pitch) angle, internal-external (yaw) angle and translational displacement of the femoral component with respect to the spacer are adjusted, and the motion degrees/distances are read from the scales on the test platform. The measurement errors are obtained by comparing the reconstructed pose to the motion values read from the scales. The detailed pose reconstruction error distribution is shown in Figure 16. With the proposed system, the flexion-extension angle estimation error of 0.01° ± 1.06° (mean ± σ), and the internal-external estimation error is 0.03° ± 0.50° (mean ± σ). As a contrast, in [17], the flexion-extension angle estimation error is 0.0° ± 0.9° (mean ± σ), and the internal-external estimation error is 0.2° ± 1.1° (mean ± σ). The presented vision system has a smaller estimation error. In addition, the most important performance for this system is the absolute maximum error. The absolute maximum flexion-extension (pitch) and internal-external (yaw) reconstruction errors are 1.73° and 1.08°, respectively. And the absolute maximum mediolateral translation reconstruction error is only 1.55 mm. The instant relative pose reconstruction accuracy is summarized in Table 2.

Balance Measurement with Force Sensing

107The force sensing data can be used to determine the contact force between the spacer and the femoral component is balanced between the sides. In the experiment, imbalanced forces are applied to the sides of the spacer (sensing device), and the force sensors in the sensing device measure the force difference (imbalance). Figure 17a shows the measured force imbalance versus the actual force imbalance, and Figure 17b shows the force imbalance measurement error versus the actual force imbalance. The maximum force imbalance measurement error is less than ±5 N, which is adequately small to judge the ligament balance of the knee joint prosthesis.

108to the sides of the spacer (sensing device), and the force sensors in the sensing device measure the force difference (imbalance). Figure 17a shows the measured force imbalance versus the actual force imbalance, and Figure 17b shows the force imbalance measurement error versus the actual force imbalance. The maximum force imbalance measurement error is less than ±5 N, which is adequately small to judge the ligament balance of the knee joint prosthesis.

Kinetic Pose Reconstruction

109In this kinetic pose reconstruction experiment, the femoral component is placed in two typical situations, and the relative trajectories of the femoral component "seen" by the spacer are acquired and plotted. Specifically, the femoral component rotates around the OCXC and OCZC axes of the sensing device slowly with a rotation velocity of ~30° per second, and this rotation velocity is close to that in the TKA procedure in which the surgeons check the trial implants by slowly moving the tibia with respect to the femur.

110In this kinetic pose reconstruction experiment, the femoral component is placed in two typical situations, and the relative trajectories of the femoral component "seen" by the spacer are acquired and plotted. Specifically, the femoral component rotates around the O C X C and O C Z C axes of the sensing device slowly with a rotation velocity of~30 • per second, and this rotation velocity is close to that in the TKA procedure in which the surgeons check the trial implants by slowly moving the tibia with respect to the femur.

111As shown in Figure 18a, the femoral component is in an appropriate position. The measured force data shows good ligament balance, the instant relative pose meets the expectation, and the kinetic trajectory is smoot and resides on the YOZ plane.

Balance Measurement with Force Sensing

112The force sensing data can be used to determine the contact force between the spacer and the femoral component is balanced between the sides. In the experiment, imbalanced forces are applied to the sides of the spacer (sensing device), and the force sensors in the sensing device measure the force difference (imbalance). Figure 17a shows the measured force imbalance versus the actual force imbalance, and Figure 17b shows the force imbalance measurement error versus the actual force imbalance. The maximum force imbalance measurement error is less than ±5 N, which is adequately small to judge the ligament balance of the knee joint prosthesis.

Kinetic Pose Reconstruction

113In this kinetic pose reconstruction experiment, the femoral component is placed in two typical situations, and the relative trajectories of the femoral component "seen" by the spacer are acquired and plotted. Specifically, the femoral component rotates around the OCXC and OCZC axes of the sensing device slowly with a rotation velocity of ~30° per second, and this rotation velocity is close to that in the TKA procedure in which the surgeons check the trial implants by slowly moving the tibia with respect to the femur. As shown in Figure 18b, the femoral component is in the good position, but the spacer does not exactly fit the space between the femoral component and tibia component. In this case, both the force measurement and the instant relative pose at some specific point show good result. But the kinetic trajectory shows that relative movement between the spacer and the femoral component has some fluctuation which is does not meet the expectation. This case shows an example of TKA surgery defection that can be found only using the kinetic pose reconstruction.

114The experiment results show that it provides more comprehensive evaluation of the TKA surgeries by combining the result of force sensing, the instant pose reconstruction, and the kinetic post reconstruction, rather than that with only the force sensing in [8].

Conclusions

115A wireless visualized measurement system has been proposed and implemented to improve the quality of the TKA surgeries. The system consists of a multimodal sensing device, a wireless data receiver and a multimodal data processing workstation. The multimodal sensing device can take the images of the femoral component of the knee prosthesis and measure the contact force distribution between the spacer and the femoral component. The system is capable of the instant and kinetic prosthesis pose reconstruction based on the image sensing. With the image processing algorithms proposed in this work, the proposed system can provide pose reconstruction with higher accuracy. The absolute reconstruction errors of the flexion-extension rotation angle, the internal-external rotation angle as well as the mediolateral distance between the femoral component and the spacer are less than 1.73 • , 1.08 • and 1.55 mm, respectively. The force imbalance measurement error is less than ±5 N. With the kinetic pose estimation algorithm, the presented system can output a 3D motion trajectory which is not available from other systems that acquire the single modal data such as the force data. The system is used during the surgery as a trial component. The influence on the TKA procedure is quite small. The TKA surgeons can easily use it in the standard clinical procedures.

116The current implementation has several limitations that can be improved in the future. The image sensing frame rate is limited to 8 fps due to the limited data rate provided by the transmitter. The wireless transmission distance is limited due to the limited antenna gain. In the future, the transmitter and antenna design will be improved so that the system can provide higher image frame rate and longer wireless communication distance. The device will soon be validated in the real clinical environment. There is the possibility that the data processing algorithm performance may degrade under real situations. The algorithms will be then optimized for the real situations.

117a 2 m g 3 = m(a 1 b 2 + a 2 b 1 ) + n 3 (a 1 d 2 + a 2 d 1 ) h 3 = m(a 1 c 2 + a 2 c 1 + b 1 b 2 ) + n 3 (a 1 e 2 + b 1 d 2 ) + p(a 2 e 1 + b 2 d 1 ) + qd 1 d 2 i 3 = m(b 1 c 2 + b 2 c 1 ) + n 3 (c 1 d 2 + b 1 e 2 ) + p(c 2 d 1 + b 2 e 1 ) + q(e 1 d 2 + d 1 e 2 ) j 3 = mc 1 c 2 + n 3 c 1 e 2 + pe 1 c 2 + qe 1 e 2 (A8)

참고문헌 32건

  1. Revision Total Knee Arthroplasty Springer eBooks · Springer Nature · 2005 10.1007/b138582
  2. Comprehensive MULTIMOORA method with target-based attributes and integrated significant coefficients for materials selection in biomedical applications Materials & Design · Elsevier BV · 2015 10.1016/j.matdes.2015.08.087
  3. Loading of the knee joint during activities of daily living measured in vivo in five subjects Journal of Biomechanics · Elsevier BV · 2010 10.1016/j.jbiomech.2010.03.046
  4. An Improved Iterative Solution to the PnP Problem International Conference on Virtual Reality and Visualization · 2013 10.1109/icvrv.2013.41
  5. EPnP: An Accurate O(n) Solution to the PnP Problem International Journal of Computer Vision · Springer Science+Business Media · 2008 10.1007/s11263-008-0152-6
  6. Patient-specific Guides Do Not Improve Accuracy in Total Knee Arthroplasty: A Prospective Randomized Controlled Trial Clinical Orthopaedics and Related Research · Lippincott Williams & Wilkins · 2013 10.1007/s11999-013-2997-4
  7. The Mark Coventry Award: In Vivo Knee Forces During Recreation and Exercise After Knee Arthroplasty Clinical Orthopaedics and Related Research · Lippincott Williams & Wilkins · 2008 10.1007/s11999-008-0345-x
  8. Robust Pose Estimation from a Planar Target IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2006 10.1109/tpami.2006.252
  9. THE CHITRANJAN RANAWAT AWARD: In Vivo Knee Forces after Total Knee Arthroplasty Clinical Orthopaedics and Related Research · Lippincott Williams & Wilkins · 2005 10.1097/01.blo.0000186559.62942.8c
  10. A wireless force measurement system for Total Knee Arthroplasty 1993 IEEE International Symposium on Circuits and Systems · 2012 10.1109/iscas.2012.6271847
  11. Enclosed Electronic System for Force Measurements in Knee Implants Sensors · Multidisciplinary Digital Publishing Institute · 2014 10.3390/s140815009
  12. Causes of Failure after Total Knee Arthroplasty in Osteoarthritis Patients 55 Years of Age or Younger Knee Surgery and Related Research · BioMed Central · 2014 10.5792/ksrr.2014.26.1.13
  13. Instrumented Knee Prosthesis for Force and Kinematics Measurements IEEE Transactions on Automation Science and Engineering · Institute of Electrical and Electronics Engineers · 2013 10.1109/tase.2012.2226030
  14. A simple solution for the non perspective three point pose problem 2014 10.1109/ic3d.2014.7032594
  15. Image Denoising by Sparse 3-D Transform-Domain Collaborative Filtering IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2007 10.1109/tip.2007.901238
  16. A New Method for Defining Balance The Journal of Arthroplasty · Elsevier BV · 2013 10.1016/j.arth.2013.10.020
  17. Random sample consensus Communications of the ACM · Association for Computing Machinery · 1981 10.1145/358669.358692
  18. ESB clinical biomechanics award 2008: Complete data of total knee replacement loading for level walking and stair climbing measured in vivo with a follow-up of 6–10 months Clinical Biomechanics · Elsevier BV · 2009 10.1016/j.clinbiomech.2009.01.011
  19. A multiaxial force-sensing implantable tibial prosthesis Journal of Biomechanics · Elsevier BV · 2005 10.1016/j.jbiomech.2005.05.023
  20. Properties and performance of a center/surround retinex IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 1997 10.1109/83.557356
  21. A Piezo-Powered Floating-Gate Sensor Array for Long-Term Fatigue Monitoring in Biomechanical Implants IEEE Transactions on Biomedical Circuits and Systems · Institute of Electrical and Electronics Engineers · 2008 10.1109/tbcas.2008.2001473
  22. Linear N-point camera pose determination IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 1999 10.1109/34.784291
  23. Revisiting the PnP Problem: A Fast, General and Optimal Solution 2013 10.1109/iccv.2013.291
  24. Design, calibration and pre-clinical testing of an instrumented tibial tray Journal of Biomechanics · Elsevier BV · 2007 10.1016/j.jbiomech.2007.02.014
  25. A STABLE DIRECT SOLUTION OF PERSPECTIVE-THREE-POINT PROBLEM International Journal of Pattern Recognition and Artificial Intelligence · World Scientific · 2011 10.1142/s0218001411008774
  26. Development of a Force Amplitude- and Location-Sensing Device Designed to Improve the Ligament Balancing Procedure in TKA IEEE Transactions on Biomedical Engineering · Institute of Electrical and Electronics Engineers · 2005 10.1109/tbme.2005.851504
  27. Iterative Linear Solution of the Perspective n-Point Problem Using Unbiased Statistics 2009 10.1109/micai.2009.39
  28. Accurate Measurement of Concurrent Flexion–Extension and Internal–External Rotations in Smart Knee Prostheses IEEE Transactions on Biomedical Engineering · Institute of Electrical and Electronics Engineers · 2013 10.1109/tbme.2013.2259489
  29. e-Knee: Evolution of the Electronic Knee Prosthesis Journal of Bone and Joint Surgery · Wolters Kluwer · 2001 10.2106/00004623-200100021-00013
  30. Pose Estimation from Line Correspondences: A Complete Analysis and a Series of Solutions IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2016 10.1109/tpami.2016.2582162
  31. Failure After Modern Total Knee Arthroplasty: A Prospective Study of 18,065 Knees The Journal of Arthroplasty · Elsevier BV · 2017 10.1016/j.arth.2017.09.041
  32. Random Sample Consensus: A Paradigm for Model Fitting with Applications to Image Analysis and Automated Cartography Elsevier eBooks · Elsevier BV · 1987 10.1016/b978-0-08-051581-6.50070-2