Create and Implement a function named rgb26cc() in MATLAB to convert any given RGB color image to corresponding 6-bit color coded image. The function will take an RGB color image as its input. The function should convert RGB values of each pixel in the input to the corresponding 6-bit color code.
of the original RGB color image.
Implement RGB to 6-bit color code conversion according to the procedure introduced in the class. Please notice that the procedure converts only one pixel at a time, and thus, you must do one of the following ways for converting the entire image.
Create a nested loop to read RGB values for each pixel in imRGB and convert the RGB values to corresponding 6-bit color code. Create a new matrix of the same height and width and write the 6-bit color code to the corresponding location in the new matrix im6CC. The intuitive version is easy to understand but will be extremely slow when processing a large image.
Handle the conversion using matrix operation, which do not need a nested loop to process individual pixel. The high-performance version can convert the entire image with few statements. You will need to have comprehensive understanding to develop the algorithm. You will earn extra bonus points toward your semester grade if you implement the rgb26cc() function using high-performance version.
In addition, you need to create a MATLAB script named hw10.m to demonstrate the usage of the rgb62cc () function. In particular, in the script you need to
Read the color image provided (Hanfu_Libra.jpeg) and store pixel values in a variable (imC)
Call rgb26cc() to convert RGB color image stored in imC to corresponding 6-bit color coded image as imG.
Display the original color image and 6-bit color coded image side-by-side in a Figure Window where the original color image is shown on the left and the 6-bit color coded image is shown in the right. (Please notice that when display 6-bit color coded image using imshow() you should see a dark image due to the fact that the intensity range of the 6-bit color code is from 0 to 63. To better visualize a 6-bit color coded image, you can look up the imshow() function in MATLAB help file to specify the display range.)
Presentation The motivation behind this paper is to extend the information to the group of spectators of the neurocognitive issue, also called NCDs. The particular theme that I am satisfying is known as incoherence. As indicated by (American Psychiatric Association. (2013): "The predominance of ridiculousness is most elevated among hospitalized more established people and differs relying upon the people's qualities, setting of consideration, and affectability of the recognition technique. The commonness of ridiculousness in the network in general is low (1%–2%) (Inouye 2006) yet increments with age, ascending to 14% among people more established than 85 years. The predominance is 10%–30% in more seasoned people displaying to crisis offices, where the ridiculousness frequently demonstrates a restorative ailment (Inouye 2006).The pervasiveness of insanity when people are admitted to the medical clinic ranges from 14% to 24%, and appraisals of the rate of incoherence emerging during hospitalization extend from 6% to 56% as a rule emergency clinic populaces (Agostino and Inouye 2003; Inouye 1998). Incoherence happens in 15%–53% of more established people postoperatively (Agostino and Inouye 2003) and in 70%–87% of those in concentrated consideration (Pisani et al. 2003). Wooziness happens in up to 60% of people in nursing homes or post–intense consideration settings (Boorsma et al. 2012) and in up to 83% of all people toward the finish of life (Casarett 2003)". The paper will likewise comprise of the talk and criteria of what wooziness is, the thing that over a significant time span experimental research from writing, and proof based treatment plans. Discourse of Disorder and Criteria Regardless, "Daze is an intense (hours, days), serious disintegration in mental working generally happening with regards to medicinal sickness, injury, medications, or medical procedure" (MacLullich, 2018). There are various types of incoherence that include: (a) substance inebriation wooziness (b) substance withdrawal daze (c) medicine prompted ridiculousness (d) insanity to another ailment (e) daze because of numerous etiologies (f) other indicated daze, for example, constricted daze disorder and (g) and undefined daze. Furthermore, ridiculousness is related with the rest wake cycle which implies that the aggravations can cause daytime languor, evening time tumult, trouble nodding off, unnecessary sluggishness for the duration of the day, or attentiveness for the duration of the night (American Psychiatric Association. (2013). The individual may indicate passionate aggravations practices too, for example, tension, dread, misery, and outrage. For instance, during this condition of wooziness, the individual may act among the passionate state by making clamors, for example, shouting or getting out. Besides, from individual experience the visualizations from wooziness can be profoundly unnerving. I for one encountered daze after my 18-hour chest medical procedure. These pipedreams are incredibly practical and can unsettle the person. For instance, I attempted to evacuate my ventilator because of the visualizations (from wooziness) that caused me to accept the emergency clinic staff was attempting to kill me. An enormous populace of people that experience the ill effects of insanity are in the emergency unit, for example, I was at the hour of my visualizations. Lough (2019, p. 81) infers that all patients that are fundamentally sick, similar to the ones in the emergency unit all be evaluated for probability of wooziness. The evaluation scale for these people is known as "The Intensive Care Delirium Screening Checklist" (ICDSC) and is point based over an eight-hour move, or from the past 24 hours. Notwithstanding, if I somehow managed to concentrate on another type of daze to grow information about, it would be substance withdrawal incoherence. People who are experiencing wooziness from a substance, for example, liquor cause ridiculousness tremens (DTs). The blend of liquor withdrawal and insanity can be fatal, and these side effects comprise of fantasies, seizures, expanded requirement for mechanical ventilation (Lough, 2019). The people that clinicians regularly observe who are experiencing daze because of substance withdrawal are situated in the crisis division (Aldelbrahamn, Borden and Ghamloush, 2018). So as to determination a person with any type of ridiculousness one must have (an) aggravation in consideration, for example, diminished capacity to center (b) the unsettling influence creates over a brief timeframe generally in hours to a couple of days (c) extra unsettling influences in contemplation, for example, confusion and language, (d) criteria in an and b are not disclosed because of another condition and (e) there is proof from the history, physical assessment, or research facility discoveries that the aggravation is a direct physiological result of another ailment, substance inebriation or withdrawals, or investigate to a poison, or is because of different etiologies (American Psychiatric Association. (2013)." However, on the off chance that an individual is experiencing substance withdrawal daze, the clinician must focus on criteria (an) and (c). Writing As referenced, insanity happens every now and again for people that are in the emergency unit. Contextual investigation: "Impact of authoritative factors on the variety in rate of insanity in emergency unit: An efficient audit and meta-relapse examination" talks about the daze event rates. The goal of this investigation was to decide whether authoritative variables could add to watched ridiculousness in grown-up escalated care patients (Rood, Vermeulen, Schoohoven, Pickkers, and Van cave Boogaard, 2018). The enormous contextual investigation came about in 4% to 89% have singular wooziness event rates. Analysts needed an increasingly exact rate to report, consequently, the scientists played out a meta-relapse investigation based off the accessible hierarchical variables which incorporates medical clinic type, screening strategy and screening recurrence. A sum of 9867 escalated care patients were incorporated into this investigation, the outcomes presumed that 29% of these people had insanity in the emergency unit. Another contextual investigation, "Extreme liquor withdrawal disorder: survey of the writing" talked about extra hazard factors an individual can have while pulling back from a substance, for this situation, liquor. This examination was led more than 16 years from 1989 to 2017 in which clinicians took a gander at people with ADS, ridiculousness tremens (DTs), liquor related seizures or liquor withdrawal disorder. This particular case was valuable for me as a result of the incoherence tremens. The examination revealed that out of the 205 investigations screens just six of the people met the criteria for ridiculousness tremens (Benson, Roberts, McCallum and McPherson, 2019). One final contextual investigation, "Liquor withdrawal insanity finding, course, and treatment" clarifies the most extreme symptom from people pulling back (Mainerova et al. ,2015). The examination that was directed expressed that insanity happens inside 24 to 72 hours if that is a reaction an individual will create while pulling back/detoxing. The examination was done through inpatient trails yet had an extremely little example size. Toward the finish of the investigation, it was reasoned that people show up after longer than "typical" overwhelming hitting the bottle hard. Ridiculousness tremens related with liquor came about in the protentional of death previously mentioned however can cause serious bleakness also if the tremens were not overseen appropriately. Treatment As indicated by (Mainerova et al., 2015) study, the best treatment for people with wooziness from liquor is best overseen in the emergency unit given short acting benzodiazepines in supramaximal dosages. All through the examination, different medications were tried, yet found not compelling, or not as successful. For instance, barbiturates were accounted for in instances of liquor withdrawal wooziness didn't react to the ridiculousness (Caplan, n.d). The contextual analysis likewise announced that having legitimate ensuing consideration after the wooziness dies down is significant. This was a significant factor in light of the fact that the individual needs legitimate training and mental help to comprehend the wooziness that had happened. Another proof based intercession to apply to people with incoherence is a non-pharmacological methodology. This mediation comprises of counteractive action of daze. The initial step is to recognize high hazard factors which include: (a) non-treatable incoherence hazard factors, (b) maturity, (c) basic dementia, (d) male sexual orientation, (e) past history of ridiculousness, (f) huge therapeutic history, (g) poor visual perception and hearing, (h) feebleness, and (I) fixed status (Tabet and Howard, 2009). Next, would be the means by which the clinicians can help avert those with focused hazard factors, and in conclusion, for the clinician to perceive conceivable beginning of daze and help the individual relate to reality as most ideal as. End Taking everything into account, there are numerous types of wooziness. Through research wooziness shows up most normal in old patients, substance withdrawal (liquor or medications), and medical procedure patients. The test I accept that is most troublesome with ridiculousness is when people may not show hazard factors at all and all of a sudden have insanity. Or on the other hand, clinicians can endeavor instructive based mediations, however the brain is solid. As I referenced, I had daze after my medical procedure and the appropriate response was never analyzed if my insanity was from being under anesthesia so long, the blend of agony executioners, or both. The DSM-5 clarifies daze great, be that as it may, I do accept if different intercessions were recorded this could be gainful. At my temporary job, we had a man who was AAOx3 before medical procedure and, after medical procedure, didn't have a clue about any data about himself with the exception of his name and age. This individual couldn't recall who he was for about fourteen days, and one day, everything returned. As I would like to think, wooziness has the protentional to be unsurprising yet for people who are high hazard. With respect to treatment, I think safeguard measures and consoling people of what their identity is can be useful, however there is n>GET ANSWER