Image Super-Resolution via Iterative Refinement
iterative-refinement.github.io
iterative-refinement.github.io
> CelebFaces Attributes (CelebA) Dataset [...] 10,177 unique identities, but names of identities are not given
That should probably give you a clue but you can always check the source and find out if it's Ray or Ryan Gosling.
Also the dataset were primarly white. Creating the meme image white Obama.
But offers «40 binary attribute annotations per image», which the (virtual) algorithm may use for choosing a path.
If the image original was low quality, or had artifacts, then the results were useless.
The point made was that even though the end result is blurred out (out of focus etc), the brain can tell if it started out looking appropriate or not. So to make a good shot, detail is required.
In that case it's our brain doing the up-scaling of sorts, and the issue seems similar. Down-scaling (blurring) a high-quality image and a low-quality one will result it two images that have critical differences. When those again are up-scaled they will lead to very different outcomes.
Similarly if noise is introduced in the down-scaled (blurred) image, that is in essence the same as changing the image it was down-scaled from, thus up-scaling would again lead to something different.
There methods are for "beauty", not to "induce real facts": what is "probable" is not what is "real".
--
Edit: I have an example for you. Check
https://github.com/Janspiry/Image-Super-Resolution-via-Itera...
and notice the black spot under the iris of the right eye, on the left: does the actual person really have it? It is not in the blurred source image, https://github.com/Janspiry/Image-Super-Resolution-via-Itera... . Now think of an "empiricist" perceptive instrument returning that kind of "noise"...
--
I understand you work on the topic (ANN for assessment), so you surely meant something different that what contextually appears.
They pointed out that the onus is on the prosecution to their get evidence validated. If they want to zoom in they have to get an expert to testify that iOS doesnt add any pixles.
Its pretty basic trial procedure, the prosecution knows the rules and the judge gave them time to find an expert.
If the software adds pixels to the image than it has made a material change to the picture. Defense has a right to call the prosecution to prove that the zoom effect does not alter the picture.
And its not a moot point. Years ago Xerox started doing OCR (?) on photocopies to same on storage before photocopying (by storing the image as text). Everyone assumed it was a materially identical copy until people noticed it was making typographical and lexical changes to legal contracts in materially meaningful ways. [1]
[1] https://www.cbc.ca/news/science/xerox-copiers-might-alter-nu...
The prosecutor literally tried to infer an action from a single pixel. That’s BS and everyone in this forum has the technical ability to recognize this. A single pixel from a low light environment (therefore noisy)?
BS
Btw, this isn’t a “right wing” issue. Political “liberals”, to their credit, have been saying as much for years, pointing out that closed source software has huge problems in court.
As it stands, the defense has a right to force the prosecution to either get an Apple employee to testify in court, or use a linux machine, gimp and a CS expert to explain what gimp is doing.
EDIT:
sorry I read comment Im replying to as “I wouldn't consider it inadmissible”. I txted this while dozing off.
Leaving comment for record’s sake.
20 minutes to find an expert?
All of this hinges on whether or not Apple really is using AI (like super-resolution) for pinch and zoom. If they are, this is a totally valid objection.
But I've never heard that iPad pinch-and-zoom does this. It would be surprising if it's more than plain old interpolation.
Not to mention the defense lawyer clearly doesn't understand what the hell he's talking about, which doesn't exactly engender confidence in the judge taking this complaint seriously: "iPads, which are made by Apple, have artificial intelligence in them that allow things to be viewed through three dimensions and logarithms"
OH NO. LOGARITHMS!
They'd had an expert in previously who came back and contradicted the prosecution's statement that enlarging won't add "pickles" (quickly corrected to pixels) to the image. The judge allowed the evidence after the prosecution followed the proper procedure.
> But I've never heard that iPad pinch-and-zoom does this. It would be surprising if it's more than plain old interpolation.
There are various methods that can be used, any of which can add new pixels and or colors, the prosecution expert didn't actually know the details. When you have a couple of pixels that's claimed to be a gun, it really matters whether it's an image artifact or not. Also, the alleged gun is somehow in Kyle's left hand (he's right handed) and does show up as the same temperature as his body on the infrared image of the same scene.
> Not to mention the defense lawyer clearly doesn't understand what the hell he's talking about
Nobody there knew what they were talking about, which is why they got experts to testify. The prosecution hasn't been following court procedure and has gotten chewed out for it repeatedly because they're trying to pull illegal tricks and are getting called on it.
[0] Excluding rare events where source image’s dimensions in pixels exactly corresponds to those of the screen on that particular iPad model.
Also, you're actually contradicting what the prosecution's own expert witness said in court. He said, yes, it would add pixels and he didn't know what kind or color. And for all that, the jury was allowed to see the images.
This trial has been wild. Grosskreutz went on ABC the other day to recant his sworn testimony just prior. On ABC, he said he didn't point the gun first, but even Snopes has said that yes, he did admit to that in court.[1] There is a photo of him with his gun pointed at Kyle's head as his bicep is being vaporized. It was when confronted with this that he admitted it originally in court.
Grosskreutz also claimed that Kyle re-racked his gun and this meant that Kyle wanted to kill someone, yet no unspent ammo from Kyle's gun was ever recovered, nor can any re-racking motion be seen on video. Instead, an unspent round from Grosskreutz' Glock was recovered, implying that Grosskreutz had re-racked his gun. Given the mechanics of that, it had to have been when he still had two working arms. Knowing that Grosskreutz' roommate wrote on social media that Grosskreutz wished he'd killed Kyle (something the roommate denied on the stand, saying he'd made it up), then if we use Grosskreutz' own line of reasoning, Grosskreutz had both threatened and intended to kill Kyle prior to being shot.
[1] https://www.snopes.com/fact-check/kyle-rittenhouse-gaige-gro...
And if we were to follow that pedantic logic, we should consider removing pixels from the original image (zooming out) equivalently problematic. But, apparently, no one cared that software presented a version with "subtracted" pixels in the first place, and only cared about pixels added by zooming in (which could have technically been "de-zooming-out", up to a point).
Generally, fitting a raster image with dimensions AxB into a viewport of dimensions NxM inevitably involves what effectively is adding and/or removing pixels to/from the original image. That can be done in various ways (which is why we have different resizing algorithms).
Just watch the trial.
They could have brought him in to testify, but didn't. This is the same trick they pulled with Grosskreutz, where the DA ordered them not to search his phone (despite them already having a signed search warrant for it) and they did not interview his, and only his, interview with the police.
They also testified that they had never once done this before.
I encourage more people to watch the actual trial. Some news outlets, particularly CNN, have engaged in highly selective reporting that's getting called out by all the people actually watching the trial. The ABC coverage where they put on Grosskreutz, and let him contradict his sworn testimony in court, despite there being photographic proof that he lied, not to mention physical evidence that he (and not Kyle) re-racked his gun, was especially crazy.
I won't be surprised if this turns into a bunch of defamation suits in the future.
Courts only rule on stuff like that if there's an objection to it. If you don't object, you can't come back later and complain about it, you have to object at the time. So all of Binger's pickle objections were legally irrelevant. He knows this and is playing to the cameras, that's why he's getting yelled at by the judge, because none of what he said mattered legally. He was also pretty clearly angling for a mistrial after his earlier screw-ups, like managing to obtain information harmful to his case from his own prosecution witness on direct. This is a screwup of epic proportions.
In this case, there was doubt about the nature of a handful of pixels in an enlarged image and whether or not this depicted a gun. It's hardly "pedantic" to want to get experts to talk about the reliability of the image, rather than lawyers (none of whom knew anything), when the prosecution's entire theory at this point hinges on a legal standard of "provocation with intent" where one cannot regain innocence by fleeing or communication.
They had months to prepare. They’re not noobs they know what the rules are.
The rest of your comment is exactly why council has a right to object and demand validation:
- The judge doesn't know the answer to the question
- Defence doesnt know the answer to the question
- Prosecution, even, didnt know the answer to the question.
Heck, you admit in your own answer that you don’t know the answer - “Id be surprised” doesn’t cut it in court.
As to “logarithms”, defense is not a CS expert and mockery and sarcasm wont get you far in court. An expert will.
But prosecution knew this, and when they did show the still they got ripped apart when defense demonstrated that the pixel that was supposedly a gun was a headlight from a car a couple frames earlier
EDIT:
See a submission I made about the dangers of ignoring procedure and trusting digital data:
If so, of course it adds pixels.
So, there are several ways to lose information. Inside the phone, at least these:
- between reality and image sensor
- between image sensor and storage
- between storage and display
Thats basic court procedure.
Btw, see a submission I made about the dangers of ignoring procedure and trusting digital data:
I think this is a very pertinent point!
The only reasonable outcome, IMO, is that photos or videos that are improved in this way between capture and storage must be made inadmissible as evidence.
But I also think that in the longer term that won't really change much, because I expect all audio and photo evidence to go down that drain because falsification technology will improve to the point where it becomes practically impossible to reliably distinguish between genuine and falsified media.
That's not at all reasonable. There would be certain details that could be made up by the algorithm that it would be reasonable to be made inadmissible.
Still, it's very cool how it fills in realistic looking details.
https://christophm.github.io/interpretable-ml-book/adversari...
Given a diffusion process (as blur) there are an infinite number of initial states which converge to a specific final state. This is the nature of diffusion (think of it as: as long as the total initial energy is the same, the final state of a diffusion process is “homogeneous density of energy”). So inferring an “initial state” is totally invalid.
Edit: look at the 64 to 256 to 1024 example in the “Unconditional…” section and take a look at the artifact on the bottom left (to the viewer) teeth and lip. If that is not an artifact… Same on the top-right teeth.
Also: how does the algorithm know it is facial hair and not just makeup? It might be both but it generates facial hair.
Similar to the ideas of sending the audio on a zoom call and some deep fake model of your face and then the viewer sees a high res face talking but doesn’t need to get a full video stream.
You might say "well of course we all know that this AI based super-resolution uses too much computing power to do in real time on an iPad, where they can only do sinc interpolation" but how long will that be true for? It's not really unreasonable for a judge not to know about technical details like that.
I was pretty shocked at how all of the comments on the Ars article about it were so misguided.
e.g.
[woah] -> [wooah] displacement: 1
[wooah] -> [woowah] displacement: 3
[woowah] -> [oowaha] displacement: 6I would expect DL models to perform wel on this task, but I could not find many results.
Found: https://news.mit.edu/2014/algorithm-recovers-speech-from-vib...
> ... they were able to recover intelligible speech from the vibrations of a potato-chip bag photographed from 15 feet away through soundproof glass
I see that (as expected) it has been discussed on HN: https://news.ycombinator.com/item?id=8131785
...To realistically get an hallucinated reality.
But member occamrazor, nearby, is right: to induce non-evident facts from a number of different downscaled pieces of information is possible.
Edit: if the idea of enlarging to reconstruct real missing detail (Mhh... no.) excites you, this (recovered for the above mentioned branch), real tech, will blow your mind: https://news.mit.edu/2014/algorithm-recovers-speech-from-vib...