Wednesday, April 29, 2015

HTG Explains: What Digital Image Sharpening Is and Why You Should Be Doing It

Technobiru :

Image sharpening might just be the most underutilized digital photography trick this side of studying the histogram. Read on as we explain what image sharpening is, why we need it, what it does, and why you should be liberally applying it to your own images to banish fuzzy edges and make your images pop.

Why Exactly Are Images Fuzzy in the First Place?

Before we dig into how to sharpen your images it is important to understand exactly why digital images even require sharpening in the first place. Digital images, both those created in a digital camera and by scanning images to create digital copies of analog works, suffer from limitations imposed by the digital device’s sensor.

While the limitations of the sensors in comparison with the human eye are numerous there is one particular limitation that creates overly soft or fuzzy images. The human eye is able to distinguish lines of contrast with incredible clarity and sharpness. The sensor of a digital camera, however, is limited by the number of pixels, or points of data, it can collect.

When the scene before it is higher resolution than it can capture (which it always is) it is forced to capture the average of what the individual pixels on the sensor see. The result is a fuzzing of images as the camera (or scanner) is forced to do the best it can with the limited amount of data it can capture.

Let’s look at some digital mockups of this phenomenon to demonstrate the effect before moving on to working with actual photos. In the image below we’ve divided the space into two triangles, one black and one white.

When viewed at a distance on your typical screen it looks like one crisp and continuous line between the black and white sections. Let’s pretend for the sake of demonstration that the image above is not a digital picture presented to you on a digital screen but the intersection of two spaces in the real world. Say two halves of a canvas that have been painted with extreme precision such that, even when viewed at a very close distance with a magnifying glass in hand, the line remains crisp and distinct. This line, then, is resolved by our eyes to its maximum resolution and we perceive it as very sharp and crisp.

Let’s view the same mockup of two triangles as if it were captured by a very low-resolution image sensor. While the image above contains nearly 200,000 pixels, the image below is a representation of black and white space as if the degree of resolution was barely over 200 pixels.

We know if the delineating line between the white and black area is razor sharp to the human eye then it should be razor sharp in the camera, right? The problem is when that razor sharp delineation is so fine it passes through a given pixel on the camera’s sensor the individual pixel cannot say, “OK, half of me is white, half of me is black.”

It can only record a single value for the entire pixel. As such it is forced to say, “OK, the average of the light hitting me is gray” because it cannot record part black and part white but merely the average of the photons hitting the individual pixel.

The more pixels you pack into a sensor the more detail you can resolve, but ultimately there comes a point in every digital image creation where the incoming data (the light bouncing off the subject being photographed or the photo being scanned) exceeds the capability of the sensor, the individual pixels are resigned to selecting a best-estimate-shade, and the contrast between the edges is blurred.

Fixing Fuzzy Photos with the Unsharp Mask

Now that we know what causes fuzzy photos, let’s look at what you can do to fix the issue and give your images a sharpness that really helps them pop (whether you’re framing them or uploading them to Facebook).

Fortunately for us the concept we just outlined in the previous section is well known and understood in the photographic community and there are multiple ways to approach correcting it. The most common way, and the way we’ll focus on today, is applying what is known as an “unsharp mask.”

The counterintuitively named unsharp mask becomes a little more intuitively named if you understand how the process works. When you apply the unsharp mask to an image the editing application creates a temporary mask used to compare which areas of of the image are sharp (with high contrast) and unsharp (with low contrast). It then sharpens the unsharp areas (using that mask as a guide) until it difference between the high contrast and low contrast areas have equalized per the specification of the user. Thus, the unsharp mask isn’t an unsharpening tool, as the name might imply at first glance, but a tool that tells you which parts of the image are unsharp and corrects them.

Let’s enlist the help of our friendly office dog Cricket, seen above, to demonstrate exactly how the unsharp mask works and the adjustments we can make to it. Although we’ll be using Adobe Photoshop for the demonstration today the unsharp mask tool is found in a wide variety of image editing applications as it is something of an industry standard. The terms and methods you’ll see here apply just as readily to free editing solutions like GIMP as they do to Photoshop.

First, let’s study the photo. The image above, straight from the camera without any editing, is simply reduced in size for insertion into this article. Nothing wrong with the photo at all. The subject is centered, the face of the subject is in focus, there’s nothing particularly objectionable about it (unless, you know, you don’t care for small dogs). But let’s zoom in and take a look at the image in closer detail.

When we get in really close, it becomes obvious that the image is very soft looking. That’s not the fault of the lens (we shot this image with a very sharp prime lens) but a side effect of the way the image is processed in camera, as we previously discussed.

To sharpen the image, let’s fire up the unsharp mask. First, prepare for the unsharp mask by adjusting your image to either 100 percent or 50 percent zoom; anti-aliasing algorithms in use by both the editor and your operating system can distort the effects of the sharpening process at other zoom levels.

In Photoshop you’ll find it under Filters ->Sharpen -> Unsharp Mask.

As we mentioned above, the appearance of the unsharp mask tool is fairly universal and you’ll find the three settings, Amount, Radius, and Threshold, regardless of the image editing tool you’re using. The easiest way to understand what they do is to simply play around with them, but we’ll highlight the key points here.

Amount: Always listed as a percentage, the amount indicates the degree of adjustment (how much light the lighter edges get and how dark the darker edges get). At the low end of the adjustment it’s difficult to notice but when you max it out the contrast becomes very extreme. 50-100 percent is a safe place to start.

Radius: Specifies how large an area around each corrected point the effect is applied. The radius and the amount are intertwined; if you reduce your Amount value you can increase your Radius value (and vice versa). Increasing both to high levels will lead to significant color and contrast distortion (which may be a desirable artistic effect but will not make for a natural looking image).

Threshold: The threshold function determines where the sharpening algorithm will be applied based on a minimum brightness/contrast level. This particular setting is very useful for selectively increasing contrast in high contrast areas (such as around the eyes) but not over-sharpening areas you want to leave smooth (such as skin on the face). The lower the value the more the image will be uniformly sharpened. The higher the value the more areas will be excluded. Thus, if you wanted the whole image to have the sharpening effect applied as uniformly as possibly you would set it to zero and if you wanted to sharpen the details on a subject’s face (like the pattern of their iris and eye lashes) without making their pores and wrinkles stand out, you would increase the value until you achieved the desired balance.

You’ll also notice that we have the little preview window also set to 50 percent (the same anti-aliasing issues apply both to previewing the whole image and to previewing the image in the Unsharp Mask box.

Applying the settings we have above (100/4/3 for this particular image) significantly sharpens the image; let’s take a look at the exact same crop we did above to see the difference.

Seen close up, the changes are readily apparent. There is a much higher contrast around the eyes, the highlights in the eyes are sharper, and the fur of the muzzle and face is more distinct.

When viewed with the same crop as the original retouched image the changes are less dramatic (as they are not seen in such a close up manner) but they make the details in the image, like the fur around the muzzle, stand out.

That’s the real goal of sharpening an image. You want to recreate the sharpness of the actual subject as seen with the human eye but not create such intense and noticeable contrast that the viewer wonders what kind of manipulation was performed on the photo.

While we’re looking at the photo, it’s important to point out what the unsharp mask cannot do. It makes the focused area of a photo look better focused by sharpening up the edges and giving it a crisp look but it cannot add in detail that doesn’t exist. You’ll notice that in the above photo the eyes, muzzle, and nose became sharper (as well as the fur of the surrounding face) but the leash, concrete, moss, and leaves did not. Those objects were so far out of focus in the original photograph that no amount of sharpening could create even the illusion of them being in the focal plane.

Unsharp Mask Tips and Tricks

Although people and animals benefit from application of the unsharp mask (especially around the eyes which look much better when crisp and bright instead of soft focused) the unsharp mask really helps just about every image pop.

In the comparison above, for example, there’s nothing wrong with the image on the left but once the softness is corrected for with the unsharp mask the increased contrast in the right image really helps the image stand out and gives it a nice crisp appearance.

To get the most from your unsharp mask application, regardless of the subject, let’s run through some tips and tricks that ensure the sharpening process is a smooth one.

Disable in-camera sharpening. Above all else you want to disable in-camera sharpening. Point and shoot cameras almost always have onboard sharpening whereas high-end DSLR cameras rarely do (the presumption on the the part of the manufacturer is that the point and shoot user will not be doing any post-processing work whereas the owner of the DSLR most likely will). Photos double processed with an unsharp mask tend to look pretty awful so it’s best if you disable in-camera and fine tune the sharpening on your computer.

Focus is king. A crisp physical focus in the camera is worth more than any unsharp mask can give you. Perfect your focus skills (and ditch your lens if its loose and soft in focus). As we mentioned above there’s no magical way to use the unsharp mask to expand or fix the focal plane of a photo; you can only sharpen what is already in focus.

Less is more. Use the unsharp mask just enough to give the image a little pop. Think of the difference between looking at a 1080p display and a 4K display. The 1080p image is beautiful and very much high definition (compared to old standard definition televisions) but the 4K has this sharpness that just bursts right off the screen. When you’re adjusting and comparing your photos you want to capture just-right sharpness increase that moves the image from “Yeah, that’s nice.” to “Wow, that’s crisp.” It’s a fine line, though; once you hit that sweet spot further increasing the sharpening often yields an uncanny to outright unnatural looking image.

Sharpen last. If you’re doing any other image editing, color adjustment, fixing dust, or stuck pixels, or otherwise editing the image, you always save the sharpening process for last. Think of sharpening an image as polishing a piece of jewelry after you’ve finished working on it. It’s the last step after every piece is placed, every bit of metal bent and soldered, and the it’s ready for the gallery.

Armed with an understanding of the sharpening process and how to best take advantage of it, you’re ready to apply it to your own photos to turn good (albeit soft) photos into eye catching ones that really pop off the screen, living room wall, or wherever they should find themselves.


Have a pressing question about image editing, photography, or getting the most from your digital camera? Shoot us an email as ask@howtogeek.com and we’ll do our best to answer it.

Tuesday, April 28, 2015

Geek Trivia: Which Movie Franchise Has The Longest Gap Between The First Release And Sequel?

Technobiru :

GEEK TRIVIA

Which Movie Franchise Has The Longest Gap Between The First Release And Sequel?

Bambi

Star Wars

The Nutty Professor

Die Hard

Answer: Bambi

Many a film-franchise fan has known the agonizing wait for a sequel film. X-Files fans had to wait just over 10 years between X-Files films. Fans of Clerks had to wait nearly 12 years for Clerks II. There was a 13 year gap between Exorcist II and Exorcist III.

All of those waits pale in comparison, however, to how long Disney took to get around to releasing a second Bambi film. The first Bambi film hit the silver screen back in 1942 and a little over 63 years later Walt Disney Studios released Bambi II in 2006.

Putting aside the quality of Bambi II and focusing on the time span, we’re entirely sure the Disney company is in it to win it when it comes to long-haul release schedules as the Bambi release cycle certainly doesn’t stand alone. Other films in the Disney stable have equally as long release schedules. The distance between the first and second Fantasia films was 59 years, Cinderalla: just shy of 52 years, Peter Pan: 49 years, and Lady and the Tramp: 45 years. In fact, out of the top 10 longest film franchise gaps, 6 of the 10 films are Disney productions.

Fortunately they’ve gotten a little more punctual with their newer films. Fans of The Little Mermaid only had to wait a mere 10 years and 307 days for The Little Mermaid II.

Google Analytics App Now Lets You Configure Favorite Views, Compare With Previous Dates

Technobiru :

The Google Analytics app for iPhone has been updated to let you configure your favorite views, compare data with previous date ranges, and more.

Access all of your Google Analytics web and app data from your mobile device. Monitor recent changes with Real Time reports. Easily get your Analytics data anytime, anywhere.

What's New In This Version:
- Compare data with previous date ranges.
- Configure your favorite views.
- Redesigned view selector with search feature.
- Redesigned date selector.
- Several UI and performance improvements.

You can download Google Analytics from the App Store for free.

Read More

How to Download, Delete, or Pause Your Google Search History

Technobiru :

Google recently unveiled the ability to download – as in save to your device – your entire search history. Now, in addition to being able to pause or purge it completely, you can have a physical copy of everything you’ve searched for over the years.

Of course, there are a couple of catches. First, it’s not an instant download. You have to request an archive, after which Google sends you an email to alert you when it is ready. You can then view the archive on Google Drive or download the zipped file to your computer or device.

Further, the archive you get is broken down into multiple files, which are saved in an unfamiliar format (JSON). Fortunately, JSON files will open with any text editor though it won’t be easily readable.

This article will explain how to not only download your search history, but also read it, purge it, and turn it off (pause).

Downloading Your Search History

The first thing you want to do is make sure you’re logged into your Google account.

Your account settings can be accessed by going to myaccount.google.com or you can click on your picture in the upper-right corner and then click “Account”.

On the “Account settings” page, scroll down to the “Account tools” section and then click on “Account history”, which lets you “manage account history and related settings.”

There’s a lot of stuff here you should peruse at your leisure. It’s a good idea to always know what information Google is collecting on you, and how to manage it.

Under “Your searches and browsing activity”, there’s a box that if checked, will collect your activity from Chrome and and other apps. This means that Google will compile information from your web searches and apps connected to your account and use that information to provide more accurate, personalized search results.

Click “Manage History” to access your search activity history and further settings.

You may be asked to enter your password again.

Here then is how your search history might appear. Google displays your search activity by hours and days. Click on any given day from a month to view your search history for that day.

Screen Shot 2015-04-27 at 11.00.15 AM

Click the gear icon and “Download” to get started.

A stern warning will appear strongly urging you to read everything. It explains that your archived data will be available to download from Google Drive, that you shouldn’t download this data on public computers, etc.

Once you’re carefully read this information and you feel you’re ready, click “Create Archive”.

Like we said, the download isn’t instantaneous. You will have to wait until Google has your archive ready, after which they will send you an email. If your search history is longer and more extensive, it might take more time.

Screen Shot 2015-04-27 at 11.00.44 AM

Once finished, Google will send you a message that “Your Google search history archive is ready.”

At this point, you can either download the zipped archive to your computer or device, or view it in Google Drive.

The Google Drive method is convenient, though you still have to unzip the archive to view its contents. We found it easier to go ahead and download the archive to our computer and view the files from there.

Viewing Your Search History

When Google archives your search history, it divides it up into multiple JSON files, each about four months of activity, sorted by date.

If you double-click on any of the enclosed files, it should open up with your system’s text editor. From the following screenshot, you can see that searches are shown next to anything with the string “query_text”.

The “timestamp_usec” string is a bit harder to figure out. For this we used a simple website that converts time stamps into plain English. We first paste our timestamp into the box and click “Convert to Date”.

Note the first time we enter our timestamp, it converts the date incorrectly. This is because the timestamp from our search history is too long. The timestamp converter will automatically shorten it so all you need to do is click “Convert to Date” again and it should display the correct date and time.

So on March 27, 2013 at 11:37 PM CST, we performed a search for www.instagram.com, which we can verify by looking at our history from our Google account.

You should be able to view JSON files in any text editor such as Notepad, TextEdit, or Microsoft Word. We searched online for some kind of JSON viewer that makes it even more readable, but none of them seemed worth the effort. If you’re wanting to pore over your search history from the start to finish, then a text editor probably won’t meet your demands ideally, but for simple curiosity, it works well enough.

For everything else however, you can always view your search history from your Google account.

Purging Your Search History

That said, what if after you download your search archive, you want to purge it from Google’s servers? To do this, we first need to make sure we’re in our Google search history management page.

Again, click the gear icon but now instead of “Download”, choose “Remove Items”.

A dialog will appear offering to remove your search history from “the past hour” to “the beginning of time”.

When you’ve made your decision, click “Remove” and that duration of search history will be purged.

Pausing Your Search History

Finally, if you want to “pause” (disable, suspend) you searches and browsing activity, then you need to once again return to your “Account history” page.

Click the switch in the upper-right corner to pause your search history.

You be asked to confirm your action. Google warns that while your web and app activity is paused, it may still use searches made within your active browser session to “improve the quality of your search results.”

Click “Pause” when you’re ready.

Now your search and browsing activity is paused, as evidenced by the fact that the on/off switch is grey.

Obviously, if you ever want to reenable the history activity, you simply click the switch again, which will resume collecting your search history.

So, as you can see, there’s actually quite a bit more to downloading your search history than earlier news reports might have indicated. While it’s a relatively simple process overall, there are still a few details that might trip up folks.

We hope then that this article has been helpful, and if you have any comments or questions you’d like to share with us, we urge you to leave your feedback in our discussion forum.

How to Customize Existing Tabs on the Ribbon in Office 2013

Technobiru :

00_lead_image_custom_group

The Ribbon in Microsoft Office 2013 provides quick access to many features and options by default, but it can be further customized to fit the way you use it. You can add a custom tab to the ribbon or you can add commands to the existing tabs.

To add commands to an existing default tab on the ribbon, right-click on any empty space on any tab and select “Customize the Ribbon” from the popup menu.

01_selecting_customize_the_ribbon

The “Customize the Ribbon and keyboard shortcuts” screen on the “Word Options” dialog box displays. To add commands to a default tab, you must add a custom group to the tab first. Select the tab to which you want to add commands, and click “New Group” below the list of tabs.

NOTE: You can rename and change the order of the default tabs and groups that are built into the ribbon in Office 2013. However, the default commands available on these default tabs cannot be renamed or reordered, and you cannot change the icons associated with these default commands. The default commands are displayed in gray text in the list on the right side of the dialog box.

02_clicking_new_group

The new group is added to the end of the list of groups on the selected tab. Custom tabs and groups are distinguished from default tabs and groups with “(Custom)” after the name, but the word “(Custom)” does not display on the ribbon.

Make sure the new group is selected and click “Rename” below the list of tabs.

03_clicking_rename_for_group

On the “Rename” dialog box, enter a name for the new group in the “Display name” edit box. Optionally, you can select an icon to represent the group when the ribbon is resized such that the group cannot be fully displayed.

04_renaming_group

The name of the group changes in the list. To select a command to add to the group, select an option from the “Choose commands from” drop-down list, depending on which command you want. We’re going to add commands to our new group that are not currently on the ribbon, so we will select “Commands Not in the Ribbon.”

05_selecting_commands_not_in_the_ribbon

Scroll down the list of available commands, click on one you want to add, and click “Add.”

06_adding_command_to_new_group

The command is added under the new custom group. Add more commands as desired to the new custom group. The commands are listed in the group in the order that they are added; however, you can use the up and down arrow buttons to the right of the list of tabs to rearrange the commands in the group.

07_command_added_to_new_group

When you’ve added all the commands you want and arranged them in the desired order, click “OK” to accept your changes and close the “Word Options” dialog box.

08_closing_word_options_dialog

The new custom group of commands is added to the right of the default groups.

09_new_group_added_to_home_tab

If you want your custom group further to the left on the tab, you can easily move it. Access the “Customize the Ribbon and keyboard shortcuts” screen on the “Word Options” dialog box as described earlier. Select the custom group in the list of tabs on the right and click the up arrow to move it to the left on the tab. Click the down arrow to move it to the right.

10_moving_group

To remove a custom tab, select the tab in the list on the right and click “Remove.”

11_removing_custom_tab

Customization of the ribbon is specific to the Office program in which you are working at the time and does not apply across the other Office programs. The ribbon can be customized in all Office programs that include the ribbon. If the names of the tabs on the ribbon are in all caps and you don’t like that, the capitalization of the tab names can be changed.

You can also customize the Quick Access Toolbar. Once you’ve customized the ribbon and the Quick Access Toolbar, you can back up your customizations. This allows you to re-import them if you delete them at one point and then want to add them in again or if you have to reinstall the program.

Lori Kaufman is a freelance technical writer who likes to write geeky how-to articles to help make people's lives easier through the use of technology. She loves watching and reading mysteries and is an avid Doctor Who fan.