Docsity

domande e risposte relative ai probabili esami, Schemi e mappe concettuali di Elettronica Digitale

Toggle sidebar
bg1
DOMANDE E RISPOSTE
MODULO A
BOLOGNARI – Q1-Q9
Q01: Immateriality of digital data
The concept of "immateriality" arises from the fact that the Italian code of criminal
procedure was originally designed for a world of tangible, material evidence. Digital data,
unlike a physical object, is intangible. This has led to a fundamental misunderstanding in
legal practice, where the data itself was often confused with the physical device (the
"support") on which it was stored.
To address the challenges of this new digitalized world, two main strategies have been
considered:
1. Adapting traditional investigative rules to new technologies.
2. Developing entirely new rules that account for the unique characteristics of digital
investigations. The first strategy has proven difficult because traditional tools are
often inadequate for digital investigations.
A key issue stemming from immateriality is the instability of digital data. Data can be
easily altered, corrupted, or deleted. Therefore, its preservation from the moment of
collection to its final storage is crucial. Incorrect handling can negatively impact both the
prosecution and the defense.
Consequently, the preservation of data integrity has become the guiding principle of
digital investigations. While not always explicitly stated for every investigative act, this
principle can be inferred from general rules in the criminal code. For instance, Articles 326
and 358 imply that for an investigation to be considered valid and complete, the evidence
it relies on must be uncorrupted and genuine. Corrupted digital evidence would not be
suitable for exercising criminal action or ensuring a complete investigation that considers
both incriminating and exonerating facts.
To manage these complex technical and legal issues, the field of digital forensics was
developed. It focuses on the proper methods for researching, analyzing, and conserving
digital data within the framework of a criminal proceeding.
Q02: The need to respect best practices
The need to respect best practices in digital investigations is a direct consequence of the
immaterial and volatile nature of digital data. These practices are standard operating
procedures designed to ensure that digital evidence is handled correctly.
Origin and Aims
Best practices were formally adopted in Italian law through Law 48/2008, drawing
inspiration from Anglo-American legal systems. Their primary goals are:
•To preserve the integrity of the original data.
•To avoid any modification or deletion of the data. These aims are reflected in
several articles of the code of criminal procedure, which mandate that investigative
bodies adopt "technical measures aimed at ensuring the conservation of the original
data and preventing its alteration" during acts like inspections, searches, and the
seizing of data.
The Chain of Custody
A prominent example of a best practice is the chain of custody, which is a complete record
of all activities performed on digital evidence, from its identification to its conservation.
However, implementing the chain of custody in the Italian system poses a significant
challenge due to the principle of separation of phases, which is maintained by the "double-
file system" (a separate file for the investigation and one for the trial). Because the trial
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26

Anteprima parziale del testo

Scarica domande e risposte relative ai probabili esami e più Schemi e mappe concettuali in PDF di Elettronica Digitale solo su Docsity!

DOMANDE E RISPOSTE

MODULO A

BOLOGNARI – Q1-Q

Q01: Immateriality of digital data The concept of "immateriality" arises from the fact that the Italian code of criminal procedure was originally designed for a world of tangible, material evidence. Digital data, unlike a physical object, is intangible. This has led to a fundamental misunderstanding in legal practice, where the data itself was often confused with the physical device (the "support") on which it was stored. To address the challenges of this new digitalized world, two main strategies have been considered:

  1. Adapting traditional investigative rules to new technologies.
  2. Developing entirely new rules that account for the unique characteristics of digital investigations. The first strategy has proven difficult because traditional tools are often inadequate for digital investigations. A key issue stemming from immateriality is the instability of digital data. Data can be easily altered, corrupted, or deleted. Therefore, its preservation from the moment of collection to its final storage is crucial. Incorrect handling can negatively impact both the prosecution and the defense. Consequently, the preservation of data integrity has become the guiding principle of digital investigations. While not always explicitly stated for every investigative act, this principle can be inferred from general rules in the criminal code. For instance, Articles 326 and 358 imply that for an investigation to be considered valid and complete, the evidence it relies on must be uncorrupted and genuine. Corrupted digital evidence would not be suitable for exercising criminal action or ensuring a complete investigation that considers both incriminating and exonerating facts. To manage these complex technical and legal issues, the field of digital forensics was developed. It focuses on the proper methods for researching, analyzing, and conserving digital data within the framework of a criminal proceeding. Q02: The need to respect best practices The need to respect best practices in digital investigations is a direct consequence of the immaterial and volatile nature of digital data. These practices are standard operating procedures designed to ensure that digital evidence is handled correctly. Origin and Aims Best practices were formally adopted in Italian law through Law 48/2008, drawing inspiration from Anglo-American legal systems. Their primary goals are:
  • (^) To preserve the integrity of the original data.
  • (^) To avoid any modification or deletion of the data. These aims are reflected in several articles of the code of criminal procedure, which mandate that investigative bodies adopt "technical measures aimed at ensuring the conservation of the original data and preventing its alteration" during acts like inspections, searches, and the seizing of data. The Chain of Custody A prominent example of a best practice is the chain of custody, which is a complete record of all activities performed on digital evidence, from its identification to its conservation. However, implementing the chain of custody in the Italian system poses a significant challenge due to the principle of separation of phases, which is maintained by the "double- file system" (a separate file for the investigation and one for the trial). Because the trial

judge is not supposed to know the contents of the investigation file, a single, unified chain of custody document is problematic. This has resulted in a hybrid "Italian" chain of custody, where documentation of investigative activities goes into the investigation file, while documentation of trial-phase activities goes into the trial file. Consequences of Non-Compliance When best practices are not followed, the question arises as to the legal consequence. Three possibilities have been considered:

  1. Nullity : This would render the investigative act legally void. However, this solution is rejected because, in the Italian system, nullities must be explicitly stated by law, and there is no specific law that prescribes nullity for failing to follow best practices.
  2. Inadmissibility : This would mean the collected data cannot be used as evidence. This is also rejected for the same reason: the lack of a specific legal provision.
  3. Affects Reliability : This is the accepted solution. The failure to comply with best practices calls into question the reliability and genuineness of the digital data. A judge would likely deem data collected without following proper procedures to be unreliable. This approach preserves the necessary flexibility of best practices while still incentivizing their use. Q03: Transnational nature of digital investigations Digital investigations are inherently transnational because data can be stored on servers or devices located anywhere in the world. This reality means that investigators frequently need to acquire evidence from outside their own country, which requires the use of international judicial and police cooperation instruments. Challenges This transnational dimension presents several significant problems for law enforcement:
  • (^) Non-Cooperating States : Criminals often intentionally use servers located in countries that have a history of not cooperating with international investigations, creating safe havens that can lead to impunity for a large amount of cybercrime.
  • (^) Double Criminality : Even cooperating states may refuse a request for assistance if the act under investigation is not also considered a crime in their own legal system (the principle of "double criminality").
  • (^) Speed : Traditional cooperation tools, like letters rogatory, are often too slow to be effective in digital investigations, where data can be deleted or moved quickly. Cross-Border Investigations Technology allows investigators to "virtually" cross borders to access data. This raises legal questions about when cooperation is required:
  • (^) Online Data Acquisition : The Budapest Convention on Cybercrime allows investigators to access publicly available data (e.g., on a public website) without engaging in cooperation mechanisms. However, if the data is not public (e.g., in a private account), cooperation is required. An exception is if the owner of the data consents to the access.
  • (^) Satellite Localization : If a device being tracked crosses into another country, investigators generally must use cooperation mechanisms. An exception exists within the Schengen Area, where, in cases of urgency involving serious crimes, investigators can continue their surveillance but must notify the other state later. Creating a Common Investigative Horizon Given that crime itself is transnational, a purely national approach is insufficient. There is a clear need for a comprehensive, international approach to investigative cooperation. Key instruments include:
  • (^) The Budapest Convention on Cybercrime : This is a foundational treaty that requires signatory states to provide broad mutual assistance, establish rapid

crime data will be requested, they will likely retain all data for the maximum possible duration. o (^) Many providers are located abroad, making it unclear which country's retention laws apply to them. Cloud Providers Cooperation with cloud providers presents unique challenges:

  • (^) Difficulty of Tracing Data : Cloud technologies like "load balancing" move data between different servers, which can be located in different countries, making it extremely difficult to trace where the data is physically located at any given moment.
  • (^) Identifying the Legal Entity : It can be hard to identify the correct legal entity to which a request for data should be addressed. A possible solution is to shift the legal approach away from the physical location of the server and instead focus on criteria such as the registered office of the provider or the place where the service is being used. Q05: Digital inspection An inspection is an investigative act aimed at observing and describing the "traces and other material effects of the crime". It is distinct from a search, which aims to actively find evidence. The observational nature of an inspection is confirmed by the fact that the law allows investigators to overcome security measures during a search, but does not provide a similar provision for an inspection. The Problem of "Digital" Inspection Applying this traditional concept to the digital world is highly problematic.
  • (^) While the object of an inspection could theoretically be a computer system or smartphone, any activity that goes beyond observing the external features of the device (e.g., its brand or connected networks) and instead involves looking at the data within it, would seem to be a research activity, and therefore a search, not an inspection.
  • (^) This has led to the conclusion that the adaptability of the traditional inspection to the digital world is very difficult, and a true "digital inspection" may not really exist. Identification Surveys (Art. 244 par. 2) A more suitable tool for observing a digital environment is the identification survey. This act is used when a crime has not left material traces or those traces have been altered. The law explicitly states that this can involve "technical operations [...] in relation to digital or telematic systems," while adopting measures to preserve the original data.
  • (^) Function : This allows investigators to see what is happening inside a computer system, for example, by viewing ongoing processes using tools like a "write- blocker" to ensure data integrity is maintained.
  • (^) Limits : This tool is limited to observation. The law authorizing it refers only to observing "systems," whereas the law on digital searches refers more broadly to "data, information, and computer programs". This implies that if an investigator were to go beyond observing ongoing processes and started opening files and folders, they would be conducting a search, not an identification survey. Q06: Digital search A search is an investigative act aimed at finding the body of a crime or things related to it, or to arrest a person. Recognizing that traditional search rules were insufficient for the digital world, the Italian legislator intervened with Law 48/2008 to introduce specific provisions for digital searches. Key Legal Provisions
  • (^) Art. 247 par. 1 bis : This authorizes the judicial authority to order a search of a computer or telematic system, even one protected by security measures, when there is a "well-founded reason to believe" that data related to a crime is stored there. The search must be conducted using technical measures to preserve the original data.
  • (^) Art. 352 par. 1 bis : This grants the police the power to conduct a digital search in urgent situations, such as when a person is caught in the act of committing a crime ( flagrante delicto ). The conditions are stricter: the police must have reasonable grounds to believe that data is hidden in the system and that it is at risk of being canceled or dispersed. Common and Differing Aspects
  • (^) Common Elements : Both types of searches require a well-founded reason to believe data is present and mandate the use of technical measures to ensure data integrity.
  • (^) Differences : A police search requires an element of urgency and the risk that the data, which must be "hidden," could be lost. Search of a Lawyer's Digital Devices A particularly sensitive issue is the search of digital devices used by a lawyer.
  • (^) General Protections (Art. 103) : Searches of a lawyer's physical office are subject to special guarantees to protect the fundamental right of defense. For example, the Bar Council must be notified, and the search must be performed by a judge.
  • (^) The Digital Problem : With the rise of technology, a lawyer's "office" is no longer just a physical place; confidential client information is stored on laptops, smartphones, and tablets that may be located anywhere.
  • (^) The Legal Debate : This has sparked a debate on whether the guarantees of Article 103 apply to a search of a lawyer's device when it is outside the physical office. o (^) One view holds that the guarantees apply only when the device is physically located in the office. o (^) The opposing and more robust view argues that the purpose of Article 103 is to protect the right of defense itself, which is tied to the confidential information, not the physical location. Therefore, the protections should apply to any device used for professional purposes, effectively treating the device itself as a virtual workplace. Q07: Digital seizure Seizure is the act of acquiring an object (the body of the crime or things related to it) that is necessary for the ascertainment of facts. Traditionally, this implied the physical taking of a material object. Before Law 48/2008, there were doubts as to whether immaterial digital data could be seized independently of its physical container, which led to the seizure of entire computer systems just to obtain the data within. Legislative Reforms Law 48/2008 clarified the issue by introducing specific rules for "digital seizure":
  • (^) Seizure of Correspondence (Art. 254) : This article was updated to explicitly state that emails and other telematic communications are a form of "correspondence" that can be seized.
  • (^) Seizure from Service Providers (Art. 254 bis) : This is a key provision that allows the judicial authority to order the seizure of data held by service providers. Crucially, it specifies that the acquisition can be done by copying the data onto a separate medium, using a procedure that ensures the copy is identical to and as immutable as the original. The provider is then ordered to preserve the original data. Data Copying: A Form of Seizure or an Autonomous Act?

outcome. It also leads to unequal treatment, where the same crime could be subject to interception or not, based simply on whether a computer was used to commit it. Interception vs. Seizure of Stored Communications A crucial distinction exists between intercepting a communication as it happens and acquiring a communication that is already stored on a device.

  • (^) In its Judgment n. 170/2023, the Constitutional Court addressed the issue of acquiring emails and WhatsApp messages that were already saved on a smartphone.
  • (^) The Court ruled that because the communications had already occurred and were now static data, their acquisition is not an interception. Instead, it must follow the rules for a seizure. This is supported by the fact that the seizure happens openly, whereas an interception is by definition secret. Q09: Trojan horse A "Trojan horse" is a type of malware that is secretly installed on a person's digital device (like a smartphone or computer) to conduct surveillance. It is an extremely powerful and invasive investigative tool. Potential and Impact
  • (^) Potential : A Trojan can be used to activate the device's microphone for environmental interception, turn on the camera, view the screen, and access all stored content. Its potential is extraordinary.
  • (^) Impact : Its use has a profound impact on fundamental rights, including privacy, respect for private life, and the secrecy of communications. Legislative Framework (Legislative Decree 216/2017) After a long period of legal debate, the use of Trojans for environmental interception via mobile devices was regulated. The rules are very strict:
  • (^) Prerequisites : The Trojan can only be installed on a mobile device. The authorizing decree must specify the reasons why it is necessary and the places and times where the microphone can be activated.
  • (^) Use in Private Residences : If the interception is to take place in a private home, it is only permitted if there is a "well-founded reason to believe that a criminal activity is taking place there" at that moment.
  • (^) Exception for Serious Crimes : The strict requirements regarding place, time, and ongoing criminal activity are waived for investigations into organized crime and certain serious crimes against the public administration. This was the solution established by the Joint Sections of the Court of Cassation in the Scurato case and later codified. Problems and Controversies
  • (^) Limited Scope : The current legislation is very narrow, covering only the use of Trojans for intercepting vocal communications on mobile devices. It does not regulate other potential uses, such as video recording or keylogging.
  • (^) Determining Time and Space : The requirement to predetermine the time and place of activation is technically very difficult and potentially prone to error. The verifiability of the Trojan's activity is also a major issue, as its operations can be obscure even to computer scientists, leading to disputes among experts during a trial.
  • (^) Involvement of Private Entities : The law allows police to use private companies and external experts to develop and install Trojans. This is often necessary due to a lack of public sector technical expertise, but it is highly problematic. The Exodus case serves as a stark warning: a private company developed a Trojan used by numerous prosecutor's offices that was found to have illegally intercepted hundreds

of people, with the data being stored insecurely on a server abroad, accessible to anyone with a simple username and password.

  • (^) Self-Incrimination : The most common way to install a Trojan is remotely, by tricking the target into clicking a "poisoned" link or file. This involves the unknowing collaboration of the suspect, which raises serious questions about the right not to self-incriminate. MILANI Q10-Q Q10: Overviews the different 3D modelling strategies and the possible 3D virtual models for the objects. There are three main strategies for modeling the 3D world, each suited for different applications:
  • (^) Manual: In this strategy, objects and the scene are drawn by an artist or designer using graphical software.
  • (^) Automatic: This involves acquiring a digital model from real-world objects through methods like 3D scanning or creating a 3D model from a series of pictures.
  • (^) Procedural: This method uses a mathematical function to generate the model. This is effective for creating complex or repetitive patterns, such as fractals or fur. Once created, these 3D objects can be represented by several different virtual models:
  • (^) Polygonal Meshes: This is a very common representation where the surface of an object is approximated by a collection of polygons, typically triangles or quadrilaterals. A mesh consists of vertices (points), edges (lines connecting vertices), and faces (the polygons themselves) that define the object's shape. This method is efficient but the visual quality depends on the number of polygons used; a low number of faces can make the model look "edgy," while more faces provide a better approximation at the cost of larger file sizes.
  • (^) Point Clouds: A point cloud is a set of 3D points in space sampled from the surface of an object. Each point typically has X, Y, and Z coordinates, and may have additional attributes like color (RGB values). They are generally produced by 3D scanners or photogrammetry software. Unlike meshes, which are efficient, point clouds can be sparse and redundant. They are often converted to polygonal meshes for easier use in applications.
  • (^) Voxel Representation: This is a volumetric approach where space is divided into a grid of cells called voxels (volume elements). A voxel is considered "full" if it intersects with the object. This method is not very effective for representing complex scenes and is typically used for single objects. However, it is very useful for classification tasks.
  • (^) Constructive Solid Geometry (CSG): This method builds complex objects by using simple primitive solids (like spheres, cylinders, and bricks) and applying boolean operations such as union, intersection, and subtraction to them. The sequence of operations is defined using a tree structure. CSG is well-suited for modeling in CAD software but is less performant for real-time rendering. Q11: Describe how illumination is modelled in graphics (Phong model) and which are the roles of the different illumination components. In computer graphics, illumination models are used to simulate how light interacts with objects in a scene to determine the final color of each pixel. One of the most fundamental models is the Phong illumination model, which calculates the output intensity (Iout) of a point on a surface as the sum of four distinct components.
  1. During rendering, when the illumination for a point on the surface is calculated, the system looks up the value from the bump map.
  2. This value is used to perturb the original, smooth surface normal.
  3. The lighting calculation then proceeds with this new, perturbed normal. By faking the surface detail in the lighting calculations, bump mapping creates the illusion of a complex, bumpy, or rough geometry (like stones or fabrics) on what is actually a simple, flat polygon. This achieves a high degree of realism with very little computational overhead compared to actually modeling the bumps in the geometry. Q13: Considering the animation of articulated characters, describe the skeleton model and its movements. The animation of articulated characters, such as humanoids, involves a multi-step process to create the illusion of motion. The core of this process is the skeleton model. The process for animating a character typically involves three stages:
  4. Model: The creation of the static 3D mesh of the character.
  5. Rigging: This is the process where a digital skeleton is constructed and fitted inside the 3D model. This skeleton acts as an invisible armature to position and orient the character's geometry.
  6. Skinning: The vertices of the character's mesh are connected to the different parts of the skeleton. This ensures that when the skeleton moves, the mesh deforms and moves with it in a natural way. The Skeleton Model A skeleton is a hierarchical framework composed of two main components:
  • (^) Rigid Bodies ("Bones"): These are the individual segments of the skeleton that do not bend or deform.
  • (^) Articulated Joints: These are the points that connect the bones and allow for relative motion between them. Joints and Movement The movement of the skeleton is defined by its joints.
  • (^) Degrees of Freedom (DoF): Each joint has between 0 and 6 Degrees of Freedom (DoF), which dictate its range of motion. The DoF specify how a joint can move in terms of position (3 coordinates) and rotation (3 angles).
  • (^) Types of Joints: Different types of joints are used to replicate real-world movement: o (^) Rotational Joints: Allow for rotation, such as a hinge joint (1 DoF, like an elbow), a ball-and-socket joint (3 DoF, like a shoulder), or a saddle joint ( DoF). o (^) Translational Joints: Allow for sliding motion, such as a sliding joint on a plane (2 DoF). o (^) Compound Joints: Combine both rotational and translational movements. Animation is created by specifying the parameters of these joints (e.g., rotation angles, offsets) over time. This is often done using a pose-to-pose strategy, where an animator defines key poses at specific frames, and the software interpolates the motion of the joints between these keyframes. Q14: Describe the principle and the characteristics of stereoscopic displays (using glasses). Stereoscopic displays create the illusion of three-dimensional depth by presenting two separate images, one for the left eye and one for the right eye. This technique mimics the natural way humans perceive depth through binocular vision. Basic Principle

The fundamental principle is to generate two distinct views of a scene, corresponding to the positions of the left and right eyes. When these two images are projected so that each eye sees only its corresponding view, the brain fuses them into a single image with the perception of depth. The difference in the position of corresponding points in the two images is called disparity. The nature of this disparity determines the perceived depth:

  • (^) Positive Parallax: The object appears to be behind the screen.
  • (^) Negative Parallax: The object appears to be in front of the screen.
  • (^) Zero Parallax: The object appears to be on the plane of the screen. Characteristics of Stereoscopic Displays (with glasses) There are two main technologies for stereoscopic displays that require glasses:
  1. Passive Systems: o (^) How it works: These systems use glasses with polarized filters. The display shows both the left and right images simultaneously, each with a different polarization (e.g., linear or circular). The glasses filter the light so that each eye only sees the image with the corresponding polarization. o (^) Pros: The glasses are cheap, lightweight, and require no power. There is no flicker and no need for synchronization with the display. o (^) Cons: This technology reduces the overall brightness of the image and can lead to a loss of resolution. Head motion can be limited (especially with linear polarization), and implementing it for projectors is more complex.
  2. Active Systems: o (^) How it works: These systems use "shutter glasses" that are electronically synchronized with the display. The display rapidly alternates between showing the image for the left eye and the image for the right eye. The glasses alternately darken the lens over the eye that is not supposed to see the current image. o (^) Pros: They maintain the full resolution of the display and do not suffer from a decrease in brightness. There are also fewer constraints on head motion. o (^) Cons: The glasses are more expensive, heavier, and require batteries. They must be synchronized with the display, which can sometimes fail, and they may cause perceptible flicker, especially when in sync with ambient lighting systems. Viewer's Comfort A significant challenge for stereoscopic displays is the accommodation-convergence conflict. In the real world, the eyes' focus (accommodation) and the angle at which they point to an object (vergence) are linked. In a 3D display, the eyes always focus on the screen, but they converge at the perceived depth of the 3D object. This mismatch can cause eye strain and discomfort. To manage this, content creators must carefully control the amount of disparity to keep objects within comfortable viewing zones. Q15: Provide an overview and a short description of different 3D displays. There are several types of displays designed to create a three-dimensional viewing experience, each with different principles and characteristics. Here is an overview of the main types:
  • (^) Free Viewpoint Viewer: This system uses a standard 2D display (like a TV or monitor) but allows the user to interactively choose their viewpoint within a 3D scene. This is achieved either by using a controller (like a joystick) or by tracking the user's head movements. To make this possible, the scene must be captured from multiple angles simultaneously using a camera array.
  • (^) How it works: The human brain determines the direction of a sound source primarily by processing the tiny difference in the arrival time of the sound at each of our two ears. This is known as the interaural time difference. For example, a sound coming from the right will reach the right ear slightly before it reaches the left ear.
  • (^) Stereo Sound: The simplest form of spatialization is stereo sound, which delivers a different signal to each ear to simulate this delay difference.
  • (^) Synthesis: This principle can be extended beyond two speakers. By precisely controlling the volume (attenuation) and delay of a sound sent to multiple loudspeakers arranged around a listener, it is possible to synthesize a "virtual" sound source that appears to be located at any point in 3D space. This technique is now widely used in music production (e.g., 8D audio, Dolby Atmos) and to create immersive audio for virtual reality environments. The same principles can also be used in reverse for acquisition by using an array of microphones to capture spatial sound information. ZANUTTIGH Q17-Q Q17: Briefly introduce the perspective projection (i.e., pinhole) model. You can refer to the simplified case with the camera placed in the origin and the optical axis parallel to the Z axis. Why objects closer to the camera appear bigger than further ones? (Connect your answer with the previous explanation). The perspective projection, or pinhole camera model, is the simplest way to describe how a 3D world is represented as a 2D image. In this model, light rays from a scene pass through a single, tiny point—the Center of Projection (COP)—and form an inverted image on a plane behind it. In a simplified case, we can place the COP at the origin (0,0,0) of a 3D coordinate system, with the optical axis aligned with the Z-axis. The image plane is positioned at a distance f (the focal length) from the COP. A point P in the world with coordinates (X, Y, Z) is projected onto a point p on the image plane with coordinates (u, v). The relationship is defined by these equations:
  • (^) u = -f * (X / Z)
  • (^) v = -f * (Y / Z) Objects closer to the camera appear bigger because their projected size is inversely proportional to their distance (Z) from the camera. As seen in the equations, the image coordinates (u, v) are calculated by dividing the world coordinates (X, Y) by the depth Z. Therefore, when an object is closer, its Z value is smaller. Dividing by a smaller number results in larger values for u and v, making the object's projection on the image plane larger. Q18: In the ideal pinhole model the hole has an infinitely small size, while in real cameras its size can be controlled. How is the size of the hole related to the sharpness of the acquired image? Which are the pros and cons of using small or large aperture sizes? In a real camera, the pinhole is an aperture of controllable size. This size is directly related to image sharpness. An ideal, infinitely small pinhole would yield a perfectly sharp image because only a single ray of light from each point in the scene could pass through. However, this would let in almost no light. The pros and cons of different aperture sizes are:
  • (^) Small Aperture: o (^) Pros: It produces a sharper image with a greater depth of field (more of the scene is in focus). This is because it behaves more like the ideal pinhole model. o (^) Cons: It lets in less light, requiring a longer exposure time. If the aperture is too small, it can also cause image blur due to a physical phenomenon called diffraction.
  • (^) Large Aperture: o (^) Pros: It lets in more light, allowing for shorter exposure times (faster shutter speeds), which is useful in low-light conditions or for freezing motion. o (^) Cons: It produces a less sharp image with a shallow depth of field. Light rays from a single point in the scene hit a wider area on the sensor, causing what is known as defocus blur. Q19: Which are the intrinsic and extrinsic parameters in the perspective projection model? The perspective projection model uses two sets of parameters to define the camera and its relation to the world.
  • (^) Intrinsic Parameters: These describe the internal properties of the camera itself and are fixed for a specific camera. They include: o (^) Focal Length. o (^) Principal Point coordinates (the point where the optical axis intersects the image plane). o (^) Pixel size and skew (to account for non-ideal sensor properties). o (^) Camera distortion parameters.
  • (^) Extrinsic Parameters: These describe the camera's position and orientation in the 3D world and change as the camera moves. They consist of: o (^) A Rotation Matrix (R) that defines the camera's orientation. o (^) A Translation Vector (t) that defines the camera's position. In total, these are 11 parameters: 5 intrinsic, 3 for rotation, and 3 for translation. Q20: CCD or CMOS sensors capture only light intensity, how are digital cameras able to get also the color of the light? Which property of the light corresponds to its “color”? The property of light that corresponds to its "color" is its wavelength. Standard camera sensors like CCD or CMOS are photosensitive but colorblind; they can only measure light intensity (the number of photons) and not their wavelength. To capture color, digital cameras use a Color Filter Array (CFA) , which is a mosaic of microscopic filters placed over the sensor array. The most common type is the Bayer pattern. This pattern places either a red, green, or blue filter over each individual pixel, meaning each pixel only records the intensity of one color. The Bayer pattern typically has twice as many green filters as red or blue, mimicking the human eye's greater sensitivity to green light. After the light is captured, the camera's internal firmware performs a process called demosaicing. This is an interpolation algorithm that reconstructs the full Red, Green, and Blue (RGB) color information for every pixel by using the color data from its neighbors. Q21: Why only part of the scene framed by a camera is in focus? Is it possible to control which part of the scene is in focus and in this case how? How is the size of the region in focus related to the aperture of a digital camera?

Q24: Describe a color space of your choice pointing out its main advantages and eventual limitations. The YCbCr color space is a widely used model in digital video and image compression.

  • (^) Description: It is obtained from the standard RGB color space through a simple mathematical transformation. It represents color by separating it into one luma component (Y'), which represents the brightness or grayscale information, and two chrominance components (Cb and Cr), which represent the color difference information (blue-difference and red-difference, respectively).
  • (^) Main Advantage: The primary advantage of YCbCr is its suitability for compression. The human visual system is significantly more sensitive to changes in brightness (luma) than to changes in color (chroma). By separating these components, compression standards like JPEG and MPEG can aggressively compress the Cb and Cr channels (for instance, by reducing their resolution) while preserving the high-detail Y' channel. This leads to high compression ratios with very little perceived loss in image quality.
  • (^) Limitations: YCbCr is a derivative space. Its gamut (the range of colors it can represent) is dependent on the original RGB primaries it was converted from. It is not designed to be perceptually uniform, meaning that a numerical change of a certain amount does not correspond to the same perceived change across all colors in the space. Q25: Which is the key idea behind most edge detection approaches? Explain presenting a “baseline” edge detection strategy. The key idea behind most edge detection approaches is that edges in an image correspond to locations where there is an abrupt change in pixel intensity. Mathematically, these abrupt changes can be found by identifying areas with a high image gradient. The gradient measures the rate of change of intensity, so a large gradient magnitude indicates a sharp transition, i.e., an edge. A baseline edge detection strategy involves these steps:
  1. Gradient Computation: The first step is to approximate the 2D gradient of the image. This is typically done by convolving the image with filter masks, like the Sobel operators , to get the horizontal (Gx) and vertical (Gy) components of the gradient at each pixel.
  2. Gradient Magnitude Calculation: The magnitude of the gradient (G) is then computed for each pixel using the formula G = sqrt(Gx² + Gy²). This creates a new image where the brightness of each pixel corresponds to the strength of the edge at that location.
  3. Thresholding: Finally, a threshold is applied to the gradient magnitude image. Any pixel with a magnitude above the threshold is classified as an edge pixel, while those below are discarded. This results in a binary image highlighting the detected edges. Q26: Describe the main steps of the Canny edge detector. The Canny edge detector is a multi-stage algorithm designed to find optimal edges by maximizing detection, ensuring good localization, and producing a single response to a single edge. The main steps are:
  4. Gaussian Smoothing: The image is first smoothed with a Gaussian filter to reduce noise, which can otherwise create false edges.
  5. Gradient Calculation: The gradient magnitude and orientation are computed for each pixel of the smoothed image, typically using Sobel operators.
  1. Non-Maximum Suppression: This step thins the thick edges produced by the gradient calculation into single-pixel-wide lines. For each pixel, its magnitude is compared to its two neighbors along the direction of the gradient. If the pixel's magnitude is not a local maximum, it is suppressed (set to zero).
  2. Double Thresholding: Two thresholds, a high threshold (Th) and a low threshold (Tl), are used to classify potential edge pixels. o (^) Pixels with a gradient magnitude above Th are marked as "strong" edges. o (^) Pixels with a magnitude between Tl and Th are marked as "weak" edges. o (^) Pixels below Tl are discarded.
  3. Edge Tracking by Hysteresis: The final edges are determined by connecting the strong edge pixels. Weak edge pixels are only included in the final edge map if they are connected to a strong edge pixel. This process eliminates noisy edge fragments while preserving genuine, but weaker, edge segments. Q27: Which is the key difference between an edge and a corner with respect to the image content in its proximity and how can it be exploited in corner detectors? The key difference between an edge and a corner is the dimensionality of the intensity change in their local neighborhood.
  • (^) An edge is a 1D feature. The image intensity changes significantly in only one direction (perpendicular to the edge), while remaining relatively constant along the edge itself.
  • (^) A corner is a 2D feature. It is a point where the image intensity changes significantly in all directions (or at least two dominant, different directions). It can be thought of as the intersection of two or more edges. This difference is exploited by corner detectors. While an edge detector looks for a high gradient in a single direction, a corner detector is designed to find points where the gradient is both large and changes direction significantly. They work by analyzing a small window around each pixel and measuring the variation of intensity when the window is shifted. If a shift in any direction causes a large change in the window's content, the point is identified as a corner. Q28: Describe a corner detector of your choice. The FAST (Features from Accelerated Segment Test) corner detector is a highly efficient method designed for real-time applications. Instead of computing image gradients, FAST works by directly examining the intensity values of pixels in a circle around a candidate point. The algorithm is as follows:
  1. Select a candidate pixel p in the image.
  2. Consider a circle of 16 pixels surrounding p.
  3. The point p is classified as a corner if there exists a contiguous arc of n pixels (typically n=12) on this circle that are all either significantly brighter than p or all significantly darker than p.
  4. "Significantly" is defined by an intensity threshold, T. So, for a corner to be detected, all n pixels in the arc must have an intensity greater than the intensity of p plus T, OR all must have an intensity less than the intensity of p minus T. The main advantages of FAST are its very high speed and good rotation and illumination invariance. Its main drawback is that it is not scale-invariant and tends to detect corners in clusters, often requiring a non-maximal suppression step to select only the best corner in a local area. Q29: Briefly introduce the idea and targets of feature detectors and descriptors. What is done in the detection stage and what in the description one?
  1. Geometric Verification (RANSAC): The initial matches will contain many false positives. An algorithm like RANSAC (Random Sample Consensus) is used to find a geometrically consistent set of matches. It repeatedly selects a random subset of matches, computes a geometric transformation (like a homography) that aligns them, and counts how many other matches ("inliers") agree with this transformation.
  2. Localization: If a transformation is found that is supported by a large number of inliers, the object is considered recognized. The computed transformation itself provides the precise location, scale, and orientation of the object within the target image. Q32: Briefly describe the main steps of the bag-of-words (i.e., bag-of-features) approach for image classification. The Bag-of-Features (BoF) model is an approach for image classification that represents an image as an unordered collection of local features, analogous to representing a text document by the words it contains. The main steps are:
  3. Vocabulary Creation: o (^) A large number of local features (e.g., SIFT descriptors) are extracted from a diverse training set of images. o (^) All these feature descriptors are then clustered into a fixed number of k clusters using an algorithm like k-means. o (^) The center of each cluster is treated as a "visual word." The collection of all these cluster centers forms the visual vocabulary.
  4. Image Representation: o (^) For any given image, its local features are extracted. o (^) Each feature is then assigned to the closest visual word in the vocabulary. o (^) The image is then represented as a histogram that counts the frequency of each visual word. This histogram is the Bag-of-Features representation of the image, which importantly discards all spatial information about the features.
  5. Classification: o (^) A machine learning classifier, such as a Support Vector Machine (SVM), is trained using the histograms of the training images. o (^) To classify a new image, its BoF histogram is computed and then fed into the trained classifier, which predicts the image's category. Q33: Which is the main idea behind stereo vision? Describe the triangulation process and how it is used to get the depth and consequently the 3D position of points. The main idea behind stereo vision is to replicate human binocular vision by using two cameras to capture a scene from two slightly different viewpoints. By finding corresponding points in the two images, it is possible to calculate the 3D structure of the scene. The process of calculating a 3D point's position from its 2D projections is called triangulation. It works as follows:
  6. Setup: Assume two cameras with a known geometric relationship (their relative position, orientation, and focal length).
  7. Correspondence: Find a point in the 3D world that is visible in both images, and identify its projection in the left image and the right image.
  8. Ray Intersection: A ray can be traced from the center of the left camera through its projected point, and another ray from the center of the right camera through its

projected point. The intersection of these two 3D rays is the location of the original 3D point. The depth (the distance of the point from the cameras) is calculated from the disparity , which is the difference in the horizontal position of the corresponding points in the two images. Depth is inversely proportional to disparity: points that are far away have a small disparity, while close points have a large disparity. Once the depth is known, the full (X, Y, Z) coordinates of the 3D point can be determined. Q34: How can the search for conjugate points in stereo vision be done? The search for corresponding points (conjugate points) in stereo vision is made efficient by using the epipolar constraint. This constraint states that for any given point in one image, its corresponding point in the other image must lie on a specific line called the epipolar line. This reduces the search from a 2D area to a 1D line. To simplify this further, a process called image rectification is used. It transforms the two images so that they appear as if they were taken with perfectly parallel optical axes. After rectification, all epipolar lines become horizontal and align with the image rows. This means that to find the correspondence for a point at coordinates (x, y) in the left image, one only needs to search along the same horizontal line (the same y-coordinate) in the right image. To find the best match along this line, a small window of pixels around the point in the left image is compared to windows around points on the epipolar line in the right image using a similarity metric like Sum of Squared Differences (SSD) or Normalized Cross-Correlation (NCC). Q35: Describe an active 3D acquisition system of your choice. A Structured Light system is a type of active 3D acquisition system. Unlike passive systems that rely on ambient light, active systems project their own energy onto a scene. A structured light system works as follows:

  1. Projection: The system uses a projector to cast a known pattern of light (e.g., a series of vertical black and white stripes) onto the object to be scanned.
  2. Acquisition: A camera, placed at a known distance and angle from the projector, captures an image of the object illuminated by the pattern. The 3D shape of the object distorts the projected pattern. For example, a straight projected line will appear curved when it falls on a curved surface.
  3. Triangulation: Since the system knows the original pattern and the precise geometry between the camera and projector, it can analyze the deformation of the pattern in the captured image. For each camera pixel that sees part of the pattern, the system can determine which part of the pattern it is seeing and use triangulation to calculate the 3D coordinates of that point on the object's surface. By projecting a sequence of patterns (often using a Gray code to be more efficient), the system can build a dense and accurate 3D point cloud of the object. Q36: Which is the difference between lossy and lossless coding? Which are the pros and cons of the two approaches? The key difference between lossy and lossless coding is whether the original data can be perfectly reconstructed after decompression.
  • (^) Lossless Coding: o (^) Difference: This method compresses data by eliminating statistical redundancy. The original data can be reconstructed exactly , bit-for-bit, from the compressed version. o (^) Pros: Perfect fidelity; no information is lost. This is essential for text, computer code, and certain types of medical imagery.